Jeff Young
420cadab34
Separate meander settings from target length/skew.
Settings move to Board Setup, while target length is sourced from
the custom rules (or a text-entry dialog if no rules are active for
the track).
Target skew is sourced from the coupled-trace-length minus the
trace-to-be-tuned length.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12075
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15826
2 years ago
Alex Shvartzkop
76e0d5981d
Import system refactor for PCB plugins.
2 years ago
Josue Huaroto
4cad021ef4
Add Open preferences folder button in Preferences Dialog
2 years ago
Alex Shvartzkop
f5da58e17d
PAGED_DIALOG: allow setting initial size in ctor.
2 years ago
Jeff Young
8b1fd62d35
Make pad & via teardrops 1st-class citizens (props of the pad/via)
Change teardrop generation to rely more heavily on BOARD_CONNECTIVITY
for improved performance.
Add updating of teardrops on BOARD_COMMIT::Push().
Also converts m_CopperItemRTreeCache to std::shared_ptr.
We don't copy it around anyway, and having to create a new set
of std::unique_ptr's for each operation is likely to be more
expensive than std::shared_ptr's overhead.
3 years ago
Jeff Young
3f44c811c7
Don't run onPageChanged() event handler during initialization.
3 years ago
Jeff Young
03c9b1c202
Move remainder of Board Setup to lazy loading.
3 years ago
Jeff Young
ddc6ecf7be
Lazy loading of Schematic Setup panels.
3 years ago
Jeff Young
9ae8255202
Insta-prefs.
3 years ago
Seth Hillbrand
7695d510d6
Prevent PCB Editor from opening multiple board_setup
ShowBoardSetup can be called multiple times from multiple locations,
resulting in duplicate board setup dialog boxes. This is confusing and
should be prevented. We use the established patter from the symbol
picker to ensure that only one copy of the dialog is ever opened at a
time
3 years ago
kliment
a3e3231605
Pcbnew: Increase the default size of the board setup dialog
3 years ago
Jeff Young
30c9deb9d5
Flat(er) look for paged dialogs.
3 years ago
Seth Hillbrand
e91c039ed3
Prevent event stackup when init pages
The paged book initialization (and others) can generate events,
re-laying out the whole dialog multiple times during initialization.
This halts events during the layout period
Fixes https://gitlab.com/kicad/code/kicad/issues/13158
3 years ago
jean-pierre charras
c3dddaf41f
panel_board_finish: mark board as modified when a finishing parameter is modified.
Fixes #13074
https://gitlab.com/kicad/code/kicad/issues/13074
3 years ago
Jeff Young
631980b0ab
We were saving the old board pointer, but not updating the current one.
This also makes a few other adjustments to order and to where we look
for the enabled layers which should make it more robust.
Fixes https://gitlab.com/kicad/code/kicad/issues/10925
3 years ago
Jeff Young
1fc5ecae6e
Minor dialog layout improvements.
Fixes https://gitlab.com/kicad/code/kicad/issues/12497
3 years ago
Jeff Young
f87bf3c46d
Special case up-key so it can get past headers in paged dialogs.
Fixes https://gitlab.com/kicad/code/kicad/issues/10078
3 years ago
Jeff Young
508df402f6
Cleanup.
3 years ago
Jeff Young
a9536b5de9
CHANGED netclass assignments now done via canvas or via patterns.
3 years ago
Seth Hillbrand
9b74372f9d
Minor spelling fix
3 years ago
Jeff Young
6f52edd618
Replace accidental delete of ExpandNode calls.
4 years ago
Jeff Young
e21fa31f64
Rip out rest of macHack architecture.
4 years ago
Wayne Stambaugh
7b1b96c933
Fix broken tree book selection in paged dialogs.
This only affected the tree controls that only parented sub-pages. Do
not use the dialog ctor to select the initial page. Queuing a page
changed event to fire after the dialog is shown is the proper solution.
4 years ago
Marek Roszko
38842647b8
Use the correct parent for the root node placeholders of board setup
4 years ago
Jeff Young
d28714167c
All the preferences, all the time.
Fixes https://gitlab.com/kicad/code/kicad/issues/7877
Fixes https://gitlab.com/kicad/code/kicad/issues/5153
4 years ago
Jeff Young
f1410f0240
Line styles for PCBNew shapes.
Fixes https://gitlab.com/kicad/code/kicad/issues/2150
4 years ago
Jeff Young
6e2460ad37
Add hot-updating of units in common wxGrids.
Fixes https://gitlab.com/kicad/code/kicad/issues/10020
4 years ago
Roberto Fernandez Bautista
dadaf26ff1
Board Setup: Ensure board editor layers page always gets updated
We need to update it even if we move to a different page, as when moving
back to the physical stackup page it will reset the layers.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/9991
4 years ago
Seth Hillbrand
1b7358f93a
Import layer settings before swapping boards
The rebuildLayerStackPanel() reads from the current board to setup the
panel. We maintain the board swap until after the setup is completed
Fixes https://gitlab.com/kicad/code/kicad/issues/9370
4 years ago
Jeff Young
57c7d663b0
Fix bone-headed mistake when moving panel disabling.
4 years ago
Jeff Young
95f841a037
A more nuanced method of making Board & Schematic Setup read-only.
This one still allows you to scroll to see all contents.
Fixes https://gitlab.com/kicad/code/kicad/issues/9302
4 years ago
Jeff Young
92008a089a
Disable Board & Schematic Setup controls when project is locked.
(or missing).
Fixes https://gitlab.com/kicad/code/kicad/issues/9302
4 years ago
Jeff Young
b84d1456d5
KIFACE_I -> KIFACE_BASE.
4 years ago
Jeff Young
48521774cd
Formatting.
4 years ago
Jeff Young
41619ebbe2
Decouple PROGRESS_REPORTER interface from implementations.
4 years ago
Wayne Stambaugh
cf00319c85
More NULL expunging.
4 years ago
Jeff Young
95ec9c786c
Board setup spacing.
4 years ago
Jeff Young
5fa5a73c6d
File open/import progress dialogs.
Fixes https://gitlab.com/kicad/code/kicad/issues/6864
Fixes https://gitlab.com/kicad/code/kicad/issues/2166
4 years ago
Marek Roszko
10e60acf34
Clean up including of board_design_settings.h
4 years ago
Wayne Stambaugh
7c14e4e967
Common widget header housekeeping.
4 years ago
Jeff Young
46d71f0d23
Go back to validate-on-OK, but stop doing design checks.
If we keep doing design validations at two different places, they can
only start to drift apart. Board Setup should validate for malformed
data ONLY; everything else is the business of DRC.
This also fixes a bug where implementation validations would not allow
OK in the dialog, but wouldn't put up a message to say why. We now use
the InfoBar impl from Jon's commit for that.
5 years ago
Jon Evans
ccba4b1462
Pcbnew: don't show project warning on stackup pages
Fixes https://gitlab.com/kicad/code/kicad/-/issues/5568
5 years ago
Jeff Young
d384316335
Fix some layout issues in board stackup pane.
Also decided the extra paramaters on the right weren't working out
on smaller screens and so moved Board Finish to its own panel.
5 years ago
Jon Evans
887ad1c30d
CHANGED: Copper layer count is now set on physical stackup page
REMOVED: Board layer stackup presets that were not very useful
Fixes https://gitlab.com/kicad/code/kicad/-/issues/6765
5 years ago
Jon Evans
ab34d94f36
Add a less-intrusive validation system to board setup
For some kinds of issues, we want a way to point them out but
we don't need to keep the user from being able to close the
dialog. A separate Validate button lets the user check for
issues if desired, but these issues are not "fatal" and can
be ignored if the user wishes.
5 years ago
Marek Roszko
ee2c5bb489
Remove memory leak when importing settings for a board
5 years ago
Jeff Young
5a5f96bd9f
More consistent naming.
5 years ago
Jeff Young
7134ff2da6
Try a different arrangement of Board Setup pages.
5 years ago
Wayne Stambaugh
aab3c936f0
Move headers from common folders to appropriate include folders round 2.
5 years ago
Wayne Stambaugh
08cf9a1e20
Move headers from common folders to appropriate include folders round 1.
5 years ago