Michael Kavanagh
154e19b6e7
Icons: use common prefix for small 16x16
5 years ago
Jeff Young
dff5173baf
Exorcise some instances of "modedit".
5 years ago
Jeff Young
ef3b7052e0
Remove layer nag dialogs and just ignore non-shapes on Edge_Cuts.
Fixes https://gitlab.com/kicad/code/kicad/issues/5812
5 years ago
jean-pierre charras
ba8b8d2738
Fix incorrect vertical position of some ckeckboxes in some wxGrid used in dialogs
5 years ago
Mikolaj Wielgus
400c15b8eb
Add mils to units, remove useMils variables
5 years ago
jean-pierre charras
3144bab36f
final cleanup about removing useless include
5 years ago
Jeff Young
492f7859e7
Make sure design settings get written back to board.
Fixes https://gitlab.com/kicad/code/kicad/issues/5109
5 years ago
Jon Evans
c0aa6965de
Migrate PcbNew project settings to new framework
Various architecture upgrades to support this.
Creating a BOARD now requires a valid PROJECT, which caused
some (mostly transparent) changes to the Python API internals.
ADDED: Project local settings file
CHANGED: Board design settings are no longer stored in PCB file
CHANGED: Net classes are no longer stored in PCB file
CHANGED: Importing board settings now reads boards, not just projects
Fixes https://gitlab.com/kicad/code/kicad/-/issues/2578
Fixes https://gitlab.com/kicad/code/kicad/-/issues/4070
6 years ago
jean-pierre charras
c78e7c5485
Fix compil issues (warnings and missing include)
6 years ago
Jeff Young
7c935b1997
Fix Mac-specific include.
Fixes https://gitlab.com/kicad/code/kicad/issues/4377
6 years ago
Jeff Young
3c3984a6fc
Generalize default footprint fields.
Fixes https://gitlab.com/kicad/code/kicad/issues/2289
6 years ago
Jeff Young
10614a9ebc
Implement changes for Sketch Pads to Fab Layers.
Includes adding Fab Layers to default text & graphic settings.
Fixes https://gitlab.com/kicad/code/kicad/issues/1885
Fixes https://gitlab.com/kicad/code/kicad/issues/2274
6 years ago
jean-pierre charras
92af5531bc
Fp editor: fix: Reference and Value default values aren't saved
in Footprint Editor preferences
Fixes #3889
https://gitlab.com/kicad/code/kicad/issues/3889
6 years ago
Jeff Young
69f003ba4a
Remove previous cell selection fixes in favour of slow-click hack.
wxWidgets has several bugs that result in cell editors being closed
right after they're opened. There are two wxWidgets hacks to
partially address this: the SetInSetFocus() hack, and a slow-click
hack. We used to try and work-around these bugs ourselves for
single-click access, but this changelist moves those over to
wxWidget's slow-click hack.
Fixes: lp:1817965
* https://bugs.launchpad.net/kicad/+bug/1817965
7 years ago
Jeff Young
dc5ae574e2
Restore ability to hide grid columns.
wxGrids stupidly does this by setting the width to zero, so you
have to be careful when adjusting minimum widths.
7 years ago
jean-pierre charras
a703c53312
Fixes in dialogs: mainly better sizes for grid columns, but more other minor fixes.
Fix wxGrid column minimal widths on Windows in dialogs (just fixing the size is not enough).
WX_GRID::GetVisibleWidth(): make width bigger for labels, because they usually use a bold font.
(However, the fix is just a workaround: a better code is welcome)
7 years ago
jean-pierre charras
8dc4077d58
Fix compatibility issues with wxWidgets 3.1.1
7 years ago
Seth Hillbrand
8ff764376a
wx_grid: abstract visible column width
Cleanup code for checking visible extents of grid text. Places single
routine to extract the current spacing from the grid in WX_GRID.
7 years ago
Jeff Young
3e45483798
Separate edge.cuts and courtyards in ModEdit default values.
Fixes: lp:1788876
* https://bugs.launchpad.net/kicad/+bug/1788876
7 years ago
Jeff Young
b90a261d5c
More safety fixes for uncommitted grid changes.
7 years ago
Jeff Young
0cca1c6721
Remove active library concept from footprint editor.
Also bring the menu system and toolbar in line with Pcbnew,
eeschema, and the symbol library editor, which includes moving
to a standard Save As paradigm for renaming/moving items.
Fixes: lp:1748474
* https://bugs.launchpad.net/kicad/+bug/1748474
Fixes: lp:1778202
* https://bugs.launchpad.net/kicad/+bug/1778202
7 years ago
Jeff Young
5621f4221a
A few more spacing & font-size updates for Windows.
7 years ago
Jeff Young
909f850d16
Give panels the correct parent (the treebook, not the dialog).
(cherry picked from commit 7338533)
(cherry picked from commit 3ce75be)
7 years ago
Jeff Young
aab97c8385
Consolidate design rules UI.
Implement new Board Setup paged dialog which includes:
Layers Setup
Design Rules
Solder Mask & Paste
Text & Drawings
Moves line width and text properties to a layer-class-based
system. Renames unlocked to upright (which also reverses the
logic).
New Edit Text and Graphic Properties dialog which replaces
Edit Footprint Text and adds layer-class-based editing and the
italic, upright and visibility properties.
Adds Import Settings functionality which allows settings to
be imported from another project at page granularity.
Also UNIT_BINDERizes the dialog and adds editing of pcb text.
Fixes: lp:1731952
* https://bugs.launchpad.net/kicad/+bug/1731952
Fixes: lp:1743464
* https://bugs.launchpad.net/kicad/+bug/1743464
Fixes: lp:1664761
* https://bugs.launchpad.net/kicad/+bug/1664761
Fixes: lp:1753362
* https://bugs.launchpad.net/kicad/+bug/1753362
Fixes: lp:1545427
* https://bugs.launchpad.net/kicad/+bug/1545427
Fixes: lp:1753775
* https://bugs.launchpad.net/kicad/+bug/1753775
Fixes: lp:1777692
* https://bugs.launchpad.net/kicad/+bug/1777692
Fixes: lp:1780670
* https://bugs.launchpad.net/kicad/+bug/1780670
Fixes: lp:1519601
* https://bugs.launchpad.net/kicad/+bug/1519601
(cherry picked from commit 3944a5e)
8 years ago
Jeff Young
7841f8a466
Unified preferences dialog framework.
(cherry picked from commit 8ee3e77)
8 years ago