35class wxStyledTextCtrl;
73 void SetValue(
const wxString& aValue );
Information pertinent to a Pcbnew printed circuit board.
void SetDeleteCallback(std::function< void()> aCallback)
void SetValue(const wxString &aValue)
DRC_RE_CONDITION_ROW_PANEL(wxWindow *aParent, BOARD *aBoard, bool aShowObjectSelector)
bool m_showObjectSelector
wxBoxSizer * m_contentSizer
wxString BuildExpression() const
Build a condition expression from the row's current state.
OBJECT_TARGET GetObjectTarget() const
void SetConditionType(CONDITION_TYPE aType)
void ShowDeleteButton(bool aShow)
bool ParseExpression(const wxString &aExpr)
Parse a condition expression and set the row's state.
void onConditionChoice(wxCommandEvent &aEvent)
AREA_SELECTOR * m_areaSelector
NET_SELECTOR * m_netSelector
wxChoice * m_objectChoice
bool HasCustomQuerySelected() const
void SetChangeCallback(std::function< void()> aCallback)
wxBitmapButton * m_deleteBtn
wxStyledTextCtrl * m_customQueryCtrl
void onObjectChoice(wxCommandEvent &aEvent)
std::function< void()> m_deleteCallback
CONDITION_TYPE GetConditionType() const
wxChoice * m_conditionChoice
wxString GetValue() const
void onDeleteClicked(wxCommandEvent &aEvent)
NETCLASS_SELECTOR * m_netclassSelector
std::function< void()> m_changeCallback
void SetObjectTarget(OBJECT_TARGET aTarget)