jean-pierre charras
8513ca974c
Pcb_calculator: track width tool: make resistivity value read only.
The formula used to calculate the track width is valid only for copper tracks.
So the resistivity value displayed in the panel is only for info, and cannot
be modified.
5 years ago
jean-pierre charras
fe5c2d30a3
PCB_CALCULATOR_FRAME_BASE: fix wxWidgets minor alerts.
Fixes #8374
https://gitlab.com/kicad/code/kicad/issues/8374
5 years ago
Jon Evans
b986797469
Move pcb calculator to new bitmap system
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8324
5 years ago
Jon Evans
c04e19f9ac
Include optimization: move some things from common.h to point-of-use
5 years ago
Jon Evans
18037e2f65
Rework bitmap system to load from archived PNGs
Bitmaps are now identified by an enum class instead of by pointers.
Bitmap loading and caching is now handled by a class in common, and
we no longer compile most bitmaps into the binary, so there is no
longer a bitmaps static library.
Instead, bitmaps are archived to a .tar.gz file which is installed
in ${KICAD_DATA}/resources/images.tar.gz
The source PNGs are checked in to Git as the original CPP files were,
so that people can build without the required dependencies to convert
SVGs to PNGs.
Initial support is also added for dark theme icons, although this
is not yet exposed in the GUI.
Stubs are present for multi-resolution image resources, but this is
not fully-baked yet and could use some refinement.
5 years ago
jean-pierre charras
2d609a795d
PCB_CALCULATOR_FRAME: fix missing calls to Layout() after widgets modifications.
Fixes #7858
https://gitlab.com/kicad/code/kicad/issues/7858
5 years ago
Marek Roszko
3d4ac9af03
Relocate win32 resource files to the central folder for further consolidation
5 years ago
Dominik Wernberger
e2aa7be4b3
Added a lot of consts and refactored a few lines
5 years ago
Marek Roszko
8831c5567c
Add win32 version manifest block
5 years ago
jean-pierre charras
11bc23fab2
pcb_calculator: fix locale fp separator and incorrect coding of utf8 strings.
5 years ago
Jeff Young
34d3218f73
Translation cleanup.
Fixes https://gitlab.com/kicad/code/kicad/issues/6078
5 years ago
jean-pierre charras
9b25e50f3d
pcb_calculateur: fix incorrect floating point separator when resetting to default.
Fixes #7622
https://gitlab.com/kicad/code/kicad/issues/7622
5 years ago
jean-pierre charras
41061b5cb1
pcb_calculateur: fix truncation of row labels of wxGrid
this column had a fixed width, that does not work for translated texts
or large fonts.
Fixes #7607
https://gitlab.com/kicad/code/kicad/issues/7607
5 years ago
Jeff Young
e822977367
Cleanup.
5 years ago
Jeff Young
29a1ded508
Fix degree symbol.
And then go on and do a boatload more fixes for correct units usage.
5 years ago
jean-pierre charras
443b85739c
typo
5 years ago
Jeff Young
5afc56e285
Because we (evidently) didn't have enough display hacks....
Also adds back menubar, which appears to be required for cmd-Q on Mac.
5 years ago
Jeff Young
cb7add9280
Fix a few minor things in PCB Calc, and update units to SI.
Fixes https://gitlab.com/kicad/code/kicad/issues/7525
Fixes https://gitlab.com/kicad/code/kicad/issues/3435
5 years ago
Jeff Young
25f621e880
Fix a lot of GUI guideline issues in PCB Calculator.
Colons, capitalization, spacing, etc.
Also fixes another bitmap refresh bug on OSX.
5 years ago
Jeff Young
3f9841355d
SVG-based regulator and attenuator bitmaps.
5 years ago
Jeff Young
2773bcf35b
Use new SVG bitmaps for PCB Calculator.
They have transparent backgrouds so don't need the whiting out. They
also suffer from pixellation a lot less.
Fixes https://gitlab.com/kicad/code/kicad/issues/7491
5 years ago
Jeff Young
be6683b8b7
Fix cross-platform issue.
5 years ago
jean-pierre charras
6b6d689232
French translation update.
5 years ago
Jeff Young
55020ce2c7
Some more pcb calculator refresh hacks.
Also adjusts the spacing and decimal point in the E-series page.
Fixes https://gitlab.com/kicad/code/kicad/issues/5634
5 years ago
Jeff Young
9094ba8033
A veritable cornucopia of wxWidgets hacks for pcb calculator.
Most of these are display hacks because (at least on OSX) assigning
bitmaps or doing a layout before the controls are visible tends to
not work. There are also some layout cleanups and some layout hacks
(horizontal radio button groups, for instance, lay out on top of each
other on OSX).
Fixes https://gitlab.com/kicad/code/kicad/issues/7491
5 years ago
Ian McInerney
beb50c529e
Reorganize the CMake folder to separate build and configure steps
The BuildSteps folder now contains the CMake scripts that are
called during the build process as individual stages, while
the root CMakeModules directory contains the CMake files used
during the configuration phase.
5 years ago
Jonathan Haas
a8907f3591
E-Series calculator: Make strings translatable
5 years ago
Seth Hillbrand
321c9f81af
Remove Benchmarking output and clarify exclusion
By default, the e series calculator does not return the input value.
This would be counter-productive b/c if you are looking for a new value,
we assume that is because you do not already have the existing value to
hand.
5 years ago
Dominik Wernberger
ac94d72d2d
Add more const specifiers
5 years ago
Michael Kavanagh
a4ab596b8d
Icons: use standard arrows in PCB Calculator
5 years ago
Seth Hillbrand
61ac9c8d90
Add multiple size icons for programs
In theory, the WM should now choose the closest size icon for its
purpose, making it easier to distinguish in space-constrained settings
Fixes https://gitlab.com/kicad/code/kicad/issues/6798
5 years ago
Seth Hillbrand
54ca087999
Update icon resource sets
Updates the .icns, .ico and .png files used by various distros to show
KiCad and KiCad files.
5 years ago
Jeff Young
a207bd97bb
Naming conventions.
5 years ago
Wayne Stambaugh
c7926db553
More minor dialog layout improvements.
5 years ago
jean-pierre charras
f9a19f1d13
Language selection: do not disallow switching to English language when the
English dictionnary is missing. It is not mandatory because all messages are
in English, just restricted to ASCII7 chars
Fixes #6261
https://gitlab.com/kicad/code/kicad/issues/6261
5 years ago
Seth Hillbrand
63bd2b2b16
Fix markdown code for pcb calculator
Avoid '%' in translated strings and simplify the language used in
eserie_help
5 years ago
Ian McInerney
31e626f279
Cleanup creation of all our smart pointers
5 years ago
Marek Roszko
1d559108c8
Move LOCALE_IO out of common.h
5 years ago
Wayne Stambaugh
d8ffea881e
Improve dialog static sizer box consistency.
Remove colons from the end of static sizer box labels from a few dialogs so
they are consistent with all dialogs.
5 years ago
Seth Hillbrand
848c82f4a5
Also correct kHz
5 years ago
Seth Hillbrand
27b7138fb6
Standardize to SI prefix on kOhm
5 years ago
Seth Hillbrand
e0b439492f
Unify temporary string -> dummy
5 years ago
Marek Roszko
b2e9f6987d
Split base_struct into eda_item and eda_rect
5 years ago
Marek Roszko
cfdd105cdd
Some more cleaning in pcb calculator
5 years ago
Marek Roszko
3a88992f8e
Split out the regulator dialog into unique file and fix filenames
5 years ago
Marek Roszko
2ade8031dc
Clean up pcb_calculator includes a bit and rename files
5 years ago
Mark Roszko
a8bd0a9b84
Handle Windows manifests ourselves and add dpi awareness option
5 years ago
Jeff Young
0bc7bbbadb
Report silk/edge collisions.
Fixes https://gitlab.com/kicad/code/kicad/issues/5854
Fixes https://gitlab.com/kicad/code/kicad/issues/4892
5 years ago
jean-pierre charras
13304d0870
more cleanup about removing useless include
5 years ago
Ian McInerney
b7e7cf9212
Some code cleanup
5 years ago