|
KiCad PCB EDA Suite
|
#include <pcb_properties_panel.h>
Public Member Functions | |
| PCB_PROPERTIES_PANEL (wxWindow *aParent, PCB_BASE_EDIT_FRAME *aFrame) | |
| virtual | ~PCB_PROPERTIES_PANEL () |
| void | UpdateData () override |
| void | AfterCommit () override |
| PCB_BASE_EDIT_FRAME * | GetFrame () const |
| wxPropertyGrid * | GetPropertyGrid () |
| int | PropertiesCount () const |
| const std::vector< PROPERTY_BASE * > & | Properties () const |
| void | RecalculateSplitterPos () |
| void | SetSplitterProportion (float aProportion) |
| float | SplitterProportion () const |
Public Attributes | |
| int | m_SuppressGridChangeEvents |
Protected Member Functions | |
| void | rebuildProperties (const SELECTION &aSelection) override |
| Generates the property grid for a given selection of items. | |
| wxPGProperty * | createPGProperty (const PROPERTY_BASE *aProperty) const override |
| bool | getItemValue (EDA_ITEM *aItem, PROPERTY_BASE *aProperty, wxVariant &aValue) override |
| Utility to fetch a property value and convert to wxVariant Precondition: aItem is known to have property aProperty. | |
| PROPERTY_BASE * | getPropertyFromEvent (const wxPropertyGridEvent &aEvent) const |
| void | valueChanging (wxPropertyGridEvent &aEvent) override |
| void | valueChanged (wxPropertyGridEvent &aEvent) override |
| bool | isKeyEditable (const wxPGProperty *aPGProp) const override |
| bool | isKeyNameInUse (const wxString &aName) const override |
| void | onKeyRenamed (const wxString &aOldName, const wxString &aNewName) override |
| bool | buildContextMenu (wxMenu &aMenu, wxPGProperty *aPGProp) override |
| void | onNewItemLeftBlank (const wxString &aKey) override |
| void | addBlankField () |
| void | addBlankCustomProperty () |
| void | removeField (const wxString &aName) |
| void | removeCustomProperty (const wxString &aName) |
| void | onContextMenu (wxCommandEvent &aEvent) |
| void | applyConfirmedScale (const wxString &aPropName, const wxVariant &aValue) |
| Regenerates caches storing layer and net names. | |
| void | updateLists (const BOARD *aBoard) |
| const SELECTION & | getSelection (SELECTION &aFallbackSelection) |
| Get the current selection from the selection tool. | |
| EDA_ITEM * | getFrontItem () |
| Get the front item of the current selection. | |
| void | onCharHook (wxKeyEvent &aEvent) |
| void | onShow (wxShowEvent &aEvent) |
| virtual void | OnLanguageChanged (wxCommandEvent &aEvent) |
| virtual void | onLabelEditBegin (wxPropertyGridEvent &aEvent) |
| virtual void | onLabelEditEnding (wxPropertyGridEvent &aEvent) |
| void | onRightClick (wxPropertyGridEvent &aEvent) |
| void | beginLabelEdit (const wxString &aKey, bool aStartBlank=false) |
| void | settlePendingLabelEdit () |
| Synchronously ends any in-progress label edit; potentially canceling a newly added row. | |
| bool | extractValueAndWritability (const SELECTION &aSelection, const wxString &aPropName, wxVariant &aValue, bool &aWritable, wxPGChoices &aChoices) |
| Processes a selection and determines whether the given property should be available or not and what the common value should be for the items in the selection. | |
| void | addCategoryButton (const wxString &aGroupKey, const wxString &aTooltip, BITMAPS aBitmap, std::function< void()> aAction, std::function< bool()> aEnableFunc=nullptr, bool aForceCategory=false) |
| Registers an overlay button on a category caption row. | |
| void | updateCategoryButtons () |
| Updates overlay button visibility/positions; called after rebuilds and on scroll. | |
| void | hideCategoryButtons () |
| Hides all overlay buttons (used when no selection or a rebuild is deferred). | |
| void | positionCategoryButtons () |
| Find the caption row for the given untranslated group name, if present. | |
| wxPGProperty * | categoryForGroup (const wxString &aGroupKey) const |
Static Protected Member Functions | |
| static SELECTION | filterOutReadOnlyGenChildren (const SELECTION &aSelection) |
| Creates a new selection with any generator children removed that are part of a read only generator. | |
Protected Attributes | |
| PCB_BASE_EDIT_FRAME * | m_frame |
| PROPERTY_MANAGER & | m_propMgr |
| PG_UNIT_EDITOR * | m_unitEditorInstance |
| PG_CHECKBOX_EDITOR * | m_checkboxEditorInstance |
| PG_RATIO_EDITOR * | m_ratioEditorInstance |
| PG_NET_SELECTOR_EDITOR * | m_netSelectorEditorInstance |
| PG_TRACK_WIDTH_EDITOR * | m_trackWidthEditorInstance |
| PG_FPID_EDITOR * | m_fpEditorInstance |
| PG_URL_EDITOR * | m_urlEditorInstance |
| wxPGChoices | m_nets |
| bool | m_scaleConfirmPending |
| wxStaticText * | m_caption |
| std::vector< PROPERTY_BASE * > | m_displayed |
| wxPropertyGrid * | m_grid |
| float | m_splitter_key_proportion |
| Proportion of the grid column splitter that is used for the key column (0.0 - 1.0) | |
| wxString | m_editingOriginalLabel |
| wxString | m_contextMenuPropertyName |
| std::vector< CATEGORY_BUTTON > | m_categoryButtons |
| bool | m_resolvingPendingKey = false |
| True while settling a pending label edit synchronously (see settlePendingLabelEdit). | |
| wxString | m_pendingNewKey |
| Key of a freshly-added blank field/custom property awaiting a name from the user. | |
Definition at line 41 of file pcb_properties_panel.h.
| PCB_PROPERTIES_PANEL::PCB_PROPERTIES_PANEL | ( | wxWindow * | aParent, |
| PCB_BASE_EDIT_FRAME * | aFrame ) |
Definition at line 354 of file pcb_properties_panel.cpp.
References _, _HKI, addBlankCustomProperty(), addBlankField(), PROPERTIES_PANEL::addCategoryButton(), PG_FPID_EDITOR::BuildEditorName(), PG_TRACK_WIDTH_EDITOR::BuildEditorName(), PG_UNIT_EDITOR::BuildEditorName(), PG_URL_EDITOR::BuildEditorName(), PG_CHECKBOX_EDITOR::EDITOR_NAME, PG_NET_SELECTOR_EDITOR::EDITOR_NAME, PG_RATIO_EDITOR::EDITOR_NAME, ID_CTX_ADD_CUSTOM_PROPERTY, ID_CTX_ADD_FIELD, ID_CTX_REMOVE_CUSTOM_PROPERTY, ID_CTX_REMOVE_FIELD, m_checkboxEditorInstance, m_fpEditorInstance, m_frame, m_netSelectorEditorInstance, m_propMgr, m_ratioEditorInstance, m_scaleConfirmPending, m_trackWidthEditorInstance, m_unitEditorInstance, m_urlEditorInstance, onContextMenu(), PROPERTIES_PANEL::PROPERTIES_PANEL(), small_plus, and wxPGGlobalVars.
Referenced by getPropertyFromEvent(), isKeyEditable(), and isKeyNameInUse().
|
virtual |
Definition at line 481 of file pcb_properties_panel.cpp.
References m_fpEditorInstance, m_trackWidthEditorInstance, m_unitEditorInstance, and m_urlEditorInstance.
|
protected |
Definition at line 739 of file pcb_properties_panel.cpp.
References _, AfterCommit(), PROPERTIES_PANEL::beginLabelEdit(), dummy, SELECTION::Empty(), getSelection(), m_frame, PROPERTIES_PANEL::m_pendingNewKey, COMMIT::Modify(), name, NO_RECURSE, BOARD_COMMIT::Push(), and PROPERTIES_PANEL::settlePendingLabelEdit().
Referenced by onContextMenu(), and PCB_PROPERTIES_PANEL().
|
protected |
Definition at line 682 of file pcb_properties_panel.cpp.
References _, FOOTPRINT::Add(), AfterCommit(), PROPERTIES_PANEL::beginLabelEdit(), SELECTION::Empty(), getSelection(), GetUserFieldName(), FOOTPRINT::HasField(), m_frame, PROPERTIES_PANEL::m_pendingNewKey, COMMIT::Modify(), name, NO_RECURSE, PCB_FOOTPRINT_T, BOARD_COMMIT::Push(), EDA_TEXT::SetText(), PROPERTIES_PANEL::settlePendingLabelEdit(), EDA_TEXT::SetVisible(), UNTRANSLATED, and USER.
Referenced by onContextMenu(), and PCB_PROPERTIES_PANEL().
|
protectedinherited |
Registers an overlay button on a category caption row.
The button is shown when its category row is on-screen and selection-appropriate (the optional enable predicate is consulted; it is re-evaluated on every rebuild).
TODO it would be nice to remove this hack by getting upstream wxWidgets to support customizing/subclassing the property group widgets
| aGroupKey | is the untranslated group name (e.g. _HKI( "Fields" )). |
| aTooltip | is the tooltip text (translated by the caller). |
| aBitmap | is the icon shown on the button. |
| aAction | is invoked when the button is clicked. |
| aEnableFunc | optionally controls visibility (evaluated on each rebuild). |
| aForceCategory | optionally forces the category caption row to be emitted during rebuilds (only when aEnableFunc, if set, returns true). |
Definition at line 932 of file properties_panel.cpp.
References KiBitmapBundle(), m_categoryButtons, m_grid, and BITMAP_BUTTON::SetBitmap().
Referenced by PCB_PROPERTIES_PANEL::PCB_PROPERTIES_PANEL(), and SCH_PROPERTIES_PANEL::SCH_PROPERTIES_PANEL().
|
overridevirtual |
Reimplemented from PROPERTIES_PANEL.
Definition at line 543 of file pcb_properties_panel.cpp.
References getSelection(), m_frame, and rebuildProperties().
Referenced by addBlankCustomProperty(), addBlankField(), onKeyRenamed(), removeCustomProperty(), removeField(), and valueChanged().
|
protected |
Regenerates caches storing layer and net names.
Definition at line 1052 of file pcb_properties_panel.cpp.
References PROPERTIES_PANEL::m_grid, and valueChanged().
Referenced by valueChanging().
|
protectedinherited |
Definition at line 786 of file properties_panel.cpp.
References m_grid.
Referenced by PCB_PROPERTIES_PANEL::addBlankCustomProperty(), SCH_PROPERTIES_PANEL::addBlankCustomProperty(), PCB_PROPERTIES_PANEL::addBlankField(), and SCH_PROPERTIES_PANEL::addBlankField().
|
overrideprotectedvirtual |
Reimplemented from PROPERTIES_PANEL.
Definition at line 634 of file pcb_properties_panel.cpp.
References _, _HKI, PROPERTY_BASE::Group(), ID_CTX_ADD_CUSTOM_PROPERTY, ID_CTX_ADD_FIELD, ID_CTX_REMOVE_CUSTOM_PROPERTY, ID_CTX_REMOVE_FIELD, and isKeyEditable().
|
protectedinherited |
Definition at line 962 of file properties_panel.cpp.
References m_grid.
Referenced by positionCategoryButtons().
|
overrideprotectedvirtual |
Implements PROPERTIES_PANEL.
Definition at line 896 of file pcb_properties_panel.cpp.
References _HKI, PG_FPID_EDITOR::BuildEditorName(), PG_TRACK_WIDTH_EDITOR::BuildEditorName(), PG_URL_EDITOR::BuildEditorName(), PROPERTY_BASE::Choices(), DATASHEET, FOOTPRINT, GetDefaultFieldName(), PROPERTY_BASE::HasChoices(), m_frame, PROPERTY_BASE::Name(), PROPERTY_BASE::OwnerHash(), PGPropertyFactory(), ToLAYER_ID(), TYPE_HASH, PROPERTY_BASE::TypeHash(), and UNTRANSLATED.
|
protectedinherited |
Processes a selection and determines whether the given property should be available or not and what the common value should be for the items in the selection.
| aSelection | is a set of EDA_ITEMs to process |
| aProperty | is the property to look up |
| aValue | will be filled with the value common to the selection, or null if different |
| aWritable | will be set to whether or not the property can be written for the selection |
Definition at line 557 of file properties_panel.cpp.
References PROPERTY_BASE::GetChoices(), getItemValue(), PROPERTY_MANAGER::GetProperty(), PROPERTY_MANAGER::Instance(), PROPERTY_MANAGER::IsAvailableFor(), PROPERTY_MANAGER::IsWriteableFor(), and TYPE_HASH.
Referenced by rebuildProperties().
|
staticprotected |
Creates a new selection with any generator children removed that are part of a read only generator.
| aSelection | the selection to filter |
Definition at line 860 of file pcb_properties_panel.cpp.
References SELECTION::Add(), EDA_GROUP::AsEdaItem(), PCB_GENERATOR::ChildrenAreReadOnly(), SELECTION::IsHover(), PCB_GENERATOR_T, SELECTION::SetIsHover(), and EDA_ITEM::Type().
Referenced by rebuildProperties(), and valueChanged().
|
inline |
Definition at line 52 of file pcb_properties_panel.h.
References m_frame.
|
protected |
Get the front item of the current selection.
If the selection is empty and we're in the footprint editor, returns the footprint instead.
Definition at line 516 of file pcb_properties_panel.cpp.
References SELECTION::Empty(), SELECTION::Front(), and getSelection().
Referenced by getPropertyFromEvent(), isKeyEditable(), isKeyNameInUse(), onNewItemLeftBlank(), and valueChanging().
|
overrideprotectedvirtual |
Utility to fetch a property value and convert to wxVariant Precondition: aItem is known to have property aProperty.
Reimplemented from PROPERTIES_PANEL.
Definition at line 1419 of file pcb_properties_panel.cpp.
References _HKI, BOARD_ITEM::GetBoard(), BOARD::GetCurrentVariant(), FOOTPRINT::GetDNPForVariant(), FOOTPRINT::GetExcludedFromBOMForVariant(), FOOTPRINT::GetExcludedFromPosFilesForVariant(), FOOTPRINT::GetExcludedFromSimForVariant(), PROPERTIES_PANEL::getItemValue(), PROPERTY_BASE::Name(), PCB_FOOTPRINT_T, and EDA_ITEM::Type().
|
protected |
Definition at line 945 of file pcb_properties_panel.cpp.
References getFrontItem(), KIGFX::VIEW_ITEM::IsBOARD_ITEM(), m_propMgr, and PCB_PROPERTIES_PANEL().
Referenced by valueChanged(), and valueChanging().
|
inlineinherited |
Definition at line 59 of file properties_panel.h.
References m_grid.
Get the current selection from the selection tool.
If the selection is empty and we're in the footprint editor, returns the footprint instead.
| aSelection | [out] reference to a SELECTION pointer that will be set to the selection |
| aFallbackSelection | [out] local SELECTION object for fallback footprint selection |
Definition at line 494 of file pcb_properties_panel.cpp.
References SELECTION::Add(), SELECTION::Clear(), FRAME_FOOTPRINT_EDITOR, PCB_SELECTION_TOOL::GetSelection(), and m_frame.
Referenced by addBlankCustomProperty(), addBlankField(), AfterCommit(), getFrontItem(), onKeyRenamed(), removeCustomProperty(), removeField(), UpdateData(), valueChanged(), and valueChanging().
|
protectedinherited |
Hides all overlay buttons (used when no selection or a rebuild is deferred).
Definition at line 982 of file properties_panel.cpp.
References m_categoryButtons.
Referenced by rebuildProperties().
|
overrideprotectedvirtual |
Reimplemented from PROPERTIES_PANEL.
Definition at line 555 of file pcb_properties_panel.cpp.
References _HKI, getFrontItem(), PROPERTY_BASE::Group(), PCB_FIELD::IsMandatory(), PCB_FIELD::IsPrivate(), PROPERTY_BASE::Name(), PCB_FOOTPRINT_T, PCB_PROPERTIES_PANEL(), and EDA_ITEM::Type().
Referenced by buildContextMenu().
|
overrideprotectedvirtual |
Reimplemented from PROPERTIES_PANEL.
Definition at line 579 of file pcb_properties_panel.cpp.
References getFrontItem(), m_propMgr, and PCB_PROPERTIES_PANEL().
|
protectedinherited |
Definition at line 808 of file properties_panel.cpp.
References m_grid.
Referenced by PROPERTIES_PANEL().
|
protected |
Definition at line 668 of file pcb_properties_panel.cpp.
References addBlankCustomProperty(), addBlankField(), ID_CTX_ADD_CUSTOM_PROPERTY, ID_CTX_ADD_FIELD, ID_CTX_REMOVE_CUSTOM_PROPERTY, ID_CTX_REMOVE_FIELD, PROPERTIES_PANEL::m_contextMenuPropertyName, removeCustomProperty(), and removeField().
Referenced by PCB_PROPERTIES_PANEL().
|
overrideprotectedvirtual |
Reimplemented from PROPERTIES_PANEL.
Definition at line 590 of file pcb_properties_panel.cpp.
References _, AfterCommit(), EDA_ITEM::GetCustomProperty(), FOOTPRINT::GetField(), getSelection(), PCB_FIELD::IsMandatory(), m_frame, COMMIT::Modify(), NO_RECURSE, PCB_FOOTPRINT_T, BOARD_COMMIT::Push(), EDA_ITEM::RemoveCustomProperty(), EDA_ITEM::SetCustomProperty(), PCB_FIELD::SetName(), and EDA_ITEM::Type().
|
protectedvirtualinherited |
Definition at line 637 of file properties_panel.cpp.
References isKeyEditable(), and m_editingOriginalLabel.
Referenced by PROPERTIES_PANEL().
|
protectedvirtualinherited |
Definition at line 652 of file properties_panel.cpp.
References isKeyEditable(), isKeyNameInUse(), m_editingOriginalLabel, m_grid, m_pendingNewKey, m_resolvingPendingKey, onKeyRenamed(), and onNewItemLeftBlank().
Referenced by PROPERTIES_PANEL().
|
protectedvirtualinherited |
Reimplemented in SCH_PROPERTIES_PANEL.
Definition at line 214 of file properties_panel.cpp.
References m_displayed, m_grid, and UpdateData().
Referenced by SCH_PROPERTIES_PANEL::OnLanguageChanged(), PROPERTIES_PANEL(), and ~PROPERTIES_PANEL().
|
overrideprotectedvirtual |
Reimplemented from PROPERTIES_PANEL.
Definition at line 844 of file pcb_properties_panel.cpp.
References getFrontItem(), PCB_FOOTPRINT_T, removeCustomProperty(), removeField(), and EDA_ITEM::Type().
|
protectedinherited |
Definition at line 734 of file properties_panel.cpp.
References buildContextMenu(), and m_contextMenuPropertyName.
Referenced by PROPERTIES_PANEL().
|
protectedinherited |
Definition at line 628 of file properties_panel.cpp.
References UpdateData().
Referenced by PROPERTIES_PANEL().
|
protectedinherited |
Find the caption row for the given untranslated group name, if present.
Definition at line 989 of file properties_panel.cpp.
References categoryForGroup(), m_categoryButtons, and m_grid.
Referenced by PROPERTIES_PANEL(), and updateCategoryButtons().
|
inlineinherited |
Definition at line 69 of file properties_panel.h.
References m_displayed.
|
inlineinherited |
Definition at line 64 of file properties_panel.h.
References m_displayed.
|
overrideprotectedvirtual |
Generates the property grid for a given selection of items.
| aSelection | is a set of items to show properties for. |
Reimplemented from PROPERTIES_PANEL.
Definition at line 885 of file pcb_properties_panel.cpp.
References filterOutReadOnlyGenChildren(), and PROPERTIES_PANEL::rebuildProperties().
Referenced by AfterCommit(), and UpdateData().
|
inherited |
Definition at line 916 of file properties_panel.cpp.
References m_grid, and m_splitter_key_proportion.
Referenced by PROPERTIES_PANEL(), FOOTPRINT_WIZARD_PROPERTIES_PANEL::RebuildParameters(), rebuildProperties(), and SetSplitterProportion().
|
protected |
Definition at line 822 of file pcb_properties_panel.cpp.
References _, AfterCommit(), getSelection(), m_frame, COMMIT::Modify(), NO_RECURSE, and BOARD_COMMIT::Push().
Referenced by onContextMenu(), and onNewItemLeftBlank().
|
protected |
Definition at line 792 of file pcb_properties_panel.cpp.
References _, AfterCommit(), FOOTPRINT::GetField(), getSelection(), PCB_FIELD::IsMandatory(), m_frame, COMMIT::Modify(), NO_RECURSE, PCB_FOOTPRINT_T, BOARD_COMMIT::Push(), and FOOTPRINT::Remove().
Referenced by onContextMenu(), and onNewItemLeftBlank().
|
inherited |
Definition at line 925 of file properties_panel.cpp.
References m_splitter_key_proportion, and RecalculateSplitterPos().
|
protectedinherited |
Synchronously ends any in-progress label edit; potentially canceling a newly added row.
Definition at line 761 of file properties_panel.cpp.
References isKeyNameInUse(), m_grid, m_pendingNewKey, m_resolvingPendingKey, onKeyRenamed(), and onNewItemLeftBlank().
Referenced by PCB_PROPERTIES_PANEL::addBlankCustomProperty(), SCH_PROPERTIES_PANEL::addBlankCustomProperty(), PCB_PROPERTIES_PANEL::addBlankField(), and SCH_PROPERTIES_PANEL::addBlankField().
|
inlineinherited |
Definition at line 77 of file properties_panel.h.
References m_splitter_key_proportion.
|
protectedinherited |
Updates overlay button visibility/positions; called after rebuilds and on scroll.
Definition at line 976 of file properties_panel.cpp.
References positionCategoryButtons().
Referenced by rebuildProperties().
|
overridevirtual |
Implements PROPERTIES_PANEL.
Definition at line 525 of file pcb_properties_panel.cpp.
References getSelection(), m_frame, rebuildProperties(), and updateLists().
|
protected |
Definition at line 1338 of file pcb_properties_panel.cpp.
References _, _HKI, LSET::AllCuMask(), BOARD::DrillSymbolLayers(), EnumerateDrillSpans(), fonts, BOARD::GetEnabledLayers(), BOARD::GetLayerName(), BOARD::GetNetInfo(), index, m_propMgr, LSET::Name(), NETINFO_LIST::NetsByNetcode(), TYPE_HASH, LSET::UIOrder(), and UnescapeString().
Referenced by UpdateData().
|
overrideprotectedvirtual |
Reimplemented from PROPERTIES_PANEL.
Definition at line 1069 of file pcb_properties_panel.cpp.
References _, _HKI, COMMIT::Add(), FOOTPRINT::AddVariant(), AfterCommit(), APPEND_UNDO, ApplyConstraintImmediately(), ARBITRARY, BaseType(), delta, EDA_UNIT_UTILS::UI::DoubleValueFromString(), DRIVING, COMMIT::Empty(), SELECTION::Empty(), filterOutReadOnlyGenChildren(), FindDimensionLengthConstraint(), FRAME_PCB_EDITOR, BOARD_ITEM::GetBoard(), BOX2< Vec >::GetCenter(), BOARD::GetCurrentVariant(), PCB_DIMENSION_BASE::GetMeasuredValue(), PCB_DIMENSION_BASE::GetOverrideTextEnabled(), BOARD_ITEM::GetParent(), getPropertyFromEvent(), FOOTPRINT::GetScaleX(), FOOTPRINT::GetScaleY(), getSelection(), PCB_DIMENSION_BASE::GetUnits(), PCB_CONSTRAINT::GetValue(), PCB_DIMENSION_BASE::GetValueMode(), PCB_DIMENSION_BASE::GetValueText(), FOOTPRINT::GetVariant(), KiROUND(), m_frame, m_propMgr, PROPERTIES_PANEL::m_SuppressGridChangeEvents, BOX2< Vec >::Merge(), COMMIT::Modify(), FOOTPRINT::Move(), NO_RECURSE, pad, PCB_DIMENSION_T, PCB_DRILL_CHART_T, PCB_FOOTPRINT_T, PCB_GENERATOR_T, PCB_PAD_T, PCB_TABLECELL_T, pcbIUScale, BOARD_COMMIT::Push(), PCB_DRILL_CHART::RebuildCells(), RECURSE, COMMIT::Remove(), FOOTPRINT::RescaleAroundPoint(), EVENTS::SelectedEvent, INSPECTABLE::Set(), SetDimensionValueMode(), FOOTPRINT_VARIANT::SetDNP(), FOOTPRINT_VARIANT::SetExcludedFromBOM(), FOOTPRINT_VARIANT::SetExcludedFromPosFiles(), FOOTPRINT_VARIANT::SetExcludedFromSim(), EDA_ITEM::Type(), VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by applyConfirmedScale().
|
overrideprotectedvirtual |
Reimplemented from PROPERTIES_PANEL.
Definition at line 963 of file pcb_properties_panel.cpp.
References _, _HKI, applyConfirmedScale(), getFrontItem(), getPropertyFromEvent(), getSelection(), m_frame, m_scaleConfirmPending, PROPERTIES_PANEL::m_SuppressGridChangeEvents, FOOTPRINT::Pads(), PCB_FOOTPRINT_T, and EDA_ITEM::Type().
|
protectedinherited |
Definition at line 164 of file properties_panel.h.
Referenced by FOOTPRINT_WIZARD_PROPERTIES_PANEL::FOOTPRINT_WIZARD_PROPERTIES_PANEL(), PROPERTIES_PANEL(), and rebuildProperties().
|
protectedinherited |
Definition at line 193 of file properties_panel.h.
Referenced by addCategoryButton(), hideCategoryButtons(), positionCategoryButtons(), and rebuildProperties().
|
protected |
Definition at line 111 of file pcb_properties_panel.h.
Referenced by PCB_PROPERTIES_PANEL().
|
protectedinherited |
Definition at line 179 of file properties_panel.h.
Referenced by PCB_PROPERTIES_PANEL::onContextMenu(), SCH_PROPERTIES_PANEL::onContextMenu(), and onRightClick().
|
protectedinherited |
Definition at line 170 of file properties_panel.h.
Referenced by OnLanguageChanged(), Properties(), PropertiesCount(), and rebuildProperties().
|
protectedinherited |
Definition at line 177 of file properties_panel.h.
Referenced by onLabelEditBegin(), and onLabelEditEnding().
|
protected |
Definition at line 115 of file pcb_properties_panel.h.
Referenced by PCB_PROPERTIES_PANEL(), and ~PCB_PROPERTIES_PANEL().
|
protected |
Definition at line 108 of file pcb_properties_panel.h.
Referenced by addBlankCustomProperty(), addBlankField(), AfterCommit(), createPGProperty(), GetFrame(), getSelection(), onKeyRenamed(), PCB_PROPERTIES_PANEL(), removeCustomProperty(), removeField(), UpdateData(), valueChanged(), and valueChanging().
|
protectedinherited |
Definition at line 171 of file properties_panel.h.
Referenced by addCategoryButton(), PCB_PROPERTIES_PANEL::applyConfirmedScale(), beginLabelEdit(), categoryForGroup(), GetPropertyGrid(), onCharHook(), onLabelEditEnding(), OnLanguageChanged(), positionCategoryButtons(), PROPERTIES_PANEL(), FOOTPRINT_WIZARD_PROPERTIES_PANEL::RebuildParameters(), rebuildProperties(), RecalculateSplitterPos(), and settlePendingLabelEdit().
|
protected |
Definition at line 118 of file pcb_properties_panel.h.
|
protected |
Definition at line 113 of file pcb_properties_panel.h.
Referenced by PCB_PROPERTIES_PANEL().
|
protectedinherited |
Key of a freshly-added blank field/custom property awaiting a name from the user.
Definition at line 199 of file properties_panel.h.
Referenced by PCB_PROPERTIES_PANEL::addBlankCustomProperty(), SCH_PROPERTIES_PANEL::addBlankCustomProperty(), PCB_PROPERTIES_PANEL::addBlankField(), SCH_PROPERTIES_PANEL::addBlankField(), onLabelEditEnding(), and settlePendingLabelEdit().
|
protected |
Definition at line 109 of file pcb_properties_panel.h.
Referenced by getPropertyFromEvent(), isKeyNameInUse(), PCB_PROPERTIES_PANEL(), updateLists(), and valueChanged().
|
protected |
Definition at line 112 of file pcb_properties_panel.h.
Referenced by PCB_PROPERTIES_PANEL().
|
protectedinherited |
True while settling a pending label edit synchronously (see settlePendingLabelEdit).
Definition at line 196 of file properties_panel.h.
Referenced by onLabelEditEnding(), and settlePendingLabelEdit().
|
protected |
Definition at line 120 of file pcb_properties_panel.h.
Referenced by PCB_PROPERTIES_PANEL(), and valueChanging().
|
protectedinherited |
Proportion of the grid column splitter that is used for the key column (0.0 - 1.0)
Definition at line 175 of file properties_panel.h.
Referenced by PROPERTIES_PANEL(), RecalculateSplitterPos(), SetSplitterProportion(), and SplitterProportion().
|
inherited |
Definition at line 167 of file properties_panel.h.
Referenced by PROPERTIES_PANEL(), PCB_PROPERTIES_PANEL::valueChanged(), SCH_PROPERTIES_PANEL::valueChanged(), FOOTPRINT_WIZARD_PROPERTIES_PANEL::valueChanging(), PCB_PROPERTIES_PANEL::valueChanging(), and SCH_PROPERTIES_PANEL::valueChanging().
|
protected |
Definition at line 114 of file pcb_properties_panel.h.
Referenced by PCB_PROPERTIES_PANEL(), and ~PCB_PROPERTIES_PANEL().
|
protected |
Definition at line 110 of file pcb_properties_panel.h.
Referenced by PCB_PROPERTIES_PANEL(), and ~PCB_PROPERTIES_PANEL().
|
protected |
Definition at line 116 of file pcb_properties_panel.h.
Referenced by PCB_PROPERTIES_PANEL(), and ~PCB_PROPERTIES_PANEL().