Qt: Add back pathLabel in some dialogs
[metze/wireshark/wip.git] / ui / qt / coloring_rules_dialog.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>ColoringRulesDialog</class>
4  <widget class="QDialog" name="ColoringRulesDialog">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>650</width>
10     <height>480</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string>Dialog</string>
15   </property>
16   <layout class="QVBoxLayout" name="verticalLayout">
17    <item>
18     <widget class="TabnavTreeView" name="coloringRulesTreeView">
19      <property name="selectionMode">
20       <enum>QAbstractItemView::ExtendedSelection</enum>
21      </property>
22      <property name="textElideMode">
23       <enum>Qt::ElideMiddle</enum>
24      </property>
25      <property name="rootIsDecorated">
26       <bool>false</bool>
27      </property>
28      <property name="uniformRowHeights">
29       <bool>true</bool>
30      </property>
31      <property name="itemsExpandable">
32       <bool>false</bool>
33      </property>
34      <property name="expandsOnDoubleClick">
35       <bool>false</bool>
36      </property>
37      <property name="dragEnabled">
38       <bool>true</bool>
39      </property>
40      <property name="DropIndicatorShown">
41       <bool>true</bool>
42      </property>
43      <property name="dragDropMode">
44       <enum>QAbstractItemView::InternalMove</enum>
45      </property>
46     </widget>
47    </item>
48    <item>
49     <widget class="QLabel" name="hintLabel">
50      <property name="text">
51       <string>&lt;small&gt;&lt;i&gt;A hint.&lt;/i&gt;&lt;/small&gt;</string>
52      </property>
53      <property name="wordWrap">
54       <bool>true</bool>
55      </property>
56     </widget>
57    </item>
58    <item>
59     <layout class="QHBoxLayout" name="horizontalLayout" stretch="0,0,0,0,0,0,0,0,1">
60      <item>
61       <widget class="QToolButton" name="newToolButton">
62        <property name="toolTip">
63         <string>Add a new coloring rule.</string>
64        </property>
65        <property name="text">
66         <string/>
67        </property>
68        <property name="icon">
69         <iconset resource="../../image/stock_icons.qrc">
70          <normaloff>:/stock/plus-8.png</normaloff>:/stock/plus-8.png</iconset>
71        </property>
72       </widget>
73      </item>
74      <item>
75       <widget class="QToolButton" name="deleteToolButton">
76        <property name="toolTip">
77         <string>Delete this coloring rule.</string>
78        </property>
79        <property name="text">
80         <string/>
81        </property>
82        <property name="icon">
83         <iconset resource="../../image/stock_icons.qrc">
84          <normaloff>:/stock/minus-8.png</normaloff>:/stock/minus-8.png</iconset>
85        </property>
86        <property name="enabled">
87         <bool>false</bool>
88        </property>
89       </widget>
90      </item>
91      <item>
92       <widget class="QToolButton" name="copyToolButton">
93        <property name="toolTip">
94         <string>Duplicate this coloring rule.</string>
95        </property>
96        <property name="icon">
97         <iconset resource="../../image/stock_icons.qrc">
98          <normaloff>:/stock/copy-8.png</normaloff>:/stock/copy-8.png</iconset>
99        </property>
100        <property name="enabled">
101         <bool>false</bool>
102        </property>
103       </widget>
104      </item>
105      <item>
106       <widget class="QToolButton" name="clearToolButton">
107        <property name="toolTip">
108         <string>Clear all coloring rules.</string>
109        </property>
110        <property name="icon">
111         <iconset resource="../../image/stock_icons.qrc">
112          <normaloff>:/stock/delete_list.png</normaloff>:/stock/delete_list.png</iconset>
113        </property>
114        <property name="enabled">
115         <bool>false</bool>
116        </property>
117       </widget>
118      </item>
119      <item>
120       <widget class="QPushButton" name="fGPushButton">
121        <property name="toolTip">
122         <string>Set the foreground color for this rule.</string>
123        </property>
124        <property name="styleSheet">
125         <string notr="true">QPushButton { border: 1px solid palette(Dark); }</string>
126        </property>
127        <property name="text">
128         <string>Foreground</string>
129        </property>
130        <property name="autoDefault">
131         <bool>false</bool>
132        </property>
133        <property name="flat">
134         <bool>true</bool>
135        </property>
136        <property name="visible">
137         <bool>false</bool>
138        </property>
139       </widget>
140      </item>
141      <item>
142       <widget class="QPushButton" name="bGPushButton">
143        <property name="toolTip">
144         <string>Set the background color for this rule.</string>
145        </property>
146        <property name="styleSheet">
147         <string notr="true">QPushButton { border: 1px solid palette(Dark); }</string>
148        </property>
149        <property name="text">
150         <string>Background</string>
151        </property>
152        <property name="autoDefault">
153         <bool>false</bool>
154        </property>
155        <property name="flat">
156         <bool>true</bool>
157        </property>
158        <property name="visible">
159         <bool>false</bool>
160        </property>
161       </widget>
162      </item>
163      <item>
164       <widget class="QPushButton" name="displayFilterPushButton">
165        <property name="toolTip">
166         <string>Set the display filter using this rule.</string>
167        </property>
168        <property name="text">
169         <string>Apply as filter</string>
170        </property>
171        <property name="autoDefault">
172         <bool>false</bool>
173        </property>
174        <property name="visible">
175         <bool>false</bool>
176        </property>
177       </widget>
178      </item>
179      <item>
180       <spacer name="horizontalSpacer">
181        <property name="orientation">
182         <enum>Qt::Horizontal</enum>
183        </property>
184        <property name="sizeHint" stdset="0">
185         <size>
186          <width>40</width>
187          <height>20</height>
188         </size>
189        </property>
190       </spacer>
191      </item>
192      <item>
193       <widget class="ElidedLabel" name="pathLabel">
194        <property name="sizePolicy">
195         <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
196          <horstretch>1</horstretch>
197          <verstretch>0</verstretch>
198         </sizepolicy>
199        </property>
200        <property name="text">
201         <string/>
202        </property>
203        <property name="alignment">
204         <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
205        </property>
206        <property name="openExternalLinks">
207         <bool>true</bool>
208        </property>
209       </widget>
210      </item>
211     </layout>
212    </item>
213    <item>
214     <widget class="QDialogButtonBox" name="buttonBox">
215      <property name="orientation">
216       <enum>Qt::Horizontal</enum>
217      </property>
218      <property name="standardButtons">
219       <set>QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Ok</set>
220      </property>
221     </widget>
222    </item>
223   </layout>
224  </widget>
225  <customwidgets>
226   <customwidget>
227    <class>TabnavTreeView</class>
228    <extends>QTreeView</extends>
229    <header>widgets/tabnav_tree_view.h</header>
230   </customwidget>
231   <customwidget>
232    <class>ElidedLabel</class>
233    <extends>QLabel</extends>
234    <header>widgets/elided_label.h</header>
235   </customwidget>
236  </customwidgets>
237  <resources>
238   <include location="../../image/stock_icons.qrc"/>
239  </resources>
240  <connections>
241   <connection>
242    <sender>buttonBox</sender>
243    <signal>accepted()</signal>
244    <receiver>ColoringRulesDialog</receiver>
245    <slot>accept()</slot>
246    <hints>
247     <hint type="sourcelabel">
248      <x>248</x>
249      <y>254</y>
250     </hint>
251     <hint type="destinationlabel">
252      <x>157</x>
253      <y>274</y>
254     </hint>
255    </hints>
256   </connection>
257   <connection>
258    <sender>buttonBox</sender>
259    <signal>rejected()</signal>
260    <receiver>ColoringRulesDialog</receiver>
261    <slot>reject()</slot>
262    <hints>
263     <hint type="sourcelabel">
264      <x>316</x>
265      <y>260</y>
266     </hint>
267     <hint type="destinationlabel">
268      <x>286</x>
269      <y>274</y>
270     </hint>
271    </hints>
272   </connection>
273  </connections>
274 </ui>