Scenario::SimpleExpressionEditorWidget Class Referencefinal
Inheritance diagram for Scenario::SimpleExpressionEditorWidget:

Public Member Functions

 SimpleExpressionEditorWidget (const score::DocumentContext &, int64_t index, QWidget *parent=nullptr, QMenu *menu=nullptr)
 
State::Expression relation ()
 
std::optional< State::BinaryOperator > binOperator ()
 
void setRelation (const State::Relation &r)
 
void setPulse (const State::Pulse &r)
 
void setOperator (State::BinaryOperator o)
 
void setOperator (State::UnaryOperator u)
 
QString currentRelation ()
 
QString currentOperator ()
 
void enableRemoveButton (bool)
 
void enableAddButton (bool)
 
void enableMenuButton (bool)
 
void decreaseId ()
 
void editingFinished ()
 
void addTerm ()
 
void removeTerm (int index)
 

Public Attributes

int64_t id = -1
 

Constructor & Destructor Documentation

◆ SimpleExpressionEditorWidget()

Scenario::SimpleExpressionEditorWidget::SimpleExpressionEditorWidget ( const score::DocumentContext doc,
int64_t  index,
QWidget *  parent = nullptr,
QMenu *  menu = nullptr 
)

EDIT FINISHED


The documentation for this class was generated from the following files: