Hide scan button (for now).
[abby.git] / rc / scandlg.ui
blob0631e6d160a55488c665a7d2cddd504803a868bd
1 <ui version="4.0" >
2  <class>scanDialog</class>
3  <widget class="QDialog" name="scanDialog" >
4   <property name="windowModality" >
5    <enum>Qt::ApplicationModal</enum>
6   </property>
7   <property name="geometry" >
8    <rect>
9     <x>0</x>
10     <y>0</y>
11     <width>513</width>
12     <height>239</height>
13    </rect>
14   </property>
15   <property name="windowTitle" >
16    <string>Scan</string>
17   </property>
18   <property name="windowIcon" >
19    <iconset resource="abby.qrc" >
20     <normaloff>:/edit-find.png</normaloff>:/edit-find.png</iconset>
21   </property>
22   <property name="sizeGripEnabled" >
23    <bool>true</bool>
24   </property>
25   <layout class="QGridLayout" name="gridLayout" >
26    <item row="0" column="0" >
27     <layout class="QHBoxLayout" name="horizontalLayout" >
28      <item>
29       <widget class="QLineEdit" name="linkEdit" />
30      </item>
31      <item>
32       <widget class="QPushButton" name="scanButton" >
33        <property name="text" >
34         <string>&amp;Scan</string>
35        </property>
36        <property name="icon" >
37         <iconset resource="abby.qrc" >
38          <normaloff>:/edit-find.png</normaloff>:/edit-find.png</iconset>
39        </property>
40        <property name="iconSize" >
41         <size>
42          <width>16</width>
43          <height>16</height>
44         </size>
45        </property>
46       </widget>
47      </item>
48     </layout>
49    </item>
50    <item row="1" column="0" >
51     <widget class="QTreeWidget" name="itemsTree" >
52      <column>
53       <property name="text" >
54        <string>Title</string>
55       </property>
56      </column>
57      <column>
58       <property name="text" >
59        <string>Link</string>
60       </property>
61      </column>
62     </widget>
63    </item>
64    <item row="2" column="0" >
65     <widget class="QDialogButtonBox" name="buttonBox" >
66      <property name="orientation" >
67       <enum>Qt::Horizontal</enum>
68      </property>
69      <property name="standardButtons" >
70       <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
71      </property>
72     </widget>
73    </item>
74   </layout>
75  </widget>
76  <tabstops>
77   <tabstop>linkEdit</tabstop>
78   <tabstop>scanButton</tabstop>
79   <tabstop>itemsTree</tabstop>
80   <tabstop>buttonBox</tabstop>
81  </tabstops>
82  <resources>
83   <include location="abby.qrc" />
84  </resources>
85  <connections>
86   <connection>
87    <sender>buttonBox</sender>
88    <signal>accepted()</signal>
89    <receiver>scanDialog</receiver>
90    <slot>accept()</slot>
91    <hints>
92     <hint type="sourcelabel" >
93      <x>248</x>
94      <y>254</y>
95     </hint>
96     <hint type="destinationlabel" >
97      <x>157</x>
98      <y>274</y>
99     </hint>
100    </hints>
101   </connection>
102   <connection>
103    <sender>buttonBox</sender>
104    <signal>rejected()</signal>
105    <receiver>scanDialog</receiver>
106    <slot>reject()</slot>
107    <hints>
108     <hint type="sourcelabel" >
109      <x>316</x>
110      <y>260</y>
111     </hint>
112     <hint type="destinationlabel" >
113      <x>286</x>
114      <y>274</y>
115     </hint>
116    </hints>
117   </connection>
118   <connection>
119    <sender>scanButton</sender>
120    <signal>clicked()</signal>
121    <receiver>scanDialog</receiver>
122    <slot>onScan()</slot>
123    <hints>
124     <hint type="sourcelabel" >
125      <x>462</x>
126      <y>23</y>
127     </hint>
128     <hint type="destinationlabel" >
129      <x>256</x>
130      <y>119</y>
131     </hint>
132    </hints>
133   </connection>
134  </connections>
135  <slots>
136   <slot>onScan()</slot>
137  </slots>
138 </ui>