14class wxStyledTextCtrl;
33 void ParseCondition(
const wxString& aExpr,
const wxString& aPrefix = wxEmptyString );
57 void onChoice(
const wxCommandEvent& aEvent );
Information pertinent to a Pcbnew printed circuit board.
void SetChoiceChangeCallback(std::function< void()> aCallback)
Set a callback to be invoked when the choice selection changes.
void ParseCondition(const wxString &aExpr, const wxString &aPrefix=wxEmptyString)
Populate the panel controls from a rule condition expression.
void SetCustomQueryCtrl(wxStyledTextCtrl *ctrl)
std::function< void()> m_choiceChangeCallback
void onChoice(const wxCommandEvent &aEvent)
wxStyledTextCtrl * m_customQueryCtrl
DRC_RE_OBJECT_SELECTOR_PANEL(wxWindow *parent, BOARD *board, const wxString &label)
bool HasCustomQuerySelected() const
wxString BuildCondition(const wxString &aPrefix) const
Build a rule condition expression based on the panel state.
void SetLabelText(const wxString &text)
NET_SELECTOR * m_netSelector
AREA_SELECTOR * m_areaSelector
NETCLASS_SELECTOR * m_netclassSelector