Marek Roszko
08ca80a2d8
Smooth out redrawing of toolbars by not letting wx pointlessly calculate both orientations
Monkey patch
Fix #5705
5 years ago
Michael Kavanagh
b2124a34dc
Add grid properties context menu to grid toolbar
Fixes https://gitlab.com/kicad/code/kicad/issues/5663
5 years ago
Ian McInerney
b1bd1f2a97
Introduce new action to switch to mils as a unit
5 years ago
jean-pierre charras
7865d8de43
more cleanup about removing useless include
5 years ago
Ian McInerney
fc565edb33
Add a palette to the toolbars to display groups of actions
This adds a palette to toolbar items that displays groups
of actions when long-pressed on a button.
5 years ago
PJM
abdd1906c2
Change 'Zoom to Fit' margins and add 'Zoom to Objects'
CHANGED: The margin used in 'Zoom to Fit' is now 2% instead of 10%.
ADDED: Added 'Zoom to Objects' to Eeschema which does not include
the page and border in the bbox calculations.
CHANGED: Removed pre-existing code that tweaked the center to account
for the scrollbars. It actually made the view off center. Removing it
results in perfectly centered zooms.
Fixes https://gitlab.com/kicad/code/kicad/issues/5145
5 years ago
Ian McInerney
f28b60896c
Allow toolbar items to cancel tools when pressed
There was a regression in v6 where the zoom to selection toolbar
item wasn't canceling the tool when pressed and the tool was active
(it was in v5). This implements a more generic framework for canceling
tools on button presses.
Fixes https://gitlab.com/kicad/code/kicad/issues/5103
5 years ago
Ian McInerney
fd4388710d
Migrate eeschema, libview and libedit to the UI condition framework
Also, fix some issues in other frames identified along the way.
5 years ago
Ian McInerney
3b05d7cddd
Move more frames to the new UI condition framework
* Frames moved: cvpcb, cvpcb footprints frame, gerbview, pagelayout editor
This also introduces new EDITOR_CONDITIONS that are used to set the
conditions of very common editor settings.
Also, some IDs were converted to tools in the pagelayout editor.
5 years ago
Jeff Young
7340c97ef9
Undo for schematic-wide operations.
Editing value/footprint fields of multi-unit components.
Find/Change.
Annotation.
Back annotation.
Fixes https://gitlab.com/kicad/code/kicad/issues/2122
Fixes https://gitlab.com/kicad/code/kicad/issues/4869
Fixes https://gitlab.com/kicad/code/kicad/issues/3933
Fixes https://gitlab.com/kicad/code/kicad/issues/4871
Fixes https://gitlab.com/kicad/code/kicad/issues/3899
5 years ago
Jeff Young
e66523586b
Add Assign Netclass... to context menu.
ADDED Assign Netclass feature to EEschema.
Netclass assignments also now shown in status bar.
Fixes https://gitlab.com/kicad/code/kicad/issues/4581
5 years ago
Ian McInerney
fb10406e67
Add right-click context menus for toolbar items
6 years ago
Ian McInerney
52856a8ce4
Move scaled toolbar separator into ACTION_TOOLBAR
* Ensure all separators are scaled separators
* Clean up toolbar creation functions
6 years ago
Michael Kavanagh
1a946a7094
Eeschema:Remove import fp assignments from toolbar
Fixes https://gitlab.com/kicad/code/kicad/issues/4368
6 years ago
Jeff Young
7308099852
Add an icon and put Schematic Setup in the toolbar.
6 years ago
Jeff Young
122b1ddaae
Unwrap an unnecessary layer now that we have new config stuff.
6 years ago
Seth Hillbrand
9f7e0ef8e8
eeschema: Remove Bus-Bus and Place sheet pin buttons
Cleaning toolbars of functions that are superfluous or do not match well
to the user workflow.
6 years ago
Mark Roszko
11ff16be4e
Switch to scoped enums
6 years ago
Ian McInerney
b9d8849b28
Unify unsaved changes detection logic in all frames
Create an IsContentModified() function in each frame
that provides if the content has been modified, and
use that instead of always copying the checks.
6 years ago
Seth Hillbrand
0d3f6a4930
eeschema: Remove Save All
Saving individual parts of a schematic can break the schematic. This
moves the schematic save option to save all sheets rather than just the
current sheet.
Fixes: lp:1840383
* https://bugs.launchpad.net/kicad/+bug/1840383
6 years ago
Jeff Young
3cdf88f2c6
CERN copyrights for work packages.
6 years ago
Michael Kavanagh
79b2ff7551
Refactor deleteTool ACTION removing duplicates
6 years ago
Jeff Young
815602d1af
Fix missing AF_ACTIVATE flags on some tools.
Fixes: lp:1813659
* https://bugs.launchpad.net/kicad/+bug/1813659
6 years ago
Jeff Young
f9702aab87
Immediate actions for PlEditor, PcbNew, etc.
7 years ago
Jeff Young
909aeba3d9
Transition some more stuff from the MVC view to the controller.
7 years ago
Jeff Young
5610261dce
Immediate-action hotkeys (and context menu actions) for eeschema.
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
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
469fc3b572
Finish moving symbol editor tree context menu to ACTIONs.
7 years ago
Jeff Young
1ea5b04e22
More ACTIONS work. Nearly done now.
7 years ago
Jeff Young
3777c5270b
Move some more Eeschema operations to ACTIONs.
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
a3dfce5adb
Implement common file menu actions and move Eeschema over.
7 years ago
Jeff Young
67cc2aac2e
Rework Eeschema find/replace for modern toolset.
Fixes: lp:1827274
* https://bugs.launchpad.net/kicad/+bug/1827274
Fixes: lp:1827240
* https://bugs.launchpad.net/kicad/+bug/1827240
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
e850592587
Cleanup.
7 years ago
Jeff Young
ef5c69167a
Start moving some LibEdit and SchEdit menubar menus to actions.
Also includes a bunch of bug fixes that got intermingled.
Fixes: lp:1828826
* https://bugs.launchpad.net/kicad/+bug/1828826
Fixes: lp:1828826
* https://bugs.launchpad.net/kicad/+bug/1828826
Fixes: lp:1828793
* https://bugs.launchpad.net/kicad/+bug/1828793
7 years ago
Jeff Young
c1539ae014
Naming changes to reflect sharing between SchEdit and LibEdit.
7 years ago
Jeff Young
cd2bd23c37
Fix a bunch of issues with hotkeys, IDs and event processing.
Fixes: lp:1827894
* https://bugs.launchpad.net/kicad/+bug/1827894
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
Jeff Young
460909ea9a
Move click-to-place tools to modern toolset.
7 years ago
Jeff Young
b63fab92cf
Move Eeschema net highlighting to modern toolset.
7 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
Michael Kavanagh
fe6bc411dd
Fix 'hokey' -> 'hotkey' typo
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
Jeff Young
c694c2e534
No more legacy graphics for eeschema.
7 years ago
Jeff Young
d7178c7833
Implement GAL refresh for a bunch of operations.
7 years ago
Tomasz Wlostowski
90c7c60471
eeschema-gal: initial GALified version. Lots of stuff still to do!
7 years ago
Martin Aberg
9d1b5698e9
Standardize "assign footprints" terminology.
ref: 611d5a0dc4
8 years ago