Jon Evans
e7b6573717
wxWidgets 3.3 compatibility: properties API
2 years ago
Jeff Young
7c77266f12
Move name ellipisizing from middle to end.
Our names tend to have more boiler-plate stuff at the
end (excluding things like "Position X" and "Position Y",
but they're usually pretty short when compared to
"Solderpaste Margin Ratio Override" or
"Exempt from Courtyard Requirement").
2 years ago
Jeff Young
aef6b2a66e
nullptr safety and a bit of wxT'ing.
2 years ago
Jeff Young
e62b4f8ff4
Add nullable int and double to property system.
2 years ago
Jeff Young
e98d1c968e
Don't truncate mils properties in Property Inspector.
In fact, don't open-code yet another value-to-string impl.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16883
2 years ago
Jeff Young
77c19fa99a
Fill in missing zone properties.
Also fixes some bugs with hatch properties being available
on rule areas.
2 years ago
Jeff Young
8251fca66a
performance efficiencies
2 years ago
Jeff Young
1df84f4d92
Move some PCB_GENERATOR special-cases to propMgr listeners.
2 years ago
Jon Evans
9c1a160fcd
Add system for property change notifications
Use this to sync symbol field edits that are
synced by the dialog
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15697
2 years ago
Jeff Young
7e46e85c7d
Update copyrights.
2 years ago
Jeff Young
9ef05fb762
Don't store document values in global PROPERTY_MANAGER.
At best it leads to the wrong units being used if they're different
between (for instance) PCB Editor and Footprint Editor. (And this
will only get worse if we ever to to a single binary.)
At worst it causes crashes when accessing freed ORIGIN_TRANSFORMS.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16062
2 years ago
jean-pierre charras
4d593aa21e
PG_CELL_RENDERER, PGPROPERTY_COLOR4D: clear DC before drawing the color swatch.
Otherwise the previous background can be displayed on the not redrawn area.
Fixes #15955
https://gitlab.com/kicad/code/kicad/-/issues/15955
2 years ago
Alex Shvartzkop
e6d6a06480
Fixes for wx 3.3 in pg_editors.cpp
2 years ago
Seth Hillbrand
db8e15ce88
Require wxWidgets 3.2
Removes old defines and work arounds for earlier wx versions and adds a
CMake requirement to use at least 3.2 (or the minimum matching wxPython
version)
2 years ago
Jon Evans
4e3fd816cb
Properties: rework color editor
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15145
2 years ago
Mike Williams
500779fc80
Properties: add ability to override writeable attribute
2 years ago
Jon Evans
8fcd58038b
Properties: fix click not working multiple times on a color
2 years ago
Jon Evans
59495971ee
Properties: fixes to color swatches
2 years ago
Jon Evans
3487124a4a
Properties: Improve color picker UX
2 years ago
Jon Evans
c7f6b20405
Properties: Use color picker dialog
3 years ago
Jon Evans
a2ff3bce7d
Properties: custom rendering for COLOR4D
3 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
3 years ago
Alex
f7f15e1ddf
Prevent axes settings from affecting angles in properties panel.
Fixes https://gitlab.com/kicad/code/kicad/issues/14168
3 years ago
Jon Evans
f7d59f2e89
Enable properties panel in footprint editor
3 years ago
Jon Evans
eb240fda9a
Properties: introduce validators; re-enable zone hatch settings
3 years ago
Jon Evans
254168c788
Properties: introduce method chaining for initialization
3 years ago
Jeff Young
bf8762c57c
Streamline color lookup (and a bit of wxS).
3 years ago
Jon Evans
09cb222252
Change indeterminate checkbox behavior to be more intuitive
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13604
3 years ago
Jon Evans
fbaf4af489
Properties: Allow dynamic update of read-only state
3 years ago
Jon Evans
4a0588db7a
Properties: translation fixes
3 years ago
Jon Evans
b16e4595d3
Properties: fix group display ordering
3 years ago
Jon Evans
1590e48ec1
Use translated strings for property display
3 years ago
Roberto Fernandez Bautista
e3b8475a3d
Special case unspecified property value (i.e. <...>)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13200
3 years ago
Jon Evans
13925074cb
Remove assert on ReplaceProperty
We can't guarantee initialization order for these, so it results in false warnings
3 years ago
Jon Evans
435651237c
Properties: Support overridden availability functions
3 years ago
Jon Evans
071a2ec46d
Properties: clean up some unit handling
Make sure units show up properly in editor on focus kill
Make sure editor shows correct value initially
3 years ago
Jon Evans
c326c57e05
Properties: make sure to reset binder units when changing rows
3 years ago
Seth Hillbrand
6f43915b25
Don't keep a stale iu reference around
The IU memory areas are const but we need to be able to update this when
the frame changes, so use pointers instead
3 years ago
Jon Evans
a8cb0ee116
Properties: Use insertion order as display order
3 years ago
Jon Evans
6e1f075daa
Remove debug code
3 years ago
Jon Evans
4134db3c47
GCC fixes
3 years ago
Jon Evans
3cf3d15590
Properties: fix display ordering
3 years ago
Jon Evans
2091aaba2f
Properties: Move angles to UNIT_BINDER
Also add support for unicode degree sign in evaluator
3 years ago
Jon Evans
5e352d2a66
Properties: improve handling of unit binders
3 years ago
Jon Evans
9b2f1ad0b1
Properties: show base class groups
3 years ago
Jon Evans
ef3f2a8f1e
Properties: ignore shape props for textbox
3 years ago
Alex
55a3946af8
Properties: Use a constant variable for PG_UNIT_EDITOR editor name.
3 years ago
Jon Evans
cfd52d8362
Properties: Fix sort order for base class props
3 years ago
Seth Hillbrand
5fc5a2132b
Fix Properties panel to reference the correct frame
The properties editors are global but the frame that they reference is
not static, so we need to be able to update the frame reference when
restarting pcb editor from the main window. This updates the frame,
being careful to remove the signalling when closing pcbnew but keeping
the instance of the editor in place.
Fixes https://gitlab.com/kicad/code/kicad/issues/12297
3 years ago
Jon Evans
b2b3f5752f
Properties: Add grouping and sorting by creation order
3 years ago