|
KiCad PCB EDA Suite
|
The rules of one constraint type, in evaluation order, with an editor that opens in place. More...
#include <constraint_rules_list.h>
Public Member Functions | |
| CONSTRAINT_RULES_LIST (wxWindow *aParent, PCB_EDIT_FRAME *aFrame, DRC_RULE_DOCUMENT *aDocument, DRC_RULE_EDITOR_CONSTRAINT_NAME aType, const wxString &aTitle) | |
| void | RefreshRules () |
| void | SetNetclasses (std::function< std::optional< int >(const NETCLASS &)> aValue, NETCLASS_CONSTRAINT_PART aPart) |
| Lists the net class values for this constraint above the rules, where a class can set one. | |
| void | SetTitleWindow (wxWindow *aWindow) |
| A window whose label is the section title. | |
| void | SetDefaults (std::vector< std::pair< wxString, std::function< wxString()> > > aDefaults) |
| The board defaults this constraint falls back to, each with the name the note gives it. | |
| void | RefreshOverrideNote () |
| Rebuilds the line saying what the rule being edited displaces. | |
| bool | HasPendingRule () const |
| True while the form holds typing that has not been added to the list. | |
| bool | ApplyPendingRule () |
| Adds or updates the rule the form holds. | |
| void | DiscardPendingRule () |
| Reloads the form from the document, dropping whatever was typed. | |
| bool | ConfirmPendingRule () |
| Asks what to do with a rule left in the form. | |
| bool | EditRule (int aIndex) |
| Selects a rule and opens it in the editor. False if a rule left in the form kept it closed. | |
| void | SetChangeCallback (std::function< void()> aCallback) |
| Called after this list changed the document. | |
Static Public Member Functions | |
| static wxString | ConstraintText (const DRC_RE_LOADED_PANEL_ENTRY &aEntry, DRC_RULE_EDITOR_CONSTRAINT_NAME aType, UNITS_PROVIDER *aUnits) |
| The constraint a rule sets, written the way the rule table shows it. | |
Protected Attributes | |
| wxListCtrl * | m_list |
| wxStaticText * | m_emptyLabel |
| wxButton * | m_upBtn |
| wxButton * | m_downBtn |
| wxButton * | m_duplicateBtn |
| wxButton * | m_removeBtn |
| wxPanel * | m_editorHost |
| wxBoxSizer * | m_editorSizer |
| wxButton * | m_primaryBtn |
| wxButton * | m_newBtn |
Private Member Functions | |
| void | onPrimary (wxCommandEvent &aEvent) |
| void | onNewRule (wxCommandEvent &aEvent) |
| void | onMoveUp (wxCommandEvent &aEvent) |
| void | onMoveDown (wxCommandEvent &aEvent) |
| void | onDuplicate (wxCommandEvent &aEvent) |
| void | onRemove (wxCommandEvent &aEvent) |
| void | moveSelected (int aDelta) |
| void | buildEditor (const std::shared_ptr< DRC_RE_BASE_CONSTRAINT_DATA > &aData, DRC_RULE_EDITOR_CONSTRAINT_NAME aPanelType) |
| void | showNewRule () |
| void | showRule (int aIndex) |
| void | addRule () |
| void | applyRule () |
| int | indexOf (const std::shared_ptr< DRC_RE_BASE_CONSTRAINT_DATA > &aData) const |
| int | editingIndex () const |
| void | notifyChanged () |
| int | showMatches () |
| int | selectedIndex () const |
| void | selectIndex (int aIndex) |
| void | updateButtons () |
| void | relayout () |
| void | reportError (const wxString &aMessage) |
| void | fitColumns () |
| void | showOverrideNote () |
| int | addNetclassRows () |
| Fills the leading rows with the net class values, and returns how many it added. | |
| wxString | sharedWithText (int aIndex) const |
Static Private Member Functions | |
| static void | copyRuleData (DRC_RE_BASE_CONSTRAINT_DATA &aTarget, const DRC_RE_BASE_CONSTRAINT_DATA &aSource) |
| Copies everything the form edits, the rule name included. | |
| static wxString | layersText (const DRC_RE_LOADED_PANEL_ENTRY &aEntry) |
| static wxString | severityText (const DRC_RE_LOADED_PANEL_ENTRY &aEntry) |
| static wxString | inUserUnits (const wxString &aClause, UNITS_PROVIDER *aUnits) |
Private Attributes | |
| PCB_EDIT_FRAME * | m_frame |
| DRC_RULE_DOCUMENT * | m_document |
| DRC_RULE_EDITOR_CONSTRAINT_NAME | m_type |
| wxString | m_title |
| wxWindow * | m_titleWindow |
| std::vector< std::pair< wxString, std::function< wxString()> > > | m_defaults |
| PANEL_DRC_RULE_EDITOR * | m_editor |
| std::shared_ptr< DRC_RE_BASE_CONSTRAINT_DATA > | m_editingData |
| DRC_RULE_EDITOR_CONSTRAINT_NAME | m_editingType |
| std::function< void()> | m_onChanged |
| bool | m_refreshing = false |
| int | m_fittedWidth = -1 |
| std::function< std::optional< int >(const NETCLASS &)> | m_netclassValue |
| NETCLASS_CONSTRAINT_PART | m_netclassPart = NETCLASS_CONSTRAINT_PART::MINIMUM |
| std::vector< int > | m_rowToIndex |
| The document index each row shows, or NETCLASS_ROW where the row is a net class value. | |
Static Private Attributes | |
| static constexpr int | NETCLASS_ROW = -1 |
| What m_rowToIndex holds for a row that is not a rule of this document. | |
The rules of one constraint type, in evaluation order, with an editor that opens in place.
Edits go to the shared DRC_RULE_DOCUMENT. Nothing is written to disk here.
Definition at line 49 of file constraint_rules_list.h.
| CONSTRAINT_RULES_LIST::CONSTRAINT_RULES_LIST | ( | wxWindow * | aParent, |
| PCB_EDIT_FRAME * | aFrame, | ||
| DRC_RULE_DOCUMENT * | aDocument, | ||
| DRC_RULE_EDITOR_CONSTRAINT_NAME | aType, | ||
| const wxString & | aTitle ) |
Definition at line 60 of file constraint_rules_list.cpp.
References _, CONSTRAINT_RULES_LIST_BASE::CONSTRAINT_RULES_LIST_BASE(), duplicate, KIUI::GetInfoFont(), KiBitmapBundle(), m_document, CONSTRAINT_RULES_LIST_BASE::m_downBtn, CONSTRAINT_RULES_LIST_BASE::m_duplicateBtn, m_editor, CONSTRAINT_RULES_LIST_BASE::m_editorHost, CONSTRAINT_RULES_LIST_BASE::m_emptyLabel, m_frame, CONSTRAINT_RULES_LIST_BASE::m_list, CONSTRAINT_RULES_LIST_BASE::m_newBtn, CONSTRAINT_RULES_LIST_BASE::m_primaryBtn, CONSTRAINT_RULES_LIST_BASE::m_removeBtn, m_title, m_titleWindow, m_type, CONSTRAINT_RULES_LIST_BASE::m_upBtn, onDuplicate(), onMoveDown(), onMoveUp(), onNewRule(), onPrimary(), onRemove(), small_down, small_plus, small_trash, small_up, and updateButtons().
|
private |
Fills the leading rows with the net class values, and returns how many it added.
Definition at line 290 of file constraint_rules_list.cpp.
References _, NET_SETTINGS::GetDefaultNetclass(), NET_SETTINGS::GetNetclasses(), m_frame, CONSTRAINT_RULES_LIST_BASE::m_list, m_netclassPart, m_netclassValue, m_rowToIndex, MINIMUM, name, and NETCLASS_ROW.
Referenced by RefreshRules().
|
private |
Definition at line 848 of file constraint_rules_list.cpp.
References copyRuleData(), DRC_RE_LOADED_PANEL_ENTRY::layerSource, m_document, m_editingData, m_editor, m_type, notifyChanged(), reportError(), and DRC_RE_LOADED_PANEL_ENTRY::wasEdited.
Referenced by ApplyPendingRule(), and buildEditor().
| bool CONSTRAINT_RULES_LIST::ApplyPendingRule | ( | ) |
Adds or updates the rule the form holds.
False if it does not validate, with the reason already reported.
Definition at line 522 of file constraint_rules_list.cpp.
References addRule(), applyRule(), editingIndex(), HasPendingRule(), m_editor, and reportError().
Referenced by ConfirmPendingRule().
|
private |
Definition at line 874 of file constraint_rules_list.cpp.
References DRC_RE_LOADED_PANEL_ENTRY::condition, DRC_RE_LOADED_PANEL_ENTRY::constraintData, copyRuleData(), editingIndex(), index, DRC_RE_LOADED_PANEL_ENTRY::layerCondition, DRC_RE_LOADED_PANEL_ENTRY::layerSource, m_document, m_editor, notifyChanged(), reportError(), DRC_RE_LOADED_PANEL_ENTRY::ruleName, and DRC_RE_LOADED_PANEL_ENTRY::severity.
Referenced by ApplyPendingRule(), and buildEditor().
|
private |
Definition at line 746 of file constraint_rules_list.cpp.
References addRule(), applyRule(), copyRuleData(), DRC_RULE_EDITOR_UTILS::CreateConstraintData(), editingIndex(), m_document, m_editingData, m_editingType, m_editor, CONSTRAINT_RULES_LIST_BASE::m_editorHost, CONSTRAINT_RULES_LIST_BASE::m_editorSizer, m_frame, m_type, relayout(), showMatches(), and showOverrideNote().
Referenced by showNewRule(), and showRule().
| bool CONSTRAINT_RULES_LIST::ConfirmPendingRule | ( | ) |
Asks what to do with a rule left in the form.
False if the user cancels or the rule does not validate, and the form is left as it was.
Definition at line 542 of file constraint_rules_list.cpp.
References _, ApplyPendingRule(), DiscardPendingRule(), editingIndex(), HasPendingRule(), and KICAD_MESSAGE_DIALOG_BASE.
Referenced by EditRule(), onDuplicate(), and onNewRule().
|
static |
The constraint a rule sets, written the way the rule table shows it.
Definition at line 372 of file constraint_rules_list.cpp.
References _, DRC_RE_LOADED_PANEL_ENTRY::condition, RULE_GENERATION_CONTEXT::conditionExpression, RULE_GENERATION_CONTEXT::constraintCode, DRC_RE_LOADED_PANEL_ENTRY::constraintData, DRC_RULE_EDITOR_UTILS::ConstraintToKicadDrc(), CUSTOM_RULE, DRC_RULE_DOCUMENT::FindConstraintClause(), DRC_RE_BASE_CONSTRAINT_DATA::GetConstraintClauses(), inUserUnits(), DRC_RE_LOADED_PANEL_ENTRY::originalRuleText, DRC_RE_LOADED_PANEL_ENTRY::panelType, DRC_RE_LOADED_PANEL_ENTRY::ruleName, RULE_GENERATION_CONTEXT::ruleName, and text.
Referenced by RefreshRules(), and PANEL_SETUP_CONSTRAINTS::showOverridingRules().
|
staticprivate |
Copies everything the form edits, the rule name included.
Definition at line 737 of file constraint_rules_list.cpp.
References DRC_RE_BASE_CONSTRAINT_DATA::CopyFrom(), RULE_EDITOR_DATA_BASE::GetRuleName(), and RULE_EDITOR_DATA_BASE::SetRuleName().
Referenced by addRule(), applyRule(), buildEditor(), and RefreshRules().
| void CONSTRAINT_RULES_LIST::DiscardPendingRule | ( | ) |
Reloads the form from the document, dropping whatever was typed.
Definition at line 573 of file constraint_rules_list.cpp.
References editingIndex(), index, showNewRule(), and showRule().
Referenced by ConfirmPendingRule().
|
private |
Definition at line 1019 of file constraint_rules_list.cpp.
References indexOf(), and m_editingData.
Referenced by ApplyPendingRule(), applyRule(), buildEditor(), ConfirmPendingRule(), DiscardPendingRule(), RefreshRules(), showOverrideNote(), and updateButtons().
| bool CONSTRAINT_RULES_LIST::EditRule | ( | int | aIndex | ) |
Selects a rule and opens it in the editor. False if a rule left in the form kept it closed.
Definition at line 819 of file constraint_rules_list.cpp.
References ConfirmPendingRule(), indexOf(), m_document, m_editingData, selectIndex(), and showRule().
|
private |
Definition at line 247 of file constraint_rules_list.cpp.
References dc, m_fittedWidth, and CONSTRAINT_RULES_LIST_BASE::m_list.
Referenced by RefreshRules().
| bool CONSTRAINT_RULES_LIST::HasPendingRule | ( | ) | const |
True while the form holds typing that has not been added to the list.
Definition at line 516 of file constraint_rules_list.cpp.
References m_editor.
Referenced by ApplyPendingRule(), and ConfirmPendingRule().
|
private |
Definition at line 1002 of file constraint_rules_list.cpp.
References m_document.
Referenced by editingIndex(), EditRule(), moveSelected(), and onDuplicate().
|
staticprivate |
Definition at line 347 of file constraint_rules_list.cpp.
References EDA_UNIT_UTILS::UI::DoubleValueFromString(), MM, pcbIUScale, result, and UNITS_PROVIDER::StringFromValue().
Referenced by ConstraintText().
|
staticprivate |
Definition at line 341 of file constraint_rules_list.cpp.
References _, and DRC_RE_LOADED_PANEL_ENTRY::layerSource.
Referenced by RefreshRules().
|
private |
Definition at line 584 of file constraint_rules_list.cpp.
References index, indexOf(), m_document, m_type, notifyChanged(), selectedIndex(), and selectIndex().
Referenced by onMoveDown(), and onMoveUp().
|
private |
Definition at line 1025 of file constraint_rules_list.cpp.
References m_onChanged, and RefreshRules().
Referenced by addRule(), applyRule(), moveSelected(), onDuplicate(), and onRemove().
|
private |
Definition at line 615 of file constraint_rules_list.cpp.
References ConfirmPendingRule(), copy, index, indexOf(), m_document, notifyChanged(), selectedIndex(), showRule(), and source.
Referenced by CONSTRAINT_RULES_LIST().
|
private |
Definition at line 609 of file constraint_rules_list.cpp.
References moveSelected().
Referenced by CONSTRAINT_RULES_LIST().
|
private |
Definition at line 603 of file constraint_rules_list.cpp.
References moveSelected().
Referenced by CONSTRAINT_RULES_LIST().
|
private |
Definition at line 506 of file constraint_rules_list.cpp.
References ConfirmPendingRule(), RefreshRules(), and showNewRule().
Referenced by CONSTRAINT_RULES_LIST().
|
private |
Definition at line 499 of file constraint_rules_list.cpp.
References m_editor.
Referenced by CONSTRAINT_RULES_LIST().
|
private |
Definition at line 638 of file constraint_rules_list.cpp.
References _, CUSTOM_RULE, index, IsOK(), m_document, notifyChanged(), DRC_RE_LOADED_PANEL_ENTRY::panelType, DRC_RE_LOADED_PANEL_ENTRY::ruleName, selectedIndex(), sharedWithText(), and showNewRule().
Referenced by CONSTRAINT_RULES_LIST().
|
inline |
Rebuilds the line saying what the rule being edited displaces.
Definition at line 77 of file constraint_rules_list.h.
References showOverrideNote().
| void CONSTRAINT_RULES_LIST::RefreshRules | ( | ) |
Definition at line 163 of file constraint_rules_list.cpp.
References _, addNetclassRows(), DRC_RE_LOADED_PANEL_ENTRY::condition, ConstraintText(), copyRuleData(), editingIndex(), fitColumns(), index, layersText(), m_document, CONSTRAINT_RULES_LIST_BASE::m_downBtn, CONSTRAINT_RULES_LIST_BASE::m_duplicateBtn, m_editingData, m_editor, CONSTRAINT_RULES_LIST_BASE::m_editorHost, CONSTRAINT_RULES_LIST_BASE::m_emptyLabel, m_frame, CONSTRAINT_RULES_LIST_BASE::m_list, CONSTRAINT_RULES_LIST_BASE::m_newBtn, CONSTRAINT_RULES_LIST_BASE::m_primaryBtn, m_refreshing, CONSTRAINT_RULES_LIST_BASE::m_removeBtn, m_rowToIndex, m_title, m_titleWindow, m_type, CONSTRAINT_RULES_LIST_BASE::m_upBtn, relayout(), DRC_RE_LOADED_PANEL_ENTRY::ruleName, selectIndex(), severityText(), sharedWithText(), showNewRule(), and updateButtons().
Referenced by notifyChanged(), and onNewRule().
|
private |
Definition at line 986 of file constraint_rules_list.cpp.
References PANEL_DRC_RULE_EDITOR::LayoutAncestors().
Referenced by buildEditor(), and RefreshRules().
|
private |
Definition at line 993 of file constraint_rules_list.cpp.
References DisplayErrorMessage(), and PAGED_DIALOG::GetDialog().
Referenced by addRule(), ApplyPendingRule(), and applyRule().
|
private |
Definition at line 440 of file constraint_rules_list.cpp.
References CONSTRAINT_RULES_LIST_BASE::m_list, and m_rowToIndex.
Referenced by moveSelected(), onDuplicate(), onRemove(), and updateButtons().
|
private |
Definition at line 451 of file constraint_rules_list.cpp.
References CONSTRAINT_RULES_LIST_BASE::m_list, m_rowToIndex, and updateButtons().
Referenced by EditRule(), moveSelected(), and RefreshRules().
|
inline |
Called after this list changed the document.
The page uses it to refresh every list, since the entries are shared.
Definition at line 108 of file constraint_rules_list.h.
References m_onChanged.
|
inline |
The board defaults this constraint falls back to, each with the name the note gives it.
Definition at line 71 of file constraint_rules_list.h.
References m_defaults.
| void CONSTRAINT_RULES_LIST::SetNetclasses | ( | std::function< std::optional< int >(const NETCLASS &)> | aValue, |
| NETCLASS_CONSTRAINT_PART | aPart ) |
Lists the net class values for this constraint above the rules, where a class can set one.
DRC reads a net class value before any rule the user writes here, so the values belong in the same list, in the order they are read.
Definition at line 282 of file constraint_rules_list.cpp.
References m_netclassPart, and m_netclassValue.
|
inline |
A window whose label is the section title.
The list appends the rule count to it.
Definition at line 68 of file constraint_rules_list.h.
References m_titleWindow.
|
staticprivate |
Definition at line 1034 of file constraint_rules_list.cpp.
References _, RPT_SEVERITY_EXCLUSION, RPT_SEVERITY_IGNORE, RPT_SEVERITY_WARNING, and DRC_RE_LOADED_PANEL_ENTRY::severity.
Referenced by RefreshRules().
|
private |
Definition at line 1046 of file constraint_rules_list.cpp.
References _, DRC_RE_LOADED_PANEL_ENTRY::condition, RULE_GENERATION_CONTEXT::conditionExpression, RULE_GENERATION_CONTEXT::constraintCode, DRC_RE_LOADED_PANEL_ENTRY::constraintData, DRC_RE_BASE_CONSTRAINT_DATA::GenerateRule(), DRC_RE_BASE_CONSTRAINT_DATA::GetConstraintClauses(), DRC_RE_BASE_CONSTRAINT_DATA::GetConstraintCode(), m_document, DRC_RE_LOADED_PANEL_ENTRY::ruleGroupId, DRC_RE_LOADED_PANEL_ENTRY::ruleName, RULE_GENERATION_CONTEXT::ruleName, and text.
Referenced by onRemove(), and RefreshRules().
|
private |
Definition at line 912 of file constraint_rules_list.cpp.
References DRC_TOOL::GetDRCEngine(), DRC_ENGINE::GetItemsMatchingRule(), m_editor, m_frame, DRC_RULES_PARSER::Parse(), PCB_GENERATOR_T, PCB_GROUP_T, PCB_NETINFO_T, ACTIONS::selectionClear, ACTIONS::selectItems, and ACTIONS::zoomFitSelection.
Referenced by buildEditor().
|
private |
Definition at line 802 of file constraint_rules_list.cpp.
References buildEditor(), DRC_RULE_EDITOR_UTILS::ConstraintToKicadDrc(), DRC_RULE_EDITOR_UTILS::CreateConstraintData(), m_document, CONSTRAINT_RULES_LIST_BASE::m_list, m_title, m_type, and updateButtons().
Referenced by DiscardPendingRule(), onNewRule(), onRemove(), and RefreshRules().
|
private |
Definition at line 671 of file constraint_rules_list.cpp.
References _, CUSTOM_RULE, editingIndex(), index, m_defaults, m_document, m_editingType, m_editor, and name.
Referenced by buildEditor(), and RefreshOverrideNote().
|
private |
Definition at line 836 of file constraint_rules_list.cpp.
References buildEditor(), DRC_RE_LOADED_PANEL_ENTRY::constraintData, m_document, DRC_RE_LOADED_PANEL_ENTRY::panelType, and updateButtons().
Referenced by DiscardPendingRule(), EditRule(), and onDuplicate().
|
private |
Definition at line 474 of file constraint_rules_list.cpp.
References _, editingIndex(), KiBitmapBundle(), CONSTRAINT_RULES_LIST_BASE::m_downBtn, CONSTRAINT_RULES_LIST_BASE::m_duplicateBtn, CONSTRAINT_RULES_LIST_BASE::m_newBtn, CONSTRAINT_RULES_LIST_BASE::m_primaryBtn, CONSTRAINT_RULES_LIST_BASE::m_removeBtn, CONSTRAINT_RULES_LIST_BASE::m_upBtn, selectedIndex(), small_edit, and small_plus.
Referenced by CONSTRAINT_RULES_LIST(), RefreshRules(), selectIndex(), showNewRule(), and showRule().
|
private |
Definition at line 161 of file constraint_rules_list.h.
Referenced by SetDefaults(), and showOverrideNote().
|
private |
Definition at line 157 of file constraint_rules_list.h.
Referenced by addRule(), applyRule(), buildEditor(), CONSTRAINT_RULES_LIST(), EditRule(), indexOf(), moveSelected(), onDuplicate(), onRemove(), RefreshRules(), sharedWithText(), showNewRule(), showOverrideNote(), and showRule().
|
protectedinherited |
Definition at line 40 of file constraint_rules_list_base.h.
Referenced by CONSTRAINT_RULES_LIST::CONSTRAINT_RULES_LIST(), CONSTRAINT_RULES_LIST_BASE(), CONSTRAINT_RULES_LIST::RefreshRules(), and CONSTRAINT_RULES_LIST::updateButtons().
|
protectedinherited |
Definition at line 41 of file constraint_rules_list_base.h.
Referenced by CONSTRAINT_RULES_LIST::CONSTRAINT_RULES_LIST(), CONSTRAINT_RULES_LIST_BASE(), CONSTRAINT_RULES_LIST::RefreshRules(), and CONSTRAINT_RULES_LIST::updateButtons().
|
private |
Definition at line 164 of file constraint_rules_list.h.
Referenced by addRule(), buildEditor(), editingIndex(), EditRule(), and RefreshRules().
|
private |
Definition at line 165 of file constraint_rules_list.h.
Referenced by buildEditor(), and showOverrideNote().
|
private |
Definition at line 163 of file constraint_rules_list.h.
Referenced by addRule(), ApplyPendingRule(), applyRule(), buildEditor(), CONSTRAINT_RULES_LIST(), HasPendingRule(), onPrimary(), RefreshRules(), showMatches(), and showOverrideNote().
|
protectedinherited |
Definition at line 43 of file constraint_rules_list_base.h.
Referenced by CONSTRAINT_RULES_LIST::buildEditor(), CONSTRAINT_RULES_LIST::CONSTRAINT_RULES_LIST(), CONSTRAINT_RULES_LIST_BASE(), and CONSTRAINT_RULES_LIST::RefreshRules().
|
protectedinherited |
Definition at line 44 of file constraint_rules_list_base.h.
Referenced by CONSTRAINT_RULES_LIST::buildEditor(), and CONSTRAINT_RULES_LIST_BASE().
|
protectedinherited |
Definition at line 38 of file constraint_rules_list_base.h.
Referenced by CONSTRAINT_RULES_LIST::CONSTRAINT_RULES_LIST(), CONSTRAINT_RULES_LIST_BASE(), and CONSTRAINT_RULES_LIST::RefreshRules().
|
private |
Definition at line 168 of file constraint_rules_list.h.
Referenced by fitColumns().
|
private |
Definition at line 156 of file constraint_rules_list.h.
Referenced by addNetclassRows(), buildEditor(), CONSTRAINT_RULES_LIST(), RefreshRules(), and showMatches().
|
protectedinherited |
Definition at line 37 of file constraint_rules_list_base.h.
Referenced by CONSTRAINT_RULES_LIST::addNetclassRows(), CONSTRAINT_RULES_LIST::CONSTRAINT_RULES_LIST(), CONSTRAINT_RULES_LIST_BASE(), CONSTRAINT_RULES_LIST::fitColumns(), CONSTRAINT_RULES_LIST::RefreshRules(), CONSTRAINT_RULES_LIST::selectedIndex(), CONSTRAINT_RULES_LIST::selectIndex(), and CONSTRAINT_RULES_LIST::showNewRule().
|
private |
Definition at line 171 of file constraint_rules_list.h.
Referenced by addNetclassRows(), and SetNetclasses().
|
private |
Definition at line 170 of file constraint_rules_list.h.
Referenced by addNetclassRows(), and SetNetclasses().
|
protectedinherited |
Definition at line 46 of file constraint_rules_list_base.h.
Referenced by CONSTRAINT_RULES_LIST::CONSTRAINT_RULES_LIST(), CONSTRAINT_RULES_LIST_BASE(), CONSTRAINT_RULES_LIST::RefreshRules(), and CONSTRAINT_RULES_LIST::updateButtons().
|
private |
Definition at line 166 of file constraint_rules_list.h.
Referenced by notifyChanged(), and SetChangeCallback().
|
protectedinherited |
Definition at line 45 of file constraint_rules_list_base.h.
Referenced by CONSTRAINT_RULES_LIST::CONSTRAINT_RULES_LIST(), CONSTRAINT_RULES_LIST_BASE(), CONSTRAINT_RULES_LIST::RefreshRules(), and CONSTRAINT_RULES_LIST::updateButtons().
|
private |
Definition at line 167 of file constraint_rules_list.h.
Referenced by RefreshRules().
|
protectedinherited |
Definition at line 42 of file constraint_rules_list_base.h.
Referenced by CONSTRAINT_RULES_LIST::CONSTRAINT_RULES_LIST(), CONSTRAINT_RULES_LIST_BASE(), CONSTRAINT_RULES_LIST::RefreshRules(), and CONSTRAINT_RULES_LIST::updateButtons().
|
private |
The document index each row shows, or NETCLASS_ROW where the row is a net class value.
Definition at line 174 of file constraint_rules_list.h.
Referenced by addNetclassRows(), RefreshRules(), selectedIndex(), and selectIndex().
|
private |
Definition at line 159 of file constraint_rules_list.h.
Referenced by CONSTRAINT_RULES_LIST(), RefreshRules(), and showNewRule().
|
private |
Definition at line 160 of file constraint_rules_list.h.
Referenced by CONSTRAINT_RULES_LIST(), RefreshRules(), and SetTitleWindow().
|
private |
Definition at line 158 of file constraint_rules_list.h.
Referenced by addRule(), buildEditor(), CONSTRAINT_RULES_LIST(), moveSelected(), RefreshRules(), and showNewRule().
|
protectedinherited |
Definition at line 39 of file constraint_rules_list_base.h.
Referenced by CONSTRAINT_RULES_LIST::CONSTRAINT_RULES_LIST(), CONSTRAINT_RULES_LIST_BASE(), CONSTRAINT_RULES_LIST::RefreshRules(), and CONSTRAINT_RULES_LIST::updateButtons().
|
staticconstexprprivate |
What m_rowToIndex holds for a row that is not a rule of this document.
Definition at line 177 of file constraint_rules_list.h.
Referenced by addNetclassRows().