UNIVERS
15.3
UNIVERS base processing software API
|
#include <project_sel_dlg.hpp>
Public Member Functions | |
ProjectSelDlg (QWidget *parent=0, Qt::WindowFlags f=0) | |
virtual | ~ProjectSelDlg () |
virtual void | update () |
QString | current () const |
void | setCurrent (const QString &project) |
Public Member Functions inherited from hds::SelectionDialog | |
SelectionDialog (QWidget *parent=0, Qt::WindowFlags f=0) | |
virtual | ~SelectionDialog () |
int | operator() () |
Public Member Functions inherited from hds::Dialog | |
Dialog (QWidget *parent=0, Qt::WindowFlags f=0) | |
virtual | ~Dialog () |
virtual void | show () |
virtual void | showModal () |
virtual void | hide () |
virtual int | exec () |
void | setButtonsMask (int mask) |
int | buttonsMask () const |
QWidget & | mainWidget () |
Protected Slots | |
void | itemDoubleClickedSlot (QListWidgetItem *item) |
Protected Member Functions | |
ListSelectorWid & | selWid () |
const ListSelectorWid & | selWid () const |
Protected Member Functions inherited from hds::SelectionDialog | |
QGridLayout & | mainGridLayout () |
Protected Member Functions inherited from hds::Dialog | |
virtual void | buttonClicked (const hds::Dialog::Button &button_type) |
Protected Attributes | |
ListSelectorWid * | mp_sel_wid |
Additional Inherited Members | |
Public Types inherited from hds::Dialog | |
enum | Button { OK_BUTTON = 1, APPLY_BUTTON = 2, CANCEL_BUTTON = 4 } |
Project selection dialog.
hds::ProjectSelDlg::ProjectSelDlg | ( | QWidget * | parent = 0 , |
Qt::WindowFlags | f = 0 |
||
) |
Default constructor of the dialog.
|
virtual |
Destructor.
QString hds::ProjectSelDlg::current | ( | ) | const |
Current selected project, null string if not selected.
|
protectedslot |
Double click on list item.
|
inlineprotected |
Access to list selection widget.
|
inlineprotected |
Access to list selection widget.
void hds::ProjectSelDlg::setCurrent | ( | const QString & | project | ) |
Set project with provided name as current project.
Do nothing if no such project.
|
virtual |
Update list of projects in the dialog. Should be used
before selection if projects changed in the disk.
Reimplemented from hds::SelectionDialog.
|
protected |
List selector widget widget.