Jeff Young
d7a3c35f56
Repair over-zealous application of grid origin dialog.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15537
2 years ago
Jeff Young
4fefd95e0c
Move grid definitions to Prefs and grid origin to a separate dlg.
Grid origin is document-wide, while grid definitions are app-wide.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/2262
2 years ago
Mike Williams
132a0ada73
Grid Overrides: support grids-per-type that override the current grid.
Schematic only at this point while we test and refine.
PCB support is a future addition.
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/14756
2 years ago
Jon Evans
3a0f8214fa
ADDED: Properties panel for schematic editor
Initial infrastructure work; follow-ons will add more
properties for schematic items.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/6351
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14105
2 years ago
CraftedNightmare
aa667bea0f
eeschema: Fix Search pane not remembering docking sizes and positions
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14120 for eeschema
Fixes that Show Search Panel Checkbox can get out of sync when restarting
eeschema while the search pane is active
3 years ago
Wayne Stambaugh
24b04795fd
Add net navigator panel to schematic editor.
[ADDED]: A panel to the schematic editor that allows quick access to all
of the items connected to the currently highlighted net.
This is an initial swag at implementing a full net navigator feature. For
now it only shows the currently highlighted net nodes. The incremental
net list advanced setting must be enabled in order to use this feature due
to performance reasons. There are still some issues with saving the panel
position which will be addressed in the future.
Initial code for serializing wxAuiPaneInfo settings to and from JSON have
be implemented.
3 years ago
Marek Roszko
1adcb86e0b
Initial schematic search pane
3 years ago
Jeff Young
b000d68def
Move simulator to tool framework.
3 years ago
Jeff Young
508b9e21a8
Put simulation in with other life-cycle tools.
3 years ago
Mike Williams
093c0c2c98
Schematic: add simulation button to toolbar
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/2331
3 years ago
Jeff Young
c7603372b5
Use consistent naming.
3 years ago
Jeff Young
ee0f93ed17
Fix some issue with hierarchy panel on OSX.
Also moves the option toolbars tight to the canvas for all windows.
Fixes https://gitlab.com/kicad/code/kicad/issues/12087
3 years ago
jean-pierre charras
b401e98c80
Eeschema, hierarchy navigator: fixes and enhancements.
Work in progress.
3 years ago
jean-pierre charras
185016b84b
Eeschema, Hierarchy navigator: add tool to Hide/show the panel.
Add also a close button to the pane.
3 years ago
Seth Hillbrand
407514919d
Prevent null dereference
4 years ago
Mike Williams
8d51b6b6d3
Schematic: Add icons for Any/90/45 angle modes
Also add a dark mode icon for existing 45hv icon.
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/11332
4 years ago
Mike Williams
857990a883
Hierarchy: turn into a left side pane
Drop auto-closing option as well.
4 years ago
Mike Williams
7f3e5e9b79
Schematic: add recursive annotation control
4 years ago
Mike Williams
85516a4691
Schematic: add automatic annotation toggle
4 years ago
Mike Williams
2a726a882f
Schematic: new feature, force 45 degree lines
* New modes to force 45 deg angle at beginning or end of line
* Backspace will undo most recent segment added
* / will toggle posture of 90 and 45 degree lines
* Added alg::signbit for convenience
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/10869
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/9175
4 years ago
Jeff Young
c6a8100d46
Schematic and symbol text boxes.
Also fixes some plot bugs with arcs.
Also moves polygonization of arcs (when required) in plotting code
from 5 degrees to calculated based on ARC_HIGH_DEF.
Fixes https://gitlab.com/kicad/code/kicad/issues/5017
4 years ago
Jeff Young
2defd8d911
Move show-bounding-boxes to a tool on the toolbars.
4 years ago
Jeff Young
889970a449
SCH_NETCLASS_FLAGs and SCH_FIELDs for labels.
ADDED: a new label type for netclass flags.
ADDED: the ability to define fields on labels.
4 years ago
Jeff Young
b84d1456d5
KIFACE_I -> KIFACE_BASE.
4 years ago
Seth Hillbrand
c7d188a8d0
Centralizing SCRIPTING class
5 years ago
Jeff Young
2a7e60960a
Use standard mirror icons & terminology.
Also use standard group icons.
Also put both (and rotate commands) in toolbar.
Fixes https://gitlab.com/kicad/code/kicad/issues/7504
5 years ago
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
5 years ago
Ian McInerney
52856a8ce4
Move scaled toolbar separator into ACTION_TOOLBAR
* Ensure all separators are scaled separators
* Clean up toolbar creation functions
5 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.
6 years ago