UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
project_sel_dlg.hpp
1 /* project_sel_dlg.hpp */
2 /* $Id$ */
3 #ifndef __project_sel_dlg_hpp
4 #define __project_sel_dlg_hpp
5 
6 #include <hds_widgets/selection_dialog.hpp>
7 #include <hds_widgets/list_selector_wid.hpp>
8 
9 
11 namespace hds
12 {
15  {
16  Q_OBJECT
17 
18  public:
19 
21  ProjectSelDlg(QWidget *parent = 0, Qt::WindowFlags f = 0);
22 
24  virtual ~ProjectSelDlg();
25 
26 
29  virtual void update();
30 
31 
33  QString current() const;
34 
37  void setCurrent(const QString &project);
38 
39  protected:
40 
43 
46 
48  const ListSelectorWid& selWid() const {return *mp_sel_wid;}
49 
50  protected slots:
51 
53  void itemDoubleClickedSlot(QListWidgetItem *item);
54  };
55 };
56 
57 #endif /* project_sel_dlg.hpp */
void setCurrent(const QString &project)
void itemDoubleClickedSlot(QListWidgetItem *item)
Definition: selection_dialog.hpp:14
virtual void update()
Definition: list_selector_wid.hpp:14
ProjectSelDlg(QWidget *parent=0, Qt::WindowFlags f=0)
virtual ~ProjectSelDlg()
Definition: project_sel_dlg.hpp:14
QString current() const
ListSelectorWid * mp_sel_wid
Definition: project_sel_dlg.hpp:42
const ListSelectorWid & selWid() const
Definition: project_sel_dlg.hpp:48
ListSelectorWid & selWid()
Definition: project_sel_dlg.hpp:45