MqttMonitor/MqttUserPropertiesEditor.ui

branch
eric7
changeset 102
70b8858199f5
child 103
5fe4f179975f
equal deleted inserted replaced
101:0eae5f616154 102:70b8858199f5
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>MqttUserPropertiesEditor</class>
4 <widget class="QDialog" name="MqttUserPropertiesEditor">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>400</width>
10 <height>350</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>User Properties</string>
15 </property>
16 <property name="sizeGripEnabled">
17 <bool>true</bool>
18 </property>
19 <layout class="QGridLayout" name="gridLayout">
20 <item row="0" column="0" colspan="2">
21 <widget class="QLabel" name="headerLabel">
22 <property name="text">
23 <string/>
24 </property>
25 <property name="wordWrap">
26 <bool>true</bool>
27 </property>
28 </widget>
29 </item>
30 <item row="1" column="0">
31 <widget class="QTableWidget" name="propertiesTable">
32 <property name="alternatingRowColors">
33 <bool>true</bool>
34 </property>
35 <property name="selectionBehavior">
36 <enum>QAbstractItemView::SelectRows</enum>
37 </property>
38 <property name="rowCount">
39 <number>10</number>
40 </property>
41 <property name="columnCount">
42 <number>2</number>
43 </property>
44 <attribute name="horizontalHeaderStretchLastSection">
45 <bool>true</bool>
46 </attribute>
47 <row/>
48 <row/>
49 <row/>
50 <row/>
51 <row/>
52 <row/>
53 <row/>
54 <row/>
55 <row/>
56 <row/>
57 <column>
58 <property name="text">
59 <string>Key</string>
60 </property>
61 </column>
62 <column>
63 <property name="text">
64 <string>Value</string>
65 </property>
66 </column>
67 </widget>
68 </item>
69 <item row="1" column="1">
70 <layout class="QVBoxLayout" name="verticalLayout">
71 <item>
72 <widget class="QToolButton" name="addButton">
73 <property name="toolTip">
74 <string>Press to add a new empty row</string>
75 </property>
76 <property name="text">
77 <string/>
78 </property>
79 </widget>
80 </item>
81 <item>
82 <widget class="QToolButton" name="deleteButton">
83 <property name="toolTip">
84 <string>Press to delete the selected properties</string>
85 </property>
86 <property name="text">
87 <string/>
88 </property>
89 </widget>
90 </item>
91 <item>
92 <widget class="QToolButton" name="clearButton">
93 <property name="toolTip">
94 <string>Press to delete all properties</string>
95 </property>
96 <property name="text">
97 <string/>
98 </property>
99 </widget>
100 </item>
101 <item>
102 <spacer name="verticalSpacer">
103 <property name="orientation">
104 <enum>Qt::Vertical</enum>
105 </property>
106 <property name="sizeHint" stdset="0">
107 <size>
108 <width>20</width>
109 <height>40</height>
110 </size>
111 </property>
112 </spacer>
113 </item>
114 </layout>
115 </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>
127 </widget>
128 <resources/>
129 <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>

eric ide

mercurial