Jeff Young
b0663d84cb
ADDED: Paste tabular contents to parent table.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21109
3 months ago
Jeff Young
68109fc0a9
Don't try to write to non-editable combobox (KICAD-6JS).
4 months ago
Jeff Young
4f83674b62
Only add row separator between rows.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20494
7 months ago
Jeff Young
846ffa5659
Remove duplicate handling for grid checkboxes.
Also corrects logic of otherRow loop.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18843
7 months ago
Seth Hillbrand
0b2d4d4879
Revise Copyright statement to align with TLF
Recommendation is to avoid using the year nomenclature as this
information is already encoded in the git repo. Avoids needing to
repeatly update.
Also updates AUTHORS.txt from current repo with contributor names
10 months ago
Jeff Young
40115a298b
Support double-click for editing job settings.
10 months ago
Jeff Young
b36f67853c
Moved jobs to a more direct-editing paradigm.
Uses WX_GRID for in-place editing of job descriptions and
GRID_CELL_TEXT_BUTTON for context-menu-free editing of job
properties.
Also moves buttons down as the Save button (now renamed Save Jobset) also saves the output definitions.
10 months ago
JamesJCode
936e0a590c
Don't enable GRID_TRICKS paste menu item if grid is not editable
11 months ago
Dhineshkumar S
07f96b83b7
Fix copy-paste issue for grids with checkboxes
Handle boolean value parsing during paste operation. The boolean value
was not being handled correctly in grid_tricks, which prevented the
boolean value from being pasted into the target row
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18985
1 year ago
JamesJCode
816af9562b
Fix missed rows when pasting to WX_GRID on macOS
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18916
1 year ago
Jeff Young
f3ce3bc758
Close active cell editor when showing/hiding columns.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17425
2 years ago
Jeff Young
85d0126187
Auto-start text entry for Scintilla grid cells.
2 years ago
Jeff Young
95cfddf3a6
Fix some issues with hotkey paste in WX_GRIDs.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16253
2 years ago
Mike Williams
d150803dee
Grid Tricks: entering editor needs to set selection to edited cell
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/15453
2 years ago
Jeff Young
f9fd37c4ca
Correctly handle hidden columns when pasting into grids.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14844
2 years ago
Jeff Young
5b56cb6bdb
Don't let add-row processing intercept OK processing.
Fixes https://gitlab.com/kicad/code/kicad/issues/14579
3 years ago
Jeff Young
86ca90aa2d
Fixes to allow copy/paste of pin data.
1) allow paste even if initial cell isn't writeable
2) allow paste to add rows if there's an addHandler defined
Fixes https://gitlab.com/kicad/code/kicad/issues/14508
3 years ago
Lucas Dumont
923f386f08
Dont' create new cell if editing one
Return key is used to change cell line. If cell was in edition, the edition is saved before changing line.
Before this change using return key in the last row, if edited, both saved the change and create new row.
After this change, it'll just save the just, and will need a second key press to create a new row.
3 years ago
Jeff Young
a914f6e992
First <ESC> after an edit in a textEdit cancels the edit.
(Second will exit the dialog.)
Fixes https://gitlab.com/kicad/code/kicad/issues/14514
3 years ago
Mike Williams
4ac0d71ad4
Grid Tricks: don't override paste into actively editing cell
Also strip linebreaks and tabs if we are in a single cell.
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/12276
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/8361
3 years ago
Mike Williams
b32ba16da4
UI: Add Numpad Enter as "Return" equivalent in missing places
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/14244
3 years ago
Jeff Young
f41f04b301
Hook up AddField handler to GRID_TRICKS for SCH dialogs.
Fixes https://gitlab.com/kicad/code/kicad/issues/git/14153
3 years ago
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
Marek Roszko
0ff32d20cd
wxS more things
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
Jon Evans
90996d0698
Don't toggle checkboxes selected rows if only one row is selected
3 years ago
Jon Evans
ba3e31bd09
GRID_TRICKS: Allow toggling checkboxes in a set of selected rows
3 years ago
Jeff Young
6f49b57f9b
Cleanup & performance enhancements.
3 years ago
Jeff Young
643fa65fc2
Don't allow cut or paste into read-only grids.
Fixes https://gitlab.com/kicad/code/kicad/issues/11541
4 years ago
Jeff Young
c27ec5cae1
Don't paste into hidden columns.
Fixes https://gitlab.com/kicad/code/kicad/issues/10168
4 years ago
dana
8373180cbb
Handle Unicode clipboard data in pcbnew and symbol editor
Fixes #10323
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
Jeff Young
1fbb7f17c7
Don't copy (or cut) hidden columns.
Fixes https://gitlab.com/kicad/code/kicad/issues/1911
4 years ago
Ian McInerney
baf6798695
Check for column existence before checking for tooltip enabled
Otherwise we try to read a bitset at location -1, which triggers
and assert on MSVC.
Fixes https://gitlab.com/kicad/code/kicad/issues/8890
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
Wayne Stambaugh
bcd6bddfd4
Start expunging NULL.
Given that KiCad is a C++ project, we should really be using nullptr
instead of NULL.
4 years ago
Roberto Fernandez Bautista
ae009e0758
Ensure clipboard data is available after KiCad closes
Always Flush() after SetData()
5 years ago
Jonathan Haas
55679be2e3
Fix some typos across the codebase
5 years ago
Jeff Young
fcf6511f0c
Implement Delete in grid tricks.
Fixes https://gitlab.com/kicad/code/kicad/issues/7703
5 years ago
Roberto Fernandez Bautista
9aedeae5c3
Don't log error messages when using the clipboard
wxClipboard::GetData()and wxClipboard::SetData() both log a "wxLogSysError" error-level message (see for example: https://github.com/wxWidgets/wxWidgets/blob/v3.1.4/src/msw/clipbrd.cpp#L703 ). This logged message gets displayed as a messagebox to the user.
The logging can be disabled temporarily by creating a wxLogNull object. See https://docs.wxwidgets.org/3.0/classwx_log_null.html
Fixes https://gitlab.com/kicad/code/kicad/-/issues/6956
5 years ago
Ian McInerney
3d47eb0d49
Fix localization of the menu strings with accelerator strings
The accelerator strings really shouldn't be part of the translation,
and some translations have cause the accelerator keys to be incorrectly
handled. It is simpler to make it separate and just join them to the
translated string.
Make all accelerator modifiers use lowercased Ctrl instead of CTRL
to be the same as the other modifiers.
Fixes https://gitlab.com/kicad/code/kicad/issues/5992
5 years ago
jean-pierre charras
36bc44e6d7
more cleanup about removing useless include
5 years ago
Jeff Young
ff3d5f0de6
Generate grid event when pasting into cell.
Fixes https://gitlab.com/kicad/code/kicad/issues/4599
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
Seth Hillbrand
05a89863c5
GRID_TRICKS: Ensure destinations can take value
Cut/Paste need to set values in the table. We need to check that the
destination can take the string values before blindly setting.
Fixes https://gitlab.com/kicad/code/kicad/issues/4724
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
jean-pierre charras
8621a1cf3a
Fix a wxWidgets alert (on wxWidgets 3.1.3)
6 years ago
Konstantin Baranovskiy
e57c13c2bd
Grid Control: Cells selecting fix.
If *editable* cells had been selected by holding and dragging the mouse's left
button, the previous selection were not clearing.
6 years ago
Jeff Young
a33d67f6b4
Push shift/cmd+<enter> processing down into dialog shim.
This will make them more uniform rather than only supported when
something else is using <enter>.
Fixes: lp:1838353
* https://bugs.launchpad.net/kicad/+bug/1838353
6 years ago