RosAna
A rosette analyzer and synthesizer tool
 All Classes Namespaces Functions Variables Properties
Signals | Public Member Functions | Private Slots | Private Attributes | List of all members
LoadExampleDialog Class Reference

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

QListWidgetnameList
 

Detailed Description

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.

Constructor & Destructor Documentation

LoadExampleDialog::LoadExampleDialog ( QStringList  names,
QWidget parent = 0 
)
explicit

Constructs LoadExampleDialog.

Sets up the LoadExampleDialog GUI and connects signals for user interaction.

Parameters
namesA list of named example rosettes.
parentThe parent of LoadExampleDialog.

Member Function Documentation

void LoadExampleDialog::accept ( )
privateslot

Triggered when an example is selected and LoadExampleDialog closed.

Gets the index of the selected example rosette. Emits signal selectedExample(index).

LoadExampleDialog::selectedExample ( int  selectedRow)
signal

This signal is emitted when an example has been selected.

Parameters
selectedRowThe index of the selected row.

Member Data Documentation

QListWidget* LoadExampleDialog::nameList
private

< list of names for available example rosettes


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