ImageD  v2_7_5 (24.06.22)
ImageD is an image processing software designed for rapid prototyping and implementing algorithms and solutions for science, research and teaching.
d_popup_listselect.h
Go to the documentation of this file.
1 /************************************
2  * added: 09.12.2019 *
3  * author: David Eilenstein *
4  * contact: D.Eilenstein@gsi.de *
5  * project: ImageD *
6  * facility: GSI Darmstadt, Ger *
7  ************************************/
8 
9 #ifndef D_POPUP_LISTSELECT_H
10 #define D_POPUP_LISTSELECT_H
11 
12 //own
13 #include <d_enum.h>
14 
15 //general
16 #include <vector>
17 
18 //Qt
19 #include <QDialog>
20 #include <QString>
21 #include <QStringList>
22 #include <QDebug>
23 #include <QMessageBox>
24 
25 //namespaces
26 using namespace std;
27 
28 namespace Ui {
29 class D_Popup_ListSelect;
30 }
31 
36 class D_Popup_ListSelect : public QDialog
37 {
38  Q_OBJECT
39 
40 public:
41  explicit D_Popup_ListSelect(QString Title, int *index, QStringList Names, int init_index, QWidget *parent = nullptr);
43 
44 private slots:
45  void on_pushButton_Done_clicked();
46 
47  void on_comboBox_List_currentIndexChanged(int index);
48 
49 private:
50  Ui::D_Popup_ListSelect *ui;
51  int *index_selected;
52  QStringList QSL_Names;};
53 
54 #endif // D_POPUP_LISTSELECT_H
D_Popup_ListSelect::D_Popup_ListSelect
D_Popup_ListSelect(QString Title, int *index, QStringList Names, int init_index, QWidget *parent=nullptr)
Definition: d_popup_listselect.cpp:12
D_Popup_ListSelect::~D_Popup_ListSelect
~D_Popup_ListSelect()
Definition: d_popup_listselect.cpp:30
D_Popup_ListSelect
The D_Popup_ListSelect class Lets the user choose an entry from a QStringList
Definition: d_popup_listselect.h:37
Ui
Definition: d_analysiswindow.h:58
d_popup_listselect.h
d_enum.h