Jeff Young
ee956673b1
Respect readOnly cells in GRID_TRICKS.
Also fixes setting colors in the signals grid as it allows us to make
it editable again.
Fixes https://gitlab.com/kicad/code/kicad/issues/14079
3 years ago
Jeff Young
2a5bb71fbd
ADDED operating point text variables for labels and symbols.
ADDED formatting for cursors and operationg points
Also fixes a bunch of bugs to make the new cursors work with .ac sims.
Fixes https://gitlab.com/kicad/code/kicad/issues/11253
Fixes https://gitlab.com/kicad/code/kicad/issues/6965
3 years ago
Wayne Stambaugh
aeb429b088
Fix GCC build error.
3 years ago
Jeff Young
f179754118
Implement add-new-on-return for some of our grids.
Fixes https://gitlab.com/kicad/code/kicad/issues/12335
3 years ago
Jeff Young
d5533e7999
ADDED unit-filtering for pin table.
Fixes https://gitlab.com/kicad/code/kicad/issues/9382
4 years ago
Jeff Young
9de62d1dd4
Promote to cell selection for spreadsheet-style paste.
Fixes https://gitlab.com/kicad/code/kicad/issues/9211
4 years ago
dsa-t
4ccfc21324
Fix event id intersections when toggling some columns via popup.
Also increases maximum show/hide column count to 50.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/9765
4 years ago
Ian McInerney
36d66085f5
Add a column showing 3D model file loading errors
This adds an icon to the left of the row with an error symbol if the
file can't be found or opened, and shows a tooltip over the icon with
and error string.
Fixes https://gitlab.com/kicad/code/kicad/issues/3815
4 years ago
Jeff Young
fcf6511f0c
Implement Delete in grid tricks.
Fixes https://gitlab.com/kicad/code/kicad/issues/7703
5 years ago
Wayne Stambaugh
a1fae02427
Header clean up round 2.
5 years ago
jean-pierre charras
36bc44e6d7
more cleanup about removing useless include
5 years ago
Jeff Young
e9da02e2d5
Only reserve hotkeys for focused textCtrls that are editabled.
Otherwise just send Ctrl-C to the disabled control, and everything
else to the tool framework.
Fixes https://gitlab.com/kicad/code/kicad/issues/4801
5 years ago
Ian McInerney
36de20a0a7
Allow space to toggle all selected entries in a grid
CHANGED: Space now toggles all selected checkboxes in a grid
Fixes https://gitlab.com/kicad/code/kicad/issues/2252
6 years ago
Seth Hillbrand
7c28c3838a
Comment-only changes
Makes class comments conform to coding standards
6 years ago
Jeff Young
f8776f72ac
Drop cell editor when selecting column.
Fixes: lp:1828222
* https://bugs.launchpad.net/kicad/+bug/1828222
7 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
45bc1b1aff
Add single-click editing to grid cells. (Experimental.)
7 years ago
Jeff Young
3e062867de
Move all the grid workarounds into our own WX_GRID class.
(cherry picked from commit 08b4463)
8 years ago
Jeff Young
7be85deb32
GRID_TRICKS improvements.
Allow copy of a single cell demarcated by the grid cursor.
Paste of lib_table s-expressions should always start at 0,0.
Let caller or specialized sub-class do auto-sizing; don’t
do it from within the base GRID_TRICKS.
Don’t start GRID_TRICKS menu IDs at -1; wxWidgets doesn’t
like it when you get to 0.
Add column visibility menu.
(cherry picked from commit e5071ed)
8 years ago
Jeff Young
a0364a1137
Don't make user click twice to toggle checkbox in wxGrid.
8 years ago
Dick Hollenbeck
1731e89508
*) Factor out Cut, Copy, and Paste for wxGrid into class common/GRID_TRICKS.
*) Use it on 3 grids total in DIALOG_FP_PLUGIN_OPTIONS and DIALOG_FP_LIB_TABLE.
*) Fix bug when pasting "(fp_lib_table" text into FP_LIB_TABLE.
12 years ago