RosAna
A rosette analyzer and synthesizer tool
|
The LoadExampleDialog class displays the available example rope rosettes. More...
Signals | |
void | selectedExample (int selectedRow) |
Public Member Functions | |
LoadExampleDialog (QStringList names, QWidget *parent=0) | |
Constructs LoadExampleDialog. More... | |
~LoadExampleDialog () | |
Detroys LoadExampleDialog. | |
Private Slots | |
void | accept () Q_DECL_OVERRIDE |
Triggered when an example is selected and LoadExampleDialog closed. More... | |
Private Attributes | |
QListWidget * | nameList |
The LoadExampleDialog class displays the available example rope rosettes.
It inherits QDialog. Examples are loaded through ReadExampleFile. When an example is selected, the model for plot and paramters is changed to model of the selected example rosette.
|
explicit |
Constructs LoadExampleDialog.
Sets up the LoadExampleDialog GUI and connects signals for user interaction.
names | A list of named example rosettes. |
parent | The parent of LoadExampleDialog. |
|
privateslot |
Triggered when an example is selected and LoadExampleDialog closed.
Gets the index of the selected example rosette. Emits signal selectedExample(index).
|
signal |
This signal is emitted when an example has been selected.
selectedRow | The index of the selected row. |
|
private |
< list of names for available example rosettes