The VariableAdjustWidget class holds the GUI for rosette parameters.
More...
|
void | addRow () |
| Is executed when addRowButton is clicked. Adds a new row to the internal model.
|
|
void | deleteRow () |
| Is executed when deleteRowButton is clicked. Gets the selected index from parametersTableView and deletes the corresponding row in its internal model. Emits signal rowDeleted()
|
|
The VariableAdjustWidget class holds the GUI for rosette parameters.
The VariableAdjustWidget class inherits QWidget. Parameters are set from a model shared with DrawWidget.
VariableAdjustWidget::VariableAdjustWidget |
( |
QWidget * |
parent = 0 | ) |
|
|
explicit |
VariableAdjustWidget::rowDeleted |
( |
| ) |
|
|
signal |
This signal is emitted when a row has been deleted from the model.
Sets a new model for parametersTableView and mapper.
- Parameters
-
newModel | The new model to display |
Adds a row to paramteresTableView and the model.
Deleted a row from paramtersTableView and the model.
Maps model values to strings.
QTableView* VariableAdjustWidget::parametersTableView |
|
private |
Displays the model parameters as a editable table.
Provides an interface between parametersTableview and the model.
The documentation for this class was generated from the following files:
- /home/sigrid/Code/variableadjustwidget.h
- /home/sigrid/Code/variableadjustwidget.cpp