52 QMenu* menu =
nullptr);
55 std::optional<State::BinaryOperator> binOperator();
61 void setOperator(State::BinaryOperator o);
62 void setOperator(State::UnaryOperator u);
64 QString currentRelation();
65 QString currentOperator();
67 void enableRemoveButton(
bool);
68 void enableAddButton(
bool);
69 void enableMenuButton(
bool);
74 void editingFinished() W_SIGNAL(editingFinished);
75 void addTerm() W_SIGNAL(addTerm);
76 void removeTerm(
int index) W_SIGNAL(removeTerm, index);
79 void on_editFinished();
80 void on_comparatorChanged(
int i);
86 QComboBox* m_comparator{};
88 QComboBox* m_binOperator{};
89 QToolButton* m_rmBtn{};
90 QToolButton* m_addBtn{};
91 QToolButton* m_menuBtn{};
Definition DocumentContext.hpp:18