@@ -0,0 +1,26 | |||||
|
1 | #ifndef SCIQLOP_VARIABLEINSPECTORWIDGET_H | |||
|
2 | #define SCIQLOP_VARIABLEINSPECTORWIDGET_H | |||
|
3 | ||||
|
4 | #include <QWidget> | |||
|
5 | ||||
|
6 | namespace Ui { | |||
|
7 | class VariableInspectorWidget; | |||
|
8 | } // Ui | |||
|
9 | ||||
|
10 | /** | |||
|
11 | * @brief The VariableInspectorWidget class representes represents the variable inspector, from | |||
|
12 | * which it is possible to view the loaded variables, handle them or trigger their display in | |||
|
13 | * visualization | |||
|
14 | */ | |||
|
15 | class VariableInspectorWidget : public QWidget { | |||
|
16 | Q_OBJECT | |||
|
17 | ||||
|
18 | public: | |||
|
19 | explicit VariableInspectorWidget(QWidget *parent = 0); | |||
|
20 | virtual ~VariableInspectorWidget(); | |||
|
21 | ||||
|
22 | private: | |||
|
23 | Ui::VariableInspectorWidget *ui; | |||
|
24 | }; | |||
|
25 | ||||
|
26 | #endif // SCIQLOP_VARIABLEINSPECTORWIDGET_H |
@@ -0,0 +1,14 | |||||
|
1 | #include <Variable/VariableInspectorWidget.h> | |||
|
2 | ||||
|
3 | #include <ui_VariableInspectorWidget.h> | |||
|
4 | ||||
|
5 | VariableInspectorWidget::VariableInspectorWidget(QWidget *parent) | |||
|
6 | : QWidget{parent}, ui{new Ui::VariableInspectorWidget} | |||
|
7 | { | |||
|
8 | ui->setupUi(this); | |||
|
9 | } | |||
|
10 | ||||
|
11 | VariableInspectorWidget::~VariableInspectorWidget() | |||
|
12 | { | |||
|
13 | delete ui; | |||
|
14 | } |
@@ -0,0 +1,31 | |||||
|
1 | <?xml version="1.0" encoding="UTF-8"?> | |||
|
2 | <ui version="4.0"> | |||
|
3 | <class>VariableInspectorWidget</class> | |||
|
4 | <widget class="QWidget" name="VariableInspectorWidget"> | |||
|
5 | <property name="geometry"> | |||
|
6 | <rect> | |||
|
7 | <x>0</x> | |||
|
8 | <y>0</y> | |||
|
9 | <width>400</width> | |||
|
10 | <height>300</height> | |||
|
11 | </rect> | |||
|
12 | </property> | |||
|
13 | <property name="windowTitle"> | |||
|
14 | <string>Variables</string> | |||
|
15 | </property> | |||
|
16 | <layout class="QGridLayout" name="gridLayout"> | |||
|
17 | <item row="0" column="0"> | |||
|
18 | <widget class="QTableView" name="tableView"> | |||
|
19 | <property name="sortingEnabled"> | |||
|
20 | <bool>true</bool> | |||
|
21 | </property> | |||
|
22 | <attribute name="horizontalHeaderStretchLastSection"> | |||
|
23 | <bool>true</bool> | |||
|
24 | </attribute> | |||
|
25 | </widget> | |||
|
26 | </item> | |||
|
27 | </layout> | |||
|
28 | </widget> | |||
|
29 | <resources/> | |||
|
30 | <connections/> | |||
|
31 | </ui> |
@@ -77,7 +77,7 | |||||
77 | <widget class="QWidget" name="dateTimeWidget" native="true"/> |
|
77 | <widget class="QWidget" name="dateTimeWidget" native="true"/> | |
78 | </item> |
|
78 | </item> | |
79 | <item> |
|
79 | <item> | |
80 |
<widget class=" |
|
80 | <widget class="VariableInspectorWidget" name="variableInspectorWidget" native="true"/> | |
81 | </item> |
|
81 | </item> | |
82 | </layout> |
|
82 | </layout> | |
83 | </widget> |
|
83 | </widget> | |
@@ -126,7 +126,7 | |||||
126 | <x>0</x> |
|
126 | <x>0</x> | |
127 | <y>0</y> |
|
127 | <y>0</y> | |
128 | <width>800</width> |
|
128 | <width>800</width> | |
129 |
<height>2 |
|
129 | <height>26</height> | |
130 | </rect> |
|
130 | </rect> | |
131 | </property> |
|
131 | </property> | |
132 | </widget> |
|
132 | </widget> | |
@@ -152,6 +152,12 | |||||
152 | <header location="global">DataSource/DataSourceWidget.h</header> |
|
152 | <header location="global">DataSource/DataSourceWidget.h</header> | |
153 | <container>1</container> |
|
153 | <container>1</container> | |
154 | </customwidget> |
|
154 | </customwidget> | |
|
155 | <customwidget> | |||
|
156 | <class>VariableInspectorWidget</class> | |||
|
157 | <extends>QWidget</extends> | |||
|
158 | <header location="global">Variable/VariableInspectorWidget.h</header> | |||
|
159 | <container>1</container> | |||
|
160 | </customwidget> | |||
155 | </customwidgets> |
|
161 | </customwidgets> | |
156 | <resources/> |
|
162 | <resources/> | |
157 | <connections/> |
|
163 | <connections/> |
General Comments 0
You need to be logged in to leave comments.
Login now