scan: add select/invert buttons.
[abby.git] / rc / scandlg.ui
blob742d54d4c5892f48ea8f2fc9f0df77d1488f49de
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <author>Toni Gundogdu</author>
4 <class>scanDialog</class>
5 <widget class="QDialog" name="scanDialog">
6 <property name="windowModality">
7 <enum>Qt::ApplicationModal</enum>
8 </property>
9 <property name="geometry">
10 <rect>
11 <x>0</x>
12 <y>0</y>
13 <width>513</width>
14 <height>279</height>
15 </rect>
16 </property>
17 <property name="windowTitle">
18 <string>Scan</string>
19 </property>
20 <property name="windowIcon">
21 <iconset resource="abby.qrc">
22 <normaloff>:/edit-find.png</normaloff>:/edit-find.png</iconset>
23 </property>
24 <property name="sizeGripEnabled">
25 <bool>true</bool>
26 </property>
27 <layout class="QGridLayout" name="gridLayout">
28 <item row="2" column="0">
29 <layout class="QHBoxLayout" name="horizontalLayout_2">
30 <item>
31 <widget class="QTreeWidget" name="itemsTree">
32 <property name="rootIsDecorated">
33 <bool>false</bool>
34 </property>
35 <property name="headerHidden">
36 <bool>true</bool>
37 </property>
38 <column>
39 <property name="text">
40 <string>Found</string>
41 </property>
42 </column>
43 <column>
44 <property name="text">
45 <string>Link</string>
46 </property>
47 </column>
48 </widget>
49 </item>
50 <item>
51 <layout class="QVBoxLayout" name="verticalLayout">
52 <item>
53 <widget class="QPushButton" name="selectallButton">
54 <property name="text">
55 <string>S&amp;elect all</string>
56 </property>
57 </widget>
58 </item>
59 <item>
60 <widget class="QPushButton" name="invertButton">
61 <property name="text">
62 <string>&amp;Invert</string>
63 </property>
64 </widget>
65 </item>
66 <item>
67 <spacer name="verticalSpacer">
68 <property name="orientation">
69 <enum>Qt::Vertical</enum>
70 </property>
71 <property name="sizeHint" stdset="0">
72 <size>
73 <width>20</width>
74 <height>40</height>
75 </size>
76 </property>
77 </spacer>
78 </item>
79 </layout>
80 </item>
81 </layout>
82 </item>
83 <item row="3" column="0">
84 <widget class="QDialogButtonBox" name="buttonBox">
85 <property name="orientation">
86 <enum>Qt::Horizontal</enum>
87 </property>
88 <property name="standardButtons">
89 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
90 </property>
91 </widget>
92 </item>
93 <item row="0" column="0">
94 <layout class="QHBoxLayout" name="horizontalLayout">
95 <item>
96 <widget class="QLabel" name="label">
97 <property name="text">
98 <string>&amp;Link:</string>
99 </property>
100 <property name="buddy">
101 <cstring>linkEdit</cstring>
102 </property>
103 </widget>
104 </item>
105 <item>
106 <widget class="QLineEdit" name="linkEdit"/>
107 </item>
108 <item>
109 <widget class="QCheckBox" name="titlesBox">
110 <property name="toolTip">
111 <string>Have abby fetch video page titles for the found
112 video page links. This will cause the scan process
113 to take more time and bandwidth. </string>
114 </property>
115 <property name="text">
116 <string>&amp;Fetch video title</string>
117 </property>
118 <property name="checked">
119 <bool>true</bool>
120 </property>
121 </widget>
122 </item>
123 <item>
124 <widget class="QPushButton" name="scanButton">
125 <property name="text">
126 <string>&amp;Scan</string>
127 </property>
128 <property name="icon">
129 <iconset resource="abby.qrc">
130 <normaloff>:/edit-find.png</normaloff>:/edit-find.png</iconset>
131 </property>
132 <property name="iconSize">
133 <size>
134 <width>16</width>
135 <height>16</height>
136 </size>
137 </property>
138 </widget>
139 </item>
140 </layout>
141 </item>
142 </layout>
143 </widget>
144 <tabstops>
145 <tabstop>linkEdit</tabstop>
146 <tabstop>titlesBox</tabstop>
147 <tabstop>scanButton</tabstop>
148 <tabstop>itemsTree</tabstop>
149 <tabstop>selectallButton</tabstop>
150 <tabstop>invertButton</tabstop>
151 <tabstop>buttonBox</tabstop>
152 </tabstops>
153 <resources>
154 <include location="abby.qrc"/>
155 </resources>
156 <connections>
157 <connection>
158 <sender>buttonBox</sender>
159 <signal>accepted()</signal>
160 <receiver>scanDialog</receiver>
161 <slot>accept()</slot>
162 <hints>
163 <hint type="sourcelabel">
164 <x>248</x>
165 <y>254</y>
166 </hint>
167 <hint type="destinationlabel">
168 <x>157</x>
169 <y>274</y>
170 </hint>
171 </hints>
172 </connection>
173 <connection>
174 <sender>buttonBox</sender>
175 <signal>rejected()</signal>
176 <receiver>scanDialog</receiver>
177 <slot>reject()</slot>
178 <hints>
179 <hint type="sourcelabel">
180 <x>316</x>
181 <y>260</y>
182 </hint>
183 <hint type="destinationlabel">
184 <x>286</x>
185 <y>274</y>
186 </hint>
187 </hints>
188 </connection>
189 <connection>
190 <sender>scanButton</sender>
191 <signal>clicked()</signal>
192 <receiver>scanDialog</receiver>
193 <slot>onScan()</slot>
194 <hints>
195 <hint type="sourcelabel">
196 <x>462</x>
197 <y>23</y>
198 </hint>
199 <hint type="destinationlabel">
200 <x>256</x>
201 <y>119</y>
202 </hint>
203 </hints>
204 </connection>
205 <connection>
206 <sender>selectallButton</sender>
207 <signal>clicked()</signal>
208 <receiver>scanDialog</receiver>
209 <slot>onSelectAll()</slot>
210 <hints>
211 <hint type="sourcelabel">
212 <x>461</x>
213 <y>60</y>
214 </hint>
215 <hint type="destinationlabel">
216 <x>256</x>
217 <y>139</y>
218 </hint>
219 </hints>
220 </connection>
221 <connection>
222 <sender>invertButton</sender>
223 <signal>clicked()</signal>
224 <receiver>scanDialog</receiver>
225 <slot>onInvert()</slot>
226 <hints>
227 <hint type="sourcelabel">
228 <x>461</x>
229 <y>94</y>
230 </hint>
231 <hint type="destinationlabel">
232 <x>256</x>
233 <y>139</y>
234 </hint>
235 </hints>
236 </connection>
237 </connections>
238 <slots>
239 <slot>onScan()</slot>
240 <slot>onSelectAll()</slot>
241 <slot>onInvert()</slot>
242 </slots>
243 </ui>