jean-pierre charras
11cc86e586
Hotkey handling: disable usage of keyboard modifier flag wxMOD_ALTGR.
...
The flag wxMOD_ALTGR is defined in wxWidgets as wxMOD_CONTROL|wxMOD_ALT
So AltGr key cannot used as modifier key because it is the same as
Alt key + Ctrl key that is already handled.
So the previous code did not work with modifiers Alt key, Ctrl key and Altgr key
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21696
2025-09-10 18:10:43 +02:00
Seth Hillbrand
a1f816e8be
Add additional modifies to hotkeys
...
Allows (depending on system) AltGr, Meta, Win, Super in combination with
other keys
Fixes https://gitlab.com/kicad/code/kicad/issues/1908
2025-09-09 13:30:01 -07:00
Mark Roszko
0f97f51ba1
Fix unit binder dropdown not working on windows
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20626
2025-09-08 06:36:20 -04:00
Seth Hillbrand
bae5d43c45
Sadly, msys2 doesn't like condition variables
2025-09-04 13:58:38 -07:00
Seth Hillbrand
2cbd441042
Simplify font locking
2025-09-04 10:55:38 -07:00
Mark Roszko
a49e3b9cc5
Fix build
2025-09-03 22:59:21 -04:00
Seth Hillbrand
11c5e03890
Update Font widget
...
Now displays the font next to its name
Also keeps a static version of itself for rapid display
2025-09-03 15:48:15 -07:00
jean-pierre charras
60a5c8b742
WX_INFOBAR: Better calculation of the minimal height.
...
The height was sometimes to big (case of multi-line text or small initial
size of the parent frame).
The height is now calculated from the height of one line of text, even for
multi-line text.
2025-09-02 07:50:50 +02:00
Seth Hillbrand
9cba910d53
ADDED: Library Table Editor
...
Edits all symbols in a library at once. Supports copy/paste, multiple
field assignment and selective coloration based on existing data
Fixes https://gitlab.com/kicad/code/kicad/-/issues/11506
2025-09-01 21:47:14 -07:00
Jeff Young
1f44417ad0
Attempt to improve ever-growing-window problems.
2025-09-01 11:45:20 +01:00
Seth Hillbrand
ec7b831be3
ADDED: Search feature for html message box
...
Allow search for text in e.g. the custom rules examples
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21550
2025-08-29 10:29:11 -07:00
Seth Hillbrand
29c4d9b197
Add width/height adjustment to reference image
...
Allows setting specific width or height on a reference image instead of
just scale
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18567
2025-08-26 11:22:32 -07:00
Seth Hillbrand
dad60f99c0
More GDI conservation
2025-08-26 06:04:30 -07:00
Seth Hillbrand
6dd03bc735
Fix screen scaling
...
We don't use wxWidget DPI (which is the screen DPI) for our on-screen
display. Instead, we use 91 (?!?). Make this configurable in advanced
config and use the set value in our scaling widget
2025-08-25 18:03:46 -07:00
Seth Hillbrand
bfe805a221
Add user-controlled scaling factor
...
Lets the user decide what 100% zoom is for their system based on a
slider.
This is inspired by Inkscape's custom scaling widget
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19256
2025-08-25 14:37:07 -07:00
Jeff Young
8c3026cf1a
Naming conventions.
2025-08-25 12:13:38 +01:00
Seth Hillbrand
613db94679
Misspelled class/wrong fn
...
Should be fixed.
2025-08-24 21:45:55 -07:00
Seth Hillbrand
04dab54825
Fix dark mode filter combobox
...
MSW doesn't have a default dark color for the listbox but it does for
window color so temporarily we can use this for windows when in dark
mode
Fixes https://gitlab.com/kicad/code/kicad/issues/21386
2025-08-24 20:18:16 -07:00
Seth Hillbrand
e346139301
Add more parent safety checks
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21317
2025-08-23 14:14:05 -07:00
Seth Hillbrand
26f0c03e61
ADDED: support for 45 degree crosshairs
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/6047
2025-08-23 06:20:00 -07:00
Seth Hillbrand
09cdca876c
Add embed option to standard file dialog for 3dmodels
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20025
2025-08-20 08:28:00 -07:00
Jeff Young
5fa635602b
Fix accidentally-deleted functionality.
2025-08-19 18:33:18 +01:00
Seth Hillbrand
ddae938aa4
Allow grouping tuning pattern with tracks
...
Any object that shares a name should be able to be handled in a group
2025-08-15 10:54:23 -07:00
Jeff Young
33c73d7db4
Fix crashes when settings manager doesn't exist yet.
2025-08-14 11:33:25 +01:00
Jeff Young
661be06168
Use TransferDataToWindow() to init controls.
2025-08-09 21:52:08 +01:00
Jeff Young
a45f8bc2f7
Don't store m_severities. It won't follow save control state.
2025-08-09 19:11:27 +01:00
Jeff Young
4819487ea2
Save/restore state of UNIT_BINDER and other textboxes.
2025-08-08 13:54:27 +01:00
Seth Hillbrand
416e54f0d5
Update template selector to modern webview
...
Allow more attractive templates. Start of building singular
template+new project layout
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15987
2025-08-04 22:20:54 -07:00
Seth Hillbrand
4aa2047f45
Replace alg::delete and alg::delete_if with std c++20
2025-08-04 09:03:16 -07:00
Jeff Young
95da436ddd
Focus second column control after property grid navigation.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20651
2025-08-03 23:17:09 +01:00
Jeff Young
34e075e112
Rework libtree SearchTerms to honour shownColumns.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21419
2025-08-03 20:32:19 +01:00
Seth Hillbrand
558627289b
Add WebView widget for future use
...
This is mostly for testing Thunderdome but we will be using this for
future template rendering as well
2025-08-03 12:28:43 -07:00
Jeff Young
25ad1f051e
Attempt to fix non-Clang builds.
2025-08-02 22:56:52 +01:00
Jeff Young
5accdc2d94
Move search handlers to std::shared_ptr.
2025-08-02 22:04:53 +01:00
Jeff Young
8c85cd43f3
Copy c'tor / operator= safety.
...
Also fixes a memory leak of search pane handlers.
2025-08-02 22:04:53 +01:00
Jeff Young
6ac5ca7fc4
Don't clip table borders.
2025-07-31 13:45:55 +01:00
Jeff Young
875fcffdf9
Mac has no fallback graphics.
2025-07-28 19:38:39 +01:00
Seth Hillbrand
ff9d2e616b
Missed one more Mac-specific change
2025-07-28 09:50:22 -07:00
Seth Hillbrand
66f37beff7
Move canvas selection to common
...
Makes all canvases obey the same rendering parameter. Also keeps the
canvas selection with the anti-alias selection, which makes logical
sense. Reduce the antialias selection to a single choice rather than
two different choices for different canvases
2025-07-27 20:22:59 -07:00
Jeff Young
1b8119056f
More code sharing.
2025-07-26 21:24:37 +01:00
Jeff Young
2dfacd648f
Share more code.
2025-07-25 18:03:49 +01:00
Seth Hillbrand
322c08d5f0
Pass hotkeys from search pane to frame
...
If the search pane doesn't handle the key, push it through the frame
hotkey handling system
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12474
2025-07-24 13:14:31 -07:00
Seth Hillbrand
f14ba983d6
Allow scrolling by keyboard in search panel
...
Lets you quickly scroll through elements in the board, zooming and
selecting each
2025-07-24 11:47:17 -07:00
Jeff Young
14c9ed1fda
Prevent stale selection when deleting grid rows.
2025-07-24 18:16:21 +01:00
Jeff Young
ec155c00f3
Comboboxes for units and body styles.
...
Also for pin-types in pad properties.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19904
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19905
2025-07-23 14:35:37 +01:00
Jeff Young
55a36c1ce7
CHANGED: retire the select-lib-table dialogs.
...
We now allow the user to specify which in the
New Library dialog.
Also retires the "Export power symbols too" dialog.
Also gives a bunch of file and library dialogs
more explicit titles.
Also removes separate code-paths for Export to
Library and Export to New Library. The regular
code path has a "New Library..." button now.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16323
2025-07-20 19:06:40 +01:00
Seth Hillbrand
9cb3a37b6f
Prevent command line applications handling dark mode
...
Double-check before getting background color from invalid m_parent also
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21317
2025-07-15 08:56:51 -07:00
Jeff Young
f0c3f469a1
Quiet wxWidgets assert (KICAD-HRE).
2025-07-13 15:25:10 +01:00
Jeff Young
2d2ba268ae
Quiet wxWidgets assert (KICAD-XJ2).
2025-07-13 15:25:10 +01:00
Jeff Young
5b91a24380
Retire WINDOW_FREEZER in favour of wxWindowUpdateLocker.
...
Also pulls out previous fix to a Sentry issue I can
no longer find, at least until I figure out what
went wrong.
2025-07-11 13:21:04 +01:00