Michael Kavanagh
79b2ff7551
Refactor deleteTool ACTION removing duplicates
6 years ago
Ian McInerney
f59b3a0210
pcbnew: Move layer toolbar icon previous values to struct
The static variables posed problems on Linux, and also were
not as portable for multiple instances of PCB_EDIT_FRAME.
6 years ago
Ian McInerney
b70df18939
pcbnew: Force rebuild of layer pair icon on menu creation
Fixes: lp:1838158
* https://bugs.launchpad.net/kicad/+bug/1838158
6 years ago
Jeff Young
b432a718ab
Back out previous fix.
6 years ago
Jeff Young
7b5b807a8c
Another attempt to fix the GTK uninitialized layer pair bitmap.
Fixes: lp:1838158
* https://bugs.launchpad.net/kicad/+bug/1838158
6 years ago
Jeff Young
ee1be14b62
Initialize static memory. Only the LLDB compiler does this for you.
Fixes: lp:1838158
* https://bugs.launchpad.net/kicad/+bug/1838158
6 years ago
Jeff Young
3a8f32c380
Convert ShowEEschema to an ACTION so it can get a hotkey assignment.
Fixes: lp:1686010
* https://bugs.launchpad.net/kicad/+bug/1686010
6 years ago
Jeff Young
f9702aab87
Immediate actions for PlEditor, PcbNew, etc.
6 years ago
Jeff Young
f30c8e0f46
Increase signal-to-noise ratio.
7 years ago
Seth Hillbrand
daad58e511
pcbnew: Add option to show ratsnest while moving
Re-works ratsnest display options in the configuration parameters rather
than the board file. Moves ratsnest options to central preferences
location.
Fixes: lp:1826440
* https://bugs.launchpad.net/kicad/+bug/1826440
Fixes: lp:1821183
* https://bugs.launchpad.net/kicad/+bug/1821183
7 years ago
Jeff Young
9f427da56f
Use the ACTION_ID offset when updating the layer pair bitmap.
7 years ago
Jeff Young
b0e8443383
Sync-ing of menu has been done in CONDITIONAL_MENU for some time now.
7 years ago
Jeff Young
5e49517781
Move hotkeys to ACTION architecture.
7 years ago
Jeff Young
e606587ff6
Move remaining Symbol Tree ctx menu cmds to ACTIONS.
Also moves the various Player instantiators down into COMMON_TOOLS
for better sharing.
7 years ago
Jeff Young
15241b7fcf
ACTION-ize toolbar/palette control.
7 years ago
Jeff Young
1222f3cc72
ACTION-ize fab outputs.
7 years ago
Jeff Young
1ea5b04e22
More ACTIONS work. Nearly done now.
7 years ago
Jeff Young
3912c7407f
Move global commands to ACTIONs.
Also fixes a crash bug opening Edit Tracks and Vias dialog.
7 years ago
Jeff Young
568c8c336b
Move DRC control to a tool; move assorted commands to ACTIONS.
7 years ago
Jeff Young
9f1e2e34b7
Move some dupicated tools to common tools.
7 years ago
Jeff Young
33773bad4d
Yet more command conversions to ACTIONs.
7 years ago
Jeff Young
ed9153a786
Fix assert launching PCBNew.
7 years ago
Jeff Young
c2662b0e11
Retire EDA_DRAW_PANEL and legacy_wx/EDA_DRAW_FRAME.
7 years ago
Jeff Young
6936effaa7
Implement undo for Page Settings in PlEditor, Eeschema and PCBNew.
Fixes: lp:1820059
* https://bugs.launchpad.net/kicad/+bug/1820059
7 years ago
Jeff Young
1a3d0492f5
Push polar coords down into COMMON_TOOLS.
7 years ago
Jeff Young
fbb807f3bb
Move some more menu & toolbar items to modern toolset.
7 years ago
Jeff Young
69afa27a5f
Implement ACTION_TOOLBAR and update some of the menus to ACTION_MENU.
This gives us better separation of MVC in line with the design of
the modern toolset. It also reduces a whole bunch of duplicated
data.
7 years ago
Jeff Young
a12d769074
Code clarification and commenting.
Also renames toolbar files to reduce confusion with the modern toolset
tool files.
7 years ago
Michael Kavanagh
df228a3c10
Pcbnew: Fix missing UI elements for curved ratsnest function
Fixes: lp:1826446
* https://bugs.launchpad.net/kicad/+bug/1826446
7 years ago
MaPePeR
e7d32c54b9
pcbnew: Draw Ratsnest with arcs to avoid overlap
Adds a toggle button that allows switching between straight lines and
curves for the ratsnest lines.
Fixes: lp:1766597
* https://bugs.launchpad.net/kicad/+bug/1766597
8 years ago
Jeff Young
ea43866563
Move legacy netlist read/write to import/export.
Fixes: lp:1610529
* https://bugs.launchpad.net/kicad/+bug/1610529
7 years ago
Seth Hillbrand
e1bce7dccd
pcbnew: Prevent using "edit width" in dialogs
Editing predefined tracks/nets/vias sizes makes sense in the toolbar but
not inside the submenu.
7 years ago
Seth Hillbrand
9d99fd188f
Revert "Change top selection drop-down to combobox"
This reverts commit 7d06651a10 .
7 years ago
jean-pierre charras
e2afe5e1a3
Toolbars with wxComboboxes: Fix incorrect ReCreate Toolbar methods: they recreated these wxComboboxes without deleting the previously created.
This issue created memory leak and not working wxComboboxes (for instance after modifying the language selection).
Now, these wxComboboxes are created only once, never recreated.
Also: minor cosmetic enhancement in footprint editor main toolbar
(the save footprint icon is modified if the footprint is saved to the board or to the library)
7 years ago
Seth Hillbrand
7d06651a10
Change top selection drop-down to combobox
wxChoice centers the selection on GTK. So when switching from a
mid-list item to an item at the top, the list is always cut off for
choice lists located on the top toolbar. Using a combobox provides a
drop-down that allows easier access to all elements in the box.
Fixes: lp:1808569
* https://bugs.launchpad.net/kicad/+bug/1808569
7 years ago
Wayne Stambaugh
fc69e6532c
Unify "Read netlist" and "Load netlist" UI strings.
7 years ago
D4p0up
e94752a6cf
Added help string to select buttons.
Also moved highlight text string to help_common_strings.h
Fixes: lp:1497737
* https://bugs.launchpad.net/kicad/+bug/1497737
8 years ago
Wayne Stambaugh
59b0f553e0
Code cleaning.
7 years ago
Jeff Young
647fa6547d
Update grid drop-down when changing user grid.
7 years ago
Seth Hillbrand
eb689a5221
Ratsnest: Improve show heuristics
When the local ratsnest tool is used, it should toggle the state based
on the global ratsnest visibility. After changing state, the layer
cache is marked as well.
Possibly related to lp:1800301
(cherry picked from commit 22fbf30f22 )
7 years ago
Jeff Young
0de9cb345c
Add shortcuts to setting dialogs for track widths, via sizes and grid sizes.
Fixes: lp:1803671
* https://bugs.launchpad.net/kicad/+bug/1803671
7 years ago
Jeff Young
3158273c1a
Revert window-locking change which didn't fix preferences crash.
7 years ago
Jeff Young
6a5744adb1
Show compile errors and go back to GLSL V120.
7 years ago
Baranovskiy Konstantin
12e38bc5fa
Pcbnew: make units in ViaSizeSelectBox translatable.
7 years ago
qu1ck
72f87861bb
pcbnew: Add toolbar buttons for action plugins
Allows optional toolbar buttons for action plugins.
7 years ago
Jeff Young
d81faa72c9
Overhaul border drawing in all the Kicad frames.
Primary change is to replace most control/window borders with
AUI pane borders. We implement our own AUI border drawing
routine which avoids the ugly one-pixel white frames around
dark canvasses.
Also increases the signal-to-noise ratio of all the pane
creation code in the various frames.
7 years ago
John Beard
9ec6efbf13
Add icon for update PCB from Schematic
This previously used the "import board file" icon, which is a bit
confusing, as the action is not importing into a PCB.
7 years ago
John Beard
9d15e58462
Pcbnew: add new icon for board setup
Previously, the generic "options" gear was used, which was
confusing.
This commit add a new icon, options_board, specifically for
board-wide options.
7 years ago
Jeff Young
d804427c83
Add Open-Schematic tool to PcbNew.
Fixes: lp:1780610
* https://bugs.launchpad.net/kicad/+bug/1780610
7 years ago
Jeff Young
93c173fcdd
Add board setup and update PCB from schematic to toolbar.
Also reorders toolbar to more closely align with menus (and
eeschema).
7 years ago