1 <?xml version="1.0" encoding="UTF-8"?> |
1 <?xml version="1.0" encoding="UTF-8"?> |
2 <ui version="4.0"> |
2 <ui version="4.0"> |
3 <class>MqttUserPropertiesEditor</class> |
3 <class>MqttUserPropertiesEditor</class> |
4 <widget class="QDialog" name="MqttUserPropertiesEditor"> |
4 <widget class="QWidget" name="MqttUserPropertiesEditor"> |
5 <property name="geometry"> |
5 <property name="geometry"> |
6 <rect> |
6 <rect> |
7 <x>0</x> |
7 <x>0</x> |
8 <y>0</y> |
8 <y>0</y> |
9 <width>400</width> |
9 <width>400</width> |
10 <height>350</height> |
10 <height>250</height> |
11 </rect> |
11 </rect> |
12 </property> |
12 </property> |
13 <property name="windowTitle"> |
13 <property name="windowTitle"> |
14 <string>User Properties</string> |
14 <string>User Properties</string> |
15 </property> |
15 </property> |
16 <property name="sizeGripEnabled"> |
16 <property name="sizeGripEnabled" stdset="0"> |
17 <bool>true</bool> |
17 <bool>true</bool> |
18 </property> |
18 </property> |
19 <layout class="QGridLayout" name="gridLayout"> |
19 <layout class="QHBoxLayout" name="horizontalLayout"> |
20 <item row="0" column="0" colspan="2"> |
20 <property name="leftMargin"> |
21 <widget class="QLabel" name="headerLabel"> |
21 <number>0</number> |
22 <property name="text"> |
22 </property> |
23 <string/> |
23 <property name="topMargin"> |
24 </property> |
24 <number>0</number> |
25 <property name="wordWrap"> |
25 </property> |
26 <bool>true</bool> |
26 <property name="rightMargin"> |
27 </property> |
27 <number>0</number> |
28 </widget> |
28 </property> |
29 </item> |
29 <property name="bottomMargin"> |
30 <item row="1" column="0"> |
30 <number>0</number> |
|
31 </property> |
|
32 <item> |
31 <widget class="QTableWidget" name="propertiesTable"> |
33 <widget class="QTableWidget" name="propertiesTable"> |
32 <property name="alternatingRowColors"> |
34 <property name="alternatingRowColors"> |
33 <bool>true</bool> |
35 <bool>true</bool> |
34 </property> |
36 </property> |
35 <property name="selectionBehavior"> |
37 <property name="selectionBehavior"> |
64 <string>Value</string> |
66 <string>Value</string> |
65 </property> |
67 </property> |
66 </column> |
68 </column> |
67 </widget> |
69 </widget> |
68 </item> |
70 </item> |
69 <item row="1" column="1"> |
71 <item> |
70 <layout class="QVBoxLayout" name="verticalLayout"> |
72 <layout class="QVBoxLayout" name="verticalLayout"> |
71 <item> |
73 <item> |
72 <widget class="QToolButton" name="addButton"> |
74 <widget class="QToolButton" name="addButton"> |
73 <property name="toolTip"> |
75 <property name="toolTip"> |
74 <string>Press to add a new empty row</string> |
76 <string>Press to add a new empty row</string> |
111 </property> |
113 </property> |
112 </spacer> |
114 </spacer> |
113 </item> |
115 </item> |
114 </layout> |
116 </layout> |
115 </item> |
117 </item> |
116 <item row="2" column="0" colspan="2"> |
|
117 <widget class="QDialogButtonBox" name="buttonBox"> |
|
118 <property name="orientation"> |
|
119 <enum>Qt::Horizontal</enum> |
|
120 </property> |
|
121 <property name="standardButtons"> |
|
122 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
|
123 </property> |
|
124 </widget> |
|
125 </item> |
|
126 </layout> |
118 </layout> |
127 </widget> |
119 </widget> |
128 <resources/> |
120 <resources/> |
129 <connections> |
121 <connections/> |
130 <connection> |
|
131 <sender>buttonBox</sender> |
|
132 <signal>accepted()</signal> |
|
133 <receiver>MqttUserPropertiesEditor</receiver> |
|
134 <slot>accept()</slot> |
|
135 <hints> |
|
136 <hint type="sourcelabel"> |
|
137 <x>248</x> |
|
138 <y>254</y> |
|
139 </hint> |
|
140 <hint type="destinationlabel"> |
|
141 <x>157</x> |
|
142 <y>274</y> |
|
143 </hint> |
|
144 </hints> |
|
145 </connection> |
|
146 <connection> |
|
147 <sender>buttonBox</sender> |
|
148 <signal>rejected()</signal> |
|
149 <receiver>MqttUserPropertiesEditor</receiver> |
|
150 <slot>reject()</slot> |
|
151 <hints> |
|
152 <hint type="sourcelabel"> |
|
153 <x>316</x> |
|
154 <y>260</y> |
|
155 </hint> |
|
156 <hint type="destinationlabel"> |
|
157 <x>286</x> |
|
158 <y>274</y> |
|
159 </hint> |
|
160 </hints> |
|
161 </connection> |
|
162 </connections> |
|
163 </ui> |
122 </ui> |