UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | List of all members
hds::ProjectSelDlg Class Reference

#include <project_sel_dlg.hpp>

Inheritance diagram for hds::ProjectSelDlg:
hds::SelectionDialog hds::Dialog

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

ListSelectorWidselWid ()
 
const ListSelectorWidselWid () 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

ListSelectorWidmp_sel_wid
 

Additional Inherited Members

- Public Types inherited from hds::Dialog
enum  Button { OK_BUTTON = 1, APPLY_BUTTON = 2, CANCEL_BUTTON = 4 }
 

Detailed Description

Project selection dialog.

Constructor & Destructor Documentation

hds::ProjectSelDlg::ProjectSelDlg ( QWidget *  parent = 0,
Qt::WindowFlags  f = 0 
)

Default constructor of the dialog.

virtual hds::ProjectSelDlg::~ProjectSelDlg ( )
virtual

Destructor.

Member Function Documentation

QString hds::ProjectSelDlg::current ( ) const

Current selected project, null string if not selected.

void hds::ProjectSelDlg::itemDoubleClickedSlot ( QListWidgetItem *  item)
protectedslot

Double click on list item.

ListSelectorWid& hds::ProjectSelDlg::selWid ( )
inlineprotected

Access to list selection widget.

const ListSelectorWid& hds::ProjectSelDlg::selWid ( ) const
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 void hds::ProjectSelDlg::update ( )
virtual
Update list of projects in the dialog. Should be used

before selection if projects changed in the disk.

Reimplemented from hds::SelectionDialog.

Member Data Documentation

ListSelectorWid* hds::ProjectSelDlg::mp_sel_wid
protected

List selector widget widget.


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