Dialog box which allows selecting study to be loaded from the list. More...
#include <SalomeApp_LoadStudiesDlg.h>

Public Member Functions | |
| ~SalomeApp_LoadStudiesDlg () | |
| Destructor. More... | |
| QString | selectedStudy () |
| Get selected study name. More... | |
Static Public Member Functions | |
| static QString | selectStudy (QWidget *, const QStringList &) |
| Executes dialog box to select study from the list and returns the study selected. More... | |
Private Slots | |
| void | updateState () |
| Updates buttons state. More... | |
Private Member Functions | |
| SalomeApp_LoadStudiesDlg (QWidget *, const QStringList &) | |
| Constructor. More... | |
Private Attributes | |
| QListWidget * | myList |
| QPushButton * | myButtonOk |
Dialog box which allows selecting study to be loaded from the list.
|
private |
Constructor.
| parent | a parent widget |
| studies | list of study names |
References MARGIN_SIZE, MIN_LISTBOX_HEIGHT, MIN_LISTBOX_WIDTH, myButtonOk, myList, SPACING_SIZE, and updateState().
| SalomeApp_LoadStudiesDlg::~SalomeApp_LoadStudiesDlg | ( | ) |
Destructor.
| QString SalomeApp_LoadStudiesDlg::selectedStudy | ( | ) |
Get selected study name.
References myList.
|
static |
Executes dialog box to select study from the list and returns the study selected.
| parent | parent widget |
| studies | list of study names |
References selectedStudy().
|
privateslot |
Updates buttons state.
References myButtonOk, and myList.
|
private |
|
private |