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_feedbackrequest.h
Go to the documentation of this file.
1 /************************************
2  * added: 29.09.2020 *
3  * author: David Eilenstein *
4  * contact: D.Eilenstein@gsi.de *
5  * project: ImageD *
6  * facility: GSI Darmstadt, Ger *
7  ************************************/
8 
9 #ifndef D_POPUP_FEEDBACKREQUEST_H
10 #define D_POPUP_FEEDBACKREQUEST_H
11 
12 //own
13 #include <d_enum.h>
14 #include <d_storage.h>
15 
16 //general
17 #include <vector>
18 
19 //Qt
20 #include <QDialog>
21 #include <QString>
22 #include <QStringList>
23 #include <QDebug>
24 #include <QMessageBox>
25 #include <QComboBox>
26 #include <QDesktopServices>
27 
28 //namespaces
29 using namespace std;
30 
31 namespace Ui {
33 }
34 
39 class D_Popup_FeedbackRequest : public QDialog
40 {
41  Q_OBJECT
42 
43 public:
44  explicit D_Popup_FeedbackRequest(D_Storage *pStorage, QWidget *parent = nullptr);
46 
47 private slots:
48  void on_pushButton_Send_clicked();
49  void on_pushButton_Remind_clicked();
50 
51 private:
52  Ui::D_Popup_FeedbackRequest *ui;
53 
54  void Populate_CB_Single(QComboBox *CB, QStringList QSL, int init_index = 0);
55  void Populate_CB_All();
56 
57  D_Storage *pStore;
58  int use_counter = 0;
59 };
60 
61 #endif // D_POPUP_FEEDBACKREQUEST_H
D_Storage::set_FeedbackIsSent
void set_FeedbackIsSent(bool sent)
Definition: d_storage.cpp:72
D_QS_Version
const QString D_QS_Version
Definition: d_enum.h:18
D_Storage
The D_Storage class Used for storing data. There is only one instance in D_MainWindow .
Definition: d_storage.h:49
D_Popup_FeedbackRequest::D_Popup_FeedbackRequest
D_Popup_FeedbackRequest(D_Storage *pStorage, QWidget *parent=nullptr)
Definition: d_popup_feedbackrequest.cpp:12
D_Popup_FeedbackRequest
The D_Popup_FeedbackRequest class Popup that askes the user for feedback about ImageD.
Definition: d_popup_feedbackrequest.h:40
D_QS_Release
const QString D_QS_Release
Definition: d_enum.h:19
D_Storage::set_ReminderNextAt
void set_ReminderNextAt(int reminderAt)
Definition: d_storage.cpp:61
D_Storage::get_UseCounter
int get_UseCounter()
Definition: d_storage.cpp:34
d_popup_feedbackrequest.h
QSL_Counties
const QStringList QSL_Counties
Definition: d_enum.h:2318
Ui
Definition: d_analysiswindow.h:58
d_storage.h
D_Popup_FeedbackRequest::~D_Popup_FeedbackRequest
~D_Popup_FeedbackRequest()
Definition: d_popup_feedbackrequest.cpp:36
d_enum.h