Tizen 2.1 base
[platform/upstream/hplip.git] / plugins / powersettingsdialog_base.ui
1 <!DOCTYPE UI><UI version="3.3" stdsetdef="1">
2 <class>PowerSettingsDialog_base</class>
3 <widget class="QDialog">
4     <property name="name">
5         <cstring>PowerSettingsDialog_base</cstring>
6     </property>
7     <property name="geometry">
8         <rect>
9             <x>0</x>
10             <y>0</y>
11             <width>636</width>
12             <height>463</height>
13         </rect>
14     </property>
15     <property name="caption">
16         <string>HP Device Manager - Battery Mode Power Settings</string>
17     </property>
18     <grid>
19         <property name="name">
20             <cstring>unnamed</cstring>
21         </property>
22         <widget class="Line" row="1" column="0" rowspan="1" colspan="3">
23             <property name="name">
24                 <cstring>line1</cstring>
25             </property>
26             <property name="frameShape">
27                 <enum>HLine</enum>
28             </property>
29             <property name="frameShadow">
30                 <enum>Sunken</enum>
31             </property>
32             <property name="orientation">
33                 <enum>Horizontal</enum>
34             </property>
35         </widget>
36         <widget class="QLabel" row="0" column="0" rowspan="1" colspan="3">
37             <property name="name">
38                 <cstring>textLabel1</cstring>
39             </property>
40             <property name="text">
41                 <string>&lt;b&gt;Configure the power off settings when operating on battery power&lt;/b&gt;</string>
42             </property>
43         </widget>
44         <widget class="QPushButton" row="4" column="2">
45             <property name="name">
46                 <cstring>pushButton1</cstring>
47             </property>
48             <property name="text">
49                 <string>OK</string>
50             </property>
51         </widget>
52         <spacer row="4" column="0">
53             <property name="name">
54                 <cstring>spacer1</cstring>
55             </property>
56             <property name="orientation">
57                 <enum>Horizontal</enum>
58             </property>
59             <property name="sizeType">
60                 <enum>Expanding</enum>
61             </property>
62             <property name="sizeHint">
63                 <size>
64                     <width>361</width>
65                     <height>20</height>
66                 </size>
67             </property>
68         </spacer>
69         <widget class="QPushButton" row="4" column="1">
70             <property name="name">
71                 <cstring>pushButton2</cstring>
72             </property>
73             <property name="text">
74                 <string>Cancel</string>
75             </property>
76         </widget>
77         <spacer row="3" column="0">
78             <property name="name">
79                 <cstring>spacer2</cstring>
80             </property>
81             <property name="orientation">
82                 <enum>Vertical</enum>
83             </property>
84             <property name="sizeType">
85                 <enum>Expanding</enum>
86             </property>
87             <property name="sizeHint">
88                 <size>
89                     <width>20</width>
90                     <height>171</height>
91                 </size>
92             </property>
93         </spacer>
94         <widget class="QButtonGroup" row="2" column="0" rowspan="1" colspan="3">
95             <property name="name">
96                 <cstring>power_setting</cstring>
97             </property>
98             <property name="title">
99                 <string>Power Settings</string>
100             </property>
101             <grid>
102                 <property name="name">
103                     <cstring>unnamed</cstring>
104                 </property>
105                 <spacer row="1" column="2">
106                     <property name="name">
107                         <cstring>spacer4</cstring>
108                     </property>
109                     <property name="orientation">
110                         <enum>Horizontal</enum>
111                     </property>
112                     <property name="sizeType">
113                         <enum>Expanding</enum>
114                     </property>
115                     <property name="sizeHint">
116                         <size>
117                             <width>121</width>
118                             <height>20</height>
119                         </size>
120                     </property>
121                 </spacer>
122                 <widget class="QComboBox" row="1" column="1">
123                     <property name="name">
124                         <cstring>power_setting_combo</cstring>
125                     </property>
126                     <property name="enabled">
127                         <bool>false</bool>
128                     </property>
129                 </widget>
130                 <widget class="QRadioButton" row="1" column="0">
131                     <property name="name">
132                         <cstring>radioButton2</cstring>
133                     </property>
134                     <property name="text">
135                         <string>Automatically turn off printer after:</string>
136                     </property>
137                     <property name="buttonGroupId">
138                         <number>1</number>
139                     </property>
140                 </widget>
141                 <widget class="QRadioButton" row="0" column="0" rowspan="1" colspan="3">
142                     <property name="name">
143                         <cstring>radioButton1</cstring>
144                     </property>
145                     <property name="text">
146                         <string>Always leave printer on</string>
147                     </property>
148                     <property name="checked">
149                         <bool>true</bool>
150                     </property>
151                     <property name="buttonGroupId">
152                         <number>0</number>
153                     </property>
154                 </widget>
155             </grid>
156         </widget>
157     </grid>
158 </widget>
159 <connections>
160     <connection>
161         <sender>pushButton2</sender>
162         <signal>clicked()</signal>
163         <receiver>PowerSettingsDialog_base</receiver>
164         <slot>reject()</slot>
165     </connection>
166     <connection>
167         <sender>pushButton1</sender>
168         <signal>clicked()</signal>
169         <receiver>PowerSettingsDialog_base</receiver>
170         <slot>accept()</slot>
171     </connection>
172     <connection>
173         <sender>radioButton1</sender>
174         <signal>toggled(bool)</signal>
175         <receiver>power_setting_combo</receiver>
176         <slot>setDisabled(bool)</slot>
177     </connection>
178     <connection>
179         <sender>power_setting</sender>
180         <signal>clicked(int)</signal>
181         <receiver>PowerSettingsDialog_base</receiver>
182         <slot>power_setting_clicked(int)</slot>
183     </connection>
184 </connections>
185 <includes>
186     <include location="local" impldecl="in implementation">powersettingsdialog_base.ui.h</include>
187 </includes>
188 <slots>
189     <slot>power_setting_clicked( int )</slot>
190 </slots>
191 <layoutdefaults spacing="6" margin="11"/>
192 </UI>