Jeff Young
24c234fd93
Don't attempt to rename field more than once.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18330
(cherry picked from commit e9d376c912 )
1 year ago
Mike Williams
8705bea9ab
Symbol Fields Table: better handle variable fields with attributes
Attributes need to be checked first since we do some internally hackery
to make the checkboxes work.
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/18005
2 years ago
Jeff Young
a836a66170
Update labels when editing field names.
This is yet another path for getting duplciate fields
when changing the case of an existing field name.
2 years ago
Jeff Young
8b56b3d999
Formatting.
2 years ago
Mike Williams
382fe3de09
Symbol Fields Table: fix regroup button using schematic values
Should use the datastore where possible since users are using this to
regroup before applying the data.
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/16574
2 years ago
Wayne Stambaugh
04d15026c5
Rename SCH_SYMBOL::GetInstanceReferences() to GetInstances().
2 years ago
Wayne Stambaugh
6183a1e4de
Coverity warning fixes.
2 years ago
Wayne Stambaugh
5d6ef69726
Coding policy and Doxygen comment fixes.
2 years ago
Jeff Young
9f5e583ced
Readability.
2 years ago
Jon Evans
017dafc8e3
Just use \n for newline
Fixes issues with extra blank lines in CSV on some platforms
2 years ago
Mike Williams
6425c5cc1a
Symbol Fields Table: fix issues with selecting row of starting selection
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/15684
2 years ago
Mike Williams
e1d5089c74
Symbol Fields Table: handle recursive sheet add/delete/update
2 years ago
Mike Williams
dc103b88d1
Symbol Fields Table: make non-modal
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/2141
2 years ago
Mike Williams
1c52a60270
Symbol Fields Table: API cleanups for non-modal window
2 years ago
Mike Williams
bdecdce1b4
Exclude from Sim: move from field to attribute
2 years ago
Mike Williams
fe32492252
Symbol Fields Table: scope control for limited view of symbols
2 years ago
Mike Williams
37fdcce0a0
Fields Editor Table: add checkboxes for fields representing attributes
DNP, Exclude from ..., etc.
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/15300
2 years ago
Mike Williams
25e391719e
Fields Table: convert special strings like Quantity to named variables
Before, we did not actually prevent users from adding a field also named
Quantity to their symbols. This of course does not play nicely with the
assumptions that Quantity is a special column in the fields editor.
By making it a named variable, the user can safely add it to a symbol
and it will not be editable, and will also work in the fields table
editor as expected.
2 years ago
Mike Williams
cfa0d4bfb7
Symbol Fields Table: handle missing fields better
Treat missing ones as empty, unless they are a named variable field and
then resolve the field.
2 years ago
Mike Williams
e26dcbece4
Symbol Fields Table: add item number support
2 years ago
Jon Evans
d4b7144448
Properties: expose symbol attributes
Flip polarity of exclude-from-BOM and -board for symbols
to match that of footprints and match the GUI display.
2 years ago
Mike Williams
f9d4b75726
Symbol Fields Table: performance optimizations
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/14972
2 years ago
Mike Williams
9f62e88477
Symbol Fields Table / BOM Export: handle variable resolution
3 years ago
Jeff Young
c4668c1d3a
Don't store resolved values in symbol fields table editor dataStore.
We're going to use the dataStore to update the symbol, so
if we store resolved values it will nuke any text variables
even if the field wasn't edited.
Not sure if the BOM generator has a separate resolve-variables
step or not. But it will need one as the code removed here
only worked for Values and Footprint fields anyway.
Fixes https://gitlab.com/kicad/code/kicad/issues/14423
3 years ago
Mike Williams
247c2edbed
Symbol Fields Table: various bug and coverity fixes
3 years ago
Mike Williams
68353e99d1
Symbol Fields Table: more MSVC fixes
3 years ago
Mike Williams
310d26620e
Symbol Fields Table: more MSVC build fixes
3 years ago
Mike Williams
b7b7dc6558
Symbol Fields Table: general settings saving cleanup
3 years ago
Mike Williams
9c3d93eb34
BOM Generator: wire up forced exclusion, optional DNP exclusion
3 years ago
Mike Williams
c5cc313da9
Symbol Fields Table: BOM presets saved in JSON settings
3 years ago
Mike Williams
753ae21fd4
BOM Generator: wire up to kicad-cli
3 years ago
Mike Williams
8433f94886
Symbol Fields: move more strings to template field names usage
3 years ago
Mike Williams
6a726709b5
Symbol Fields Table: wire up BOM format presets
3 years ago
Mike Williams
bb7d55e5a4
Symbol Fields Table: fix Qty column
Really need to refactor these strings out of everything...
3 years ago
Mike Williams
b59fd76c15
Symbol Fields Table: export formatting options started
Also move export into the data model and out of the dialog so we can
eventually do this without a GUI.
3 years ago
Mike Williams
97eed8c8a2
Fields Data Model: pull more UI controls interaction out of class
3 years ago
Mike Williams
cccd708860
Symbol Fields Table: move data model into its own file
3 years ago