MNE-CPP  beta 1.0
settingswidget.h
1 #ifndef SETTINGSWIDGET_H
2 #define SETTINGSWIDGET_H
3 
4 
5 //*************************************************************************************************************
6 //=============================================================================================================
7 // QT INCLUDES
8 //=============================================================================================================
9 
10 #include <QtWidgets>
11 //#include <QtWidgets>
12 #include <QtSerialPort/QSerialPort>
13 //#include <QtSerialPort/QSerialPortInfo>
14 
15 //*************************************************************************************************************
16 //=============================================================================================================
17 // USED NAMESPACES
18 //=============================================================================================================
19 
20 
21 //*************************************************************************************************************
22 //=============================================================================================================
23 // FORWARD DECLARATIONS
24 //=============================================================================================================
25 
26 namespace Ui {
27 class SettingsWidget;
28 }
29 
30 
31 //*************************************************************************************************************
32 //=============================================================================================================
33 // DEFINE NAMESPACE TriggerControlPlugin
34 //=============================================================================================================
35 
36 namespace TriggerControlPlugin
37 {
38 
39 
40 //*************************************************************************************************************
41 //=============================================================================================================
42 // FORWARD DECLARATIONS
43 //=============================================================================================================
44 
45 class TriggerControl;
46 
47 //=============================================================================================================
53 class SettingsWidget : public QDialog
54 {
55  Q_OBJECT
56 
57 public:
58 
59  //=========================================================================================================
67  explicit SettingsWidget(QWidget *parent = 0);
68 
69  //=========================================================================================================
75 
76 
77 
78 private slots:
79  //=========================================================================================================
84  void showPortInfo(int idx);
85 
86  //=========================================================================================================
91  void apply();
92 
93 private:
94  //=========================================================================================================
99  void fillPortsParameters();
100  //=========================================================================================================
105  void fillPortsInfo();
106  //=========================================================================================================
111  void updateSettings();
112 
113 
114 
115  Ui::SettingsWidget *ui;
117 };
118 
119 } // NAMESPACE
120 
121 #endif // SETTINGSWIDGET_H
Definition: aboutwindow.h:52
The TriggerControlSetupWidget class provides the TriggerControlToolbox configuration window...