Ian McInerney
5828416960
Simplify area printing in the board statistics dialog
...
Store the board area in IU, and then convert it to the user
units on display using the common unit printing functions.
2020-10-04 17:53:55 +01:00
Ian McInerney
ad29a2f3b4
Update more places to properly display mils
2020-10-04 17:53:55 +01:00
Seth Hillbrand
bf3cb0b1d0
Standardize pad type enums
2020-09-30 08:38:35 -07:00
Jeff Young
e7db43285f
ADDED new footprint fabrication attributes.
...
This commit also adds mapping of the new symbol properties
"exclude from BOM" and "exclude from board" to be correctly
handled in Update Board from Schematic.
Fixes https://gitlab.com/kicad/code/kicad/issues/2399
Fixes https://gitlab.com/kicad/code/kicad/issues/4643
Fixes https://gitlab.com/kicad/code/kicad/issues/2233
2020-08-28 11:05:58 +01:00
Mark Roszko
19ceb11ae7
Change more enums over to scoped enums
2019-12-28 00:55:11 +00:00
Mark Roszko
11ff16be4e
Switch to scoped enums
2019-12-20 14:11:39 +00:00
Seth Hillbrand
c6f5df134c
Minor speed cleanup
...
This adjusts iterators to use const reference when only used for
copy. It also ensures pre-allocation of vectors when size is known
ahead of time.
2019-12-05 14:20:59 -08:00
jean-pierre charras
f333d1b974
fix typo creating compil issue
2019-11-12 14:15:03 +01:00
jean-pierre charras
de2818c113
Fix a few I18n minor issues.
2019-11-12 13:47:35 +01:00
Ian McInerney
9f0c131ba4
Fix build error in DIALOG_BOARD_STATISTICS
...
When passing the functions into the wxEventHandler setup functions
they must be fully qualified with the class name.
2019-11-11 10:48:03 +00:00
Mikołaj Wielgus
4b92c516e1
Pcbnew: Add drill holes table to board statistics
...
NEW: Add drill holes table to board statistics as a separate tab in the board
statistics dialog. Print the drill holes table in the generated statistics file.
NEW: Make the generated statistics file Markdown compatible.
2019-11-11 07:46:18 +01:00
Seth Hillbrand
7c37641d83
pcbnew: Partial board stats cleanup
...
Fixes ordering issue and int/double conversion in board area
Moves via casting to internal dyn_cast
2019-08-25 08:48:09 -07:00
Seth Hillbrand
2518a2cc81
pcbnew:Initialize board statistics
...
Uninitialized values can cause odd output values. Also adjust absolute
calc to utilize floating point returns.
Fixes: lp:1838325
* https://bugs.launchpad.net/kicad/+bug/1838325
2019-08-24 08:21:08 -07:00
Jeff Young
fb21077d3a
Fix some alignment issues in dialog and formatting issues in code.
...
Fixes: lp:1840775
* https://bugs.launchpad.net/kicad/+bug/1840775
2019-08-20 16:39:40 +01:00
jean-pierre charras
7bfbcef942
Make some strings more easily translatable
...
DIALOG_BOARD_STATISTICS: fix some minor issues.
2019-08-03 09:32:10 +02:00
jean-pierre charras
10fcd8eaef
DIALOG_BOARD_STATISTICS_BASE: fix minor wxWidgets alerts.
2019-07-28 18:24:59 +02:00
Alexander
a6b2a44fd6
DIALOG_BOARD_STATISTICS modifications and fixes - added vias information to dialog - added "save txt report" feature - some code cleanup and readability fixes - fixed issue with dialog moving when checkbox clicked - now dialog saves checkboxes state
2019-07-28 16:17:09 +02:00
jean-pierre charras
346495ae31
Fix errors in DIALOG_BOARD_STATISTICS.
...
(some values were not in the right column or row)
2019-07-21 16:45:37 +02:00
jean-pierre charras
88801f46d9
Fix issues in DIALOG_BOARD_STATISTICS:
...
- make it wxWidgets 3.1 compatible.
- internationalize.
- fix minor wxwidgets alert.
- remove settings for fg/bg color: the result is unpredictable:
was black texts on black background on my computer.
2019-07-21 12:01:36 +02:00
Jeff Young
ab7cf4a2b0
A bit of visual cleanup for the new Board Statistics dialog.
2019-07-20 14:39:08 -06:00
Alexander
bb290abe91
added board statistics dialog, which shows info for production and assembly
2019-07-20 14:39:08 -06:00