|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <ui version="4.0"> |
|
3 <class>HgQueuesDefineGuardsDialog</class> |
|
4 <widget class="QDialog" name="HgQueuesDefineGuardsDialog"> |
|
5 <property name="geometry"> |
|
6 <rect> |
|
7 <x>0</x> |
|
8 <y>0</y> |
|
9 <width>400</width> |
|
10 <height>434</height> |
|
11 </rect> |
|
12 </property> |
|
13 <property name="windowTitle"> |
|
14 <string>Define Guards</string> |
|
15 </property> |
|
16 <property name="sizeGripEnabled"> |
|
17 <bool>true</bool> |
|
18 </property> |
|
19 <layout class="QVBoxLayout" name="verticalLayout"> |
|
20 <item> |
|
21 <widget class="QLabel" name="label"> |
|
22 <property name="text"> |
|
23 <string>Select patch (leave empty for current patch):</string> |
|
24 </property> |
|
25 </widget> |
|
26 </item> |
|
27 <item> |
|
28 <widget class="QComboBox" name="patchSelector"> |
|
29 <property name="toolTip"> |
|
30 <string>Select the patch to show the guards of</string> |
|
31 </property> |
|
32 </widget> |
|
33 </item> |
|
34 <item> |
|
35 <widget class="Line" name="line"> |
|
36 <property name="orientation"> |
|
37 <enum>Qt::Horizontal</enum> |
|
38 </property> |
|
39 </widget> |
|
40 </item> |
|
41 <item> |
|
42 <layout class="QHBoxLayout" name="horizontalLayout_3"> |
|
43 <item> |
|
44 <widget class="QLabel" name="label_3"> |
|
45 <property name="text"> |
|
46 <string>Patch:</string> |
|
47 </property> |
|
48 </widget> |
|
49 </item> |
|
50 <item> |
|
51 <widget class="QLabel" name="patchNameLabel"> |
|
52 <property name="sizePolicy"> |
|
53 <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> |
|
54 <horstretch>0</horstretch> |
|
55 <verstretch>0</verstretch> |
|
56 </sizepolicy> |
|
57 </property> |
|
58 <property name="toolTip"> |
|
59 <string>Shows the name of the patch</string> |
|
60 </property> |
|
61 <property name="text"> |
|
62 <string/> |
|
63 </property> |
|
64 </widget> |
|
65 </item> |
|
66 </layout> |
|
67 </item> |
|
68 <item> |
|
69 <widget class="QListWidget" name="guardsList"> |
|
70 <property name="toolTip"> |
|
71 <string>This shows the list of guards to be defined for the selected patch</string> |
|
72 </property> |
|
73 <property name="alternatingRowColors"> |
|
74 <bool>true</bool> |
|
75 </property> |
|
76 <property name="selectionMode"> |
|
77 <enum>QAbstractItemView::ExtendedSelection</enum> |
|
78 </property> |
|
79 </widget> |
|
80 </item> |
|
81 <item> |
|
82 <layout class="QHBoxLayout" name="horizontalLayout"> |
|
83 <item> |
|
84 <widget class="QRadioButton" name="plusButton"> |
|
85 <property name="toolTip"> |
|
86 <string>Select to define a positive guard</string> |
|
87 </property> |
|
88 <property name="text"> |
|
89 <string/> |
|
90 </property> |
|
91 <property name="checked"> |
|
92 <bool>true</bool> |
|
93 </property> |
|
94 </widget> |
|
95 </item> |
|
96 <item> |
|
97 <widget class="QRadioButton" name="minusButton"> |
|
98 <property name="toolTip"> |
|
99 <string>Select to define a negative guard</string> |
|
100 </property> |
|
101 <property name="text"> |
|
102 <string/> |
|
103 </property> |
|
104 </widget> |
|
105 </item> |
|
106 <item> |
|
107 <widget class="QComboBox" name="guardCombo"> |
|
108 <property name="sizePolicy"> |
|
109 <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
|
110 <horstretch>0</horstretch> |
|
111 <verstretch>0</verstretch> |
|
112 </sizepolicy> |
|
113 </property> |
|
114 <property name="toolTip"> |
|
115 <string>Enter the guard name</string> |
|
116 </property> |
|
117 <property name="editable"> |
|
118 <bool>true</bool> |
|
119 </property> |
|
120 <property name="insertPolicy"> |
|
121 <enum>QComboBox::InsertAlphabetically</enum> |
|
122 </property> |
|
123 </widget> |
|
124 </item> |
|
125 <item> |
|
126 <widget class="QPushButton" name="addButton"> |
|
127 <property name="toolTip"> |
|
128 <string>Press to add the guard to the list or change it</string> |
|
129 </property> |
|
130 <property name="text"> |
|
131 <string>Add/Change</string> |
|
132 </property> |
|
133 </widget> |
|
134 </item> |
|
135 </layout> |
|
136 </item> |
|
137 <item> |
|
138 <widget class="QPushButton" name="removeButton"> |
|
139 <property name="toolTip"> |
|
140 <string>Press to remove the selected guards from the list</string> |
|
141 </property> |
|
142 <property name="text"> |
|
143 <string>Remove</string> |
|
144 </property> |
|
145 </widget> |
|
146 </item> |
|
147 <item> |
|
148 <widget class="QDialogButtonBox" name="buttonBox"> |
|
149 <property name="orientation"> |
|
150 <enum>Qt::Horizontal</enum> |
|
151 </property> |
|
152 <property name="standardButtons"> |
|
153 <set>QDialogButtonBox::Apply|QDialogButtonBox::Close</set> |
|
154 </property> |
|
155 </widget> |
|
156 </item> |
|
157 </layout> |
|
158 </widget> |
|
159 <tabstops> |
|
160 <tabstop>patchSelector</tabstop> |
|
161 <tabstop>guardsList</tabstop> |
|
162 <tabstop>plusButton</tabstop> |
|
163 <tabstop>minusButton</tabstop> |
|
164 <tabstop>guardCombo</tabstop> |
|
165 <tabstop>addButton</tabstop> |
|
166 <tabstop>removeButton</tabstop> |
|
167 <tabstop>buttonBox</tabstop> |
|
168 </tabstops> |
|
169 <resources/> |
|
170 <connections> |
|
171 <connection> |
|
172 <sender>buttonBox</sender> |
|
173 <signal>accepted()</signal> |
|
174 <receiver>HgQueuesDefineGuardsDialog</receiver> |
|
175 <slot>accept()</slot> |
|
176 <hints> |
|
177 <hint type="sourcelabel"> |
|
178 <x>222</x> |
|
179 <y>419</y> |
|
180 </hint> |
|
181 <hint type="destinationlabel"> |
|
182 <x>157</x> |
|
183 <y>274</y> |
|
184 </hint> |
|
185 </hints> |
|
186 </connection> |
|
187 <connection> |
|
188 <sender>buttonBox</sender> |
|
189 <signal>rejected()</signal> |
|
190 <receiver>HgQueuesDefineGuardsDialog</receiver> |
|
191 <slot>reject()</slot> |
|
192 <hints> |
|
193 <hint type="sourcelabel"> |
|
194 <x>290</x> |
|
195 <y>425</y> |
|
196 </hint> |
|
197 <hint type="destinationlabel"> |
|
198 <x>286</x> |
|
199 <y>274</y> |
|
200 </hint> |
|
201 </hints> |
|
202 </connection> |
|
203 </connections> |
|
204 </ui> |