Get the "Decode As" dialog working, albeit with a few warts. It differs
[metze/wireshark/wip.git] / ui / qt / decode_as_dialog.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>DecodeAsDialog</class>
4  <widget class="QDialog" name="DecodeAsDialog">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>750</width>
10     <height>460</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string>Wireshark: Decode As</string>
15   </property>
16   <layout class="QVBoxLayout" name="verticalLayout_2">
17    <item>
18     <widget class="QTreeWidget" name="decodeAsTreeWidget">
19      <property name="indentation">
20       <number>0</number>
21      </property>
22      <property name="uniformRowHeights">
23       <bool>true</bool>
24      </property>
25      <column>
26       <property name="text">
27        <string>Field</string>
28       </property>
29       <property name="toolTip">
30        <string>Match using this field</string>
31       </property>
32      </column>
33      <column>
34       <property name="text">
35        <string>Value</string>
36       </property>
37       <property name="toolTip">
38        <string>Current &quot;Decode As&quot; behavior</string>
39       </property>
40      </column>
41      <column>
42       <property name="text">
43        <string>Type</string>
44       </property>
45      </column>
46      <column>
47       <property name="text">
48        <string>Default</string>
49       </property>
50       <property name="toolTip">
51        <string>Default &quot;Decode As&quot; behavior</string>
52       </property>
53      </column>
54      <column>
55       <property name="text">
56        <string>Current</string>
57       </property>
58       <property name="toolTip">
59        <string>Change behavior when the protocol field matches this value</string>
60       </property>
61      </column>
62     </widget>
63    </item>
64    <item>
65     <layout class="QHBoxLayout" name="horizontalLayout" stretch="0,0,0,0,1">
66      <item>
67       <widget class="QToolButton" name="newToolButton">
68        <property name="toolTip">
69         <string>Change the dissection behavior for a protocol.</string>
70        </property>
71        <property name="text">
72         <string/>
73        </property>
74        <property name="icon">
75         <iconset resource="../../image/toolbar.qrc">
76          <normaloff>:/stock/plus-8.png</normaloff>:/stock/plus-8.png</iconset>
77        </property>
78       </widget>
79      </item>
80      <item>
81       <widget class="QToolButton" name="deleteToolButton">
82        <property name="toolTip">
83         <string>Remove this dissection behavior.</string>
84        </property>
85        <property name="icon">
86         <iconset resource="../../image/toolbar.qrc">
87          <normaloff>:/stock/minus-8.png</normaloff>:/stock/minus-8.png</iconset>
88        </property>
89       </widget>
90      </item>
91      <item>
92       <widget class="QToolButton" name="copyToolButton">
93        <property name="toolTip">
94         <string>Copy this dissection behavior.</string>
95        </property>
96        <property name="text">
97         <string/>
98        </property>
99        <property name="icon">
100         <iconset resource="../../image/toolbar.qrc">
101          <normaloff>:/stock/copy-8.png</normaloff>:/stock/copy-8.png</iconset>
102        </property>
103       </widget>
104      </item>
105      <item>
106       <spacer name="horizontalSpacer">
107        <property name="orientation">
108         <enum>Qt::Horizontal</enum>
109        </property>
110        <property name="sizeHint" stdset="0">
111         <size>
112          <width>40</width>
113          <height>20</height>
114         </size>
115        </property>
116       </spacer>
117      </item>
118      <item>
119       <widget class="ElidedLabel" name="pathLabel">
120        <property name="sizePolicy">
121         <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
122          <horstretch>1</horstretch>
123          <verstretch>0</verstretch>
124         </sizepolicy>
125        </property>
126        <property name="text">
127         <string/>
128        </property>
129        <property name="alignment">
130         <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
131        </property>
132        <property name="openExternalLinks">
133         <bool>true</bool>
134        </property>
135       </widget>
136      </item>
137     </layout>
138    </item>
139    <item>
140     <widget class="QDialogButtonBox" name="buttonBox">
141      <property name="orientation">
142       <enum>Qt::Horizontal</enum>
143      </property>
144      <property name="standardButtons">
145       <set>QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Ok</set>
146      </property>
147     </widget>
148    </item>
149   </layout>
150  </widget>
151  <customwidgets>
152   <customwidget>
153    <class>ElidedLabel</class>
154    <extends>QLabel</extends>
155    <header>elided_label.h</header>
156   </customwidget>
157  </customwidgets>
158  <resources>
159   <include location="../../image/toolbar.qrc"/>
160  </resources>
161  <connections>
162   <connection>
163    <sender>buttonBox</sender>
164    <signal>accepted()</signal>
165    <receiver>DecodeAsDialog</receiver>
166    <slot>accept()</slot>
167    <hints>
168     <hint type="sourcelabel">
169      <x>248</x>
170      <y>254</y>
171     </hint>
172     <hint type="destinationlabel">
173      <x>157</x>
174      <y>274</y>
175     </hint>
176    </hints>
177   </connection>
178   <connection>
179    <sender>buttonBox</sender>
180    <signal>rejected()</signal>
181    <receiver>DecodeAsDialog</receiver>
182    <slot>reject()</slot>
183    <hints>
184     <hint type="sourcelabel">
185      <x>316</x>
186      <y>260</y>
187     </hint>
188     <hint type="destinationlabel">
189      <x>286</x>
190      <y>274</y>
191     </hint>
192    </hints>
193   </connection>
194  </connections>
195 </ui>