Jon Evans
e7b6573717
wxWidgets 3.3 compatibility: properties API
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
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
Jon Evans
59495971ee
Properties: fixes to color swatches
2 years ago
Jon Evans
3487124a4a
Properties: Improve color picker UX
3 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
Jon Evans
f7d59f2e89
Enable properties panel in footprint editor
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
1590e48ec1
Use translated strings for property display
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
2091aaba2f
Properties: Move angles to UNIT_BINDER
Also add support for unicode degree sign in evaluator
3 years ago
Alex
55a3946af8
Properties: Use a constant variable for PG_UNIT_EDITOR editor name.
3 years ago
Jon Evans
611c19016f
Properties: add support for string escaping
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12975
3 years ago
Jon Evans
220ef6fb44
Properties: Add some missing footprint properties; cleanup
Add concept of "internal" properties that will be accessible from
Python/DRC but not shown in the Properties Manager
3 years ago
Jon Evans
436129cb75
Use correct format specifier when displaying inches
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12925
3 years ago
Wayne Stambaugh
8ad35604b4
Fix build error with wxWidgets 3.0.
3 years ago
Jeff Young
3af4e889b9
Unobfuscate wxAnyToVariant registration and remove global var hack.
Note that I don't have any data that the global var hack was causing
the bug, so this may or may not fix it. But it seems as good a candidate
as any.
Fixes https://gitlab.com/kicad/code/kicad/issues/12871
3 years ago
Jeff Young
095f02e6ef
Fix encoding issues in Simulation Model dialog's property grid.
3 years ago
Jon Evans
68de92313e
Properties: move to custom editor for distances; refactoring
Also fix display of angle values since EDA_ANGLE was introduced
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12290
3 years ago
Jon Evans
a5d685ff5c
Handle coordinate transforms in properties system
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12320
3 years ago
Jeff Young
054649fa38
Formatting.
3 years ago
Marek Roszko
f26a6f76e4
IUToMils should return int
It was already truncating even in old code...lets just clean this up
3 years ago
Marek Roszko
3d5913c825
Remove convert_to_biu.h, merge contents to base_units.h
3 years ago
Marek Roszko
0f2411587e
Remove Millimeter2iu
3 years ago
Marek Roszko
7a5829f8d6
Move IU2Mils
3 years ago
Marek Roszko
61e11d6896
Strip out Mils2Iu
3 years ago
Marek Roszko
a8613ee80f
Combine Iu2Millimeter & remove PcbMm2iu
3 years ago
Seth Hillbrand
c491cd01c5
Silence property warnings
3 years ago
jean-pierre charras
a306246558
Fix a few (minor) compil and Coverity warnings.
3 years ago
Jon Evans
284917b999
Fix assertion when rendering layer editor
3 years ago
Roberto Fernandez Bautista
7208ceb5f1
Handle mils in property panel
4 years ago
Roberto Fernandez Bautista
f5a75a4001
Minor nullptr fixes
4 years ago
Jon Evans
f5597238fb
Properties: add color swatch to layer enum
4 years ago
Jon Evans
239fd29da4
Use checkbox mode for boolean props
4 years ago
Maciej Suminski
af71d42307
Renamed PROPERTY_TYPE enum names to avoid a conflict on MSYS2
6 years ago
Maciej Suminski
f6f6ebd5f9
WIP: Properties GUI
6 years ago