Tizen 2.1 base
[platform/upstream/hplip.git] / ui4 / devicesetupdialog_base.ui
1 <ui version="4.0" >
2  <class>Dialog</class>
3  <widget class="QDialog" name="Dialog" >
4   <property name="geometry" >
5    <rect>
6     <x>0</x>
7     <y>0</y>
8     <width>700</width>
9     <height>500</height>
10    </rect>
11   </property>
12   <property name="windowTitle" >
13    <string>HP Device Manager - Device Setup</string>
14   </property>
15   <layout class="QGridLayout" >
16    <item row="0" column="0" >
17     <widget class="QLabel" name="label" >
18      <property name="font" >
19       <font>
20        <pointsize>16</pointsize>
21       </font>
22      </property>
23      <property name="text" >
24       <string>Device Setup</string>
25      </property>
26     </widget>
27    </item>
28    <item row="1" column="0" colspan="3" >
29     <widget class="Line" name="line" >
30      <property name="orientation" >
31       <enum>Qt::Horizontal</enum>
32      </property>
33     </widget>
34    </item>
35    <item row="2" column="0" colspan="3" >
36     <widget class="DeviceUriComboBox" name="DeviceComboBox" />
37    </item>
38    <item row="3" column="0" colspan="3" >
39     <widget class="QTabWidget" name="TabWidget" >
40      <property name="currentIndex" >
41       <number>0</number>
42      </property>
43      <widget class="QWidget" name="PowerSettingsTab" >
44       <attribute name="title" >
45        <string>Power Settings</string>
46       </attribute>
47       <layout class="QGridLayout" >
48        <item row="0" column="0" >
49         <widget class="QGroupBox" name="groupBox" >
50          <property name="title" >
51           <string>Automatic Power Off</string>
52          </property>
53          <layout class="QGridLayout" >
54           <item row="0" column="0" colspan="2" >
55            <widget class="QRadioButton" name="OnRadioButton" >
56             <property name="text" >
57              <string>Always leave printer on</string>
58             </property>
59            </widget>
60           </item>
61           <item row="1" column="0" >
62            <layout class="QHBoxLayout" >
63             <item>
64              <widget class="QRadioButton" name="OffRadioButton" >
65               <property name="enabled" >
66                <bool>true</bool>
67               </property>
68               <property name="text" >
69                <string>Automatically turn printer off after:</string>
70               </property>
71              </widget>
72             </item>
73             <item>
74              <widget class="QComboBox" name="DurationComboBox" >
75               <property name="enabled" >
76                <bool>false</bool>
77               </property>
78              </widget>
79             </item>
80            </layout>
81           </item>
82           <item row="1" column="1" >
83            <spacer>
84             <property name="orientation" >
85              <enum>Qt::Horizontal</enum>
86             </property>
87             <property name="sizeHint" >
88              <size>
89               <width>40</width>
90               <height>20</height>
91              </size>
92             </property>
93            </spacer>
94           </item>
95          </layout>
96         </widget>
97        </item>
98        <item row="1" column="0" >
99         <spacer>
100          <property name="orientation" >
101           <enum>Qt::Vertical</enum>
102          </property>
103          <property name="sizeHint" >
104           <size>
105            <width>282</width>
106            <height>51</height>
107           </size>
108          </property>
109         </spacer>
110        </item>
111       </layout>
112      </widget>
113     </widget>
114    </item>
115    <item row="4" column="0" >
116     <spacer>
117      <property name="orientation" >
118       <enum>Qt::Vertical</enum>
119      </property>
120      <property name="sizeType" >
121       <enum>QSizePolicy::Preferred</enum>
122      </property>
123      <property name="sizeHint" >
124       <size>
125        <width>510</width>
126        <height>20</height>
127       </size>
128      </property>
129     </spacer>
130    </item>
131    <item row="5" column="0" >
132     <spacer>
133      <property name="orientation" >
134       <enum>Qt::Horizontal</enum>
135      </property>
136      <property name="sizeHint" >
137       <size>
138        <width>361</width>
139        <height>20</height>
140       </size>
141      </property>
142     </spacer>
143    </item>
144    <item row="5" column="2" >
145     <widget class="QPushButton" name="CancelButton" >
146      <property name="text" >
147       <string>Close</string>
148      </property>
149     </widget>
150    </item>
151   </layout>
152  </widget>
153  <customwidgets>
154   <customwidget>
155    <class>DeviceUriComboBox</class>
156    <extends>QComboBox</extends>
157    <header>deviceuricombobox.h</header>
158   </customwidget>
159  </customwidgets>
160  <resources/>
161  <connections>
162   <connection>
163    <sender>OffRadioButton</sender>
164    <signal>toggled(bool)</signal>
165    <receiver>DurationComboBox</receiver>
166    <slot>setEnabled(bool)</slot>
167    <hints>
168     <hint type="sourcelabel" >
169      <x>140</x>
170      <y>189</y>
171     </hint>
172     <hint type="destinationlabel" >
173      <x>276</x>
174      <y>196</y>
175     </hint>
176    </hints>
177   </connection>
178  </connections>
179 </ui>