Jeff Young
f2c6f25967
Add colors-overridden warning to Symbol Editor's shape properties dialog.
(Note: could be cherry-picked as the strings are all from the
schematic editor.)
2 years ago
Seth Hillbrand
3207d1386e
Avoid forcing all units
When the enduser is not allowed to change the status of "common to all
units", then it should be disabled
Fixes https://gitlab.com/kicad/code/kicad/issues/14084
3 years ago
Ian McInerney
b363e0f300
Simplify lib shape properties dialog code
Since 34e706bcbc it is assumed that the
shape passed in exists, so testing for a null pointer is pointless
(it will always be non-null). Also hardcode the assumption the shape is
non-null in the constructor using an assert.
3 years ago
Ian McInerney
d9846a006a
Get lib shape fill color from settings if not specified by shape
3 years ago
Marek Roszko
61e11d6896
Strip out Mils2Iu
3 years ago
Jeff Young
34e706bcbc
Border colours and line styles for symbol editor.
Fixes https://gitlab.com/kicad/code/kicad/issues/11810
4 years ago
Jeff Young
2681ad6cfc
Don't rely on HasConversion() for Symbol Properties in Symbol Editor.
Fixes https://gitlab.com/kicad/code/kicad/issues/11200
4 years ago
Jeff Young
79c7d55a40
Add a checkbox for LIB_SHAPE borders. (We already have them for LIB_TEXTBOXes.)
Fixes https://gitlab.com/kicad/code/kicad/issues/10365
4 years ago
Jeff Young
c6a8100d46
Schematic and symbol text boxes.
Also fixes some plot bugs with arcs.
Also moves polygonization of arcs (when required) in plotting code
from 5 degrees to calculated based on ARC_HIGH_DEF.
Fixes https://gitlab.com/kicad/code/kicad/issues/5017
4 years ago
Jeff Young
03a2723b67
Improve GUI of lib item colors.
4 years ago
Jonathan Haas
e2fc105201
Add custom fill color selection to shape properties dialog
4 years ago
Jeff Young
c3552a940a
Make sure standard OK/Cancel buttons respond to current language.
Fixes https://gitlab.com/kicad/code/kicad/issues/9635
4 years ago
Jeff Young
4cf3f44532
More consistency with hint messages.
4 years ago
Jeff Young
2bc86fa0a8
Shapes for schematic.
ADDED arc, circle and rectangle shapes for schematic. Shapes support
line styles and fill colors.
CHANGED sheet background color in Edit Text & Graphics Properties to
fill color (and it now affects shapes).
Pushed STROKE_PARAMS down into common and moved all shapes to using it
for stroke descriptions.
4 years ago
Jeff Young
78be5df39a
Don't allow negative line widths to shrink bounding box.
Fixes https://gitlab.com/kicad/code/kicad/issues/9776
4 years ago
Seth Hillbrand
64bcaaefd1
Fix radiobox order for FILL_T
Fixes https://gitlab.com/kicad/code/kicad/issues/9412
4 years ago
Jeff Young
b52529521e
Replace individual LIB_* shapes with LIB_SHAPE (based on EDA_SHAPE).
Also moves to more capable FILL_T model that can be shared.
4 years ago
Jeff Young
6eb59b9d9e
Dialog naming conventions.
4 years ago
Jeff Young
5bd30232e8
Remove nag preventing setting shape to default line width.
Fixes https://gitlab.com/kicad/code/kicad/issues/8774
4 years ago
Wayne Stambaugh
71c183d7bb
Rename LIB_PART to LIB_SYMBOL.
5 years ago
Mikolaj Wielgus
ee4bc8b1d0
Fix default line width for symbol editor graphic items, add validation
There was a mils to iu conversion missing for line width (the default
values are in mils).
Fixes https://gitlab.com/kicad/code/kicad/issues/7813
5 years ago
Jeff Young
a0b9b0c3ee
Improve IsSymbolEditable to differentiate fields.
Fields are editable in Aliases, but still not in Legacy libraries,
locked libraries, etc.
Fixes https://gitlab.com/kicad/code/kicad/issues/7175
5 years ago
Jeff Young
ff7742c6b8
File naming and include cleanup.
5 years ago
Wayne Stambaugh
e34756d596
Symbol editor: fix read only dialogs when symbol is from schematic.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/6968
5 years ago
Jeff Young
fb7ac450d9
Read-only dialogs for symbols in legacy libraries.
Fixes https://gitlab.com/kicad/code/kicad/issues/5211
5 years ago
Jeff Young
a207bd97bb
Naming conventions.
5 years ago
Jeff Young
bddc97df30
LibEdit -> SymbolEditor
5 years ago
Marek Roszko
1538d737e7
Split out FILL_T to its own header to avoid spreading eda_item everywhere
5 years ago
Jeff Young
b4c8657904
Fix non-visible-part or conversion items from getting selected.
Also renames lib_draw_item to lib_item to match the class.
Fixes: lp:1840170
* https://bugs.launchpad.net/kicad/+bug/1840170
6 years ago
Jeff Young
f87d371b8b
Move to shared COLLECTORS for sch and lib.
7 years ago
Jeff Young
ff6a3482ec
Remove on-kill-focus-validation.
Fixes: lp:1805361
* https://bugs.launchpad.net/kicad/+bug/1805361
7 years ago
jean-pierre charras
1116acd74b
Libedit: Fix broken handling of "common to all bodu style" property of lib draw items.
Fix a minor wxWidgets assert.
7 years ago
Jeff Young
5f3ee1e7ce
More g_UserUnit erradication.
(cherry picked from commit 3f08780)
8 years ago
Diogo Condeco
75ffcbcef5
MACOS Setfocus and CancelButtonIssue moved into dialog_shim.
Setfocus now works on macos dialogs by setting DLGSHIM_USE_SETFOCUS.
This option is only enabled __WXMAC__ is defined.
FixOSXCancelButtonIssue() is now called inside DIALOG_SHIM::SHOW.
All other calls from within the dialogs were removed.
9 years ago
jean-pierre charras
3cea754d90
Eeschema: dlg size fixes and osx fixes
10 years ago
Dick Hollenbeck
b8a0ab4c52
switch to <> for includes from "" per conversation with Jean-Pierre and Wayne, adjust search paths
14 years ago
Wayne Stambaugh
e3b4eeb160
More EESchema dialog file housekeeping
15 years ago
Yury Khalyavin
0191ee9a6e
Set focus in library edit item dialog so escape key closes dialog in wxGTK.
16 years ago
stambaughw
53870013e7
Replace component library editor draw item dialog box.
* Created new component library editor draw item dialog box with
wxFormBuilder.
* Removed previous DialogBlocks version of the draw item dialog box.
* Removed some additional global variables used in component library
editor.
* Add IsFillable() method to draw item base object.
16 years ago