1 | <ui version="4.0" >
|
---|
2 | <comment>
|
---|
3 | VBox frontends: Qt4 GUI ("VirtualBox"):
|
---|
4 |
|
---|
5 | Copyright (C) 2008-2012 Oracle Corporation
|
---|
6 |
|
---|
7 | This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
8 | available from http://www.virtualbox.org. This file is free software;
|
---|
9 | you can redistribute it and/or modify it under the terms of the GNU
|
---|
10 | General Public License (GPL) as published by the Free Software
|
---|
11 | Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
12 | VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
13 | hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
14 | </comment>
|
---|
15 | <class>UIVMCloseDialog</class>
|
---|
16 | <widget class="QDialog" name="UIVMCloseDialog" >
|
---|
17 | <property name="geometry" >
|
---|
18 | <rect>
|
---|
19 | <x>0</x>
|
---|
20 | <y>0</y>
|
---|
21 | <width>323</width>
|
---|
22 | <height>192</height>
|
---|
23 | </rect>
|
---|
24 | </property>
|
---|
25 | <property name="windowTitle" >
|
---|
26 | <string>Close Virtual Machine</string>
|
---|
27 | </property>
|
---|
28 | <property name="sizeGripEnabled" >
|
---|
29 | <bool>false</bool>
|
---|
30 | </property>
|
---|
31 | <layout class="QVBoxLayout" >
|
---|
32 | <property name="spacing" >
|
---|
33 | <number>10</number>
|
---|
34 | </property>
|
---|
35 | <item>
|
---|
36 | <layout class="QHBoxLayout" >
|
---|
37 | <item>
|
---|
38 | <layout class="QVBoxLayout" >
|
---|
39 | <item>
|
---|
40 | <widget class="QLabel" name="pmIcon" >
|
---|
41 | <property name="sizePolicy" >
|
---|
42 | <sizepolicy vsizetype="Preferred" hsizetype="Maximum" >
|
---|
43 | <horstretch>0</horstretch>
|
---|
44 | <verstretch>0</verstretch>
|
---|
45 | </sizepolicy>
|
---|
46 | </property>
|
---|
47 | <property name="pixmap" >
|
---|
48 | <pixmap resource="../VirtualBox2.qrc" >:/os_unknown.png</pixmap>
|
---|
49 | </property>
|
---|
50 | </widget>
|
---|
51 | </item>
|
---|
52 | <item>
|
---|
53 | <spacer>
|
---|
54 | <property name="orientation" >
|
---|
55 | <enum>Qt::Vertical</enum>
|
---|
56 | </property>
|
---|
57 | <property name="sizeType" >
|
---|
58 | <enum>QSizePolicy::Expanding</enum>
|
---|
59 | </property>
|
---|
60 | <property name="sizeHint" >
|
---|
61 | <size>
|
---|
62 | <width>20</width>
|
---|
63 | <height>40</height>
|
---|
64 | </size>
|
---|
65 | </property>
|
---|
66 | </spacer>
|
---|
67 | </item>
|
---|
68 | </layout>
|
---|
69 | </item>
|
---|
70 | <item>
|
---|
71 | <layout class="QVBoxLayout" >
|
---|
72 | <item>
|
---|
73 | <widget class="QLabel" name="label" >
|
---|
74 | <property name="text" >
|
---|
75 | <string>You want to:</string>
|
---|
76 | </property>
|
---|
77 | </widget>
|
---|
78 | </item>
|
---|
79 | <item>
|
---|
80 | <layout class="QGridLayout" >
|
---|
81 | <item row="0" column="0" >
|
---|
82 | <widget class="QLabel" name="mTxSave" >
|
---|
83 | <property name="sizePolicy" >
|
---|
84 | <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
|
---|
85 | <horstretch>0</horstretch>
|
---|
86 | <verstretch>0</verstretch>
|
---|
87 | </sizepolicy>
|
---|
88 | </property>
|
---|
89 | <property name="text" >
|
---|
90 | <string/>
|
---|
91 | </property>
|
---|
92 | <property name="pixmap" >
|
---|
93 | <pixmap resource="../VirtualBox1.qrc" >:/state_saved_16px.png</pixmap>
|
---|
94 | </property>
|
---|
95 | </widget>
|
---|
96 | </item>
|
---|
97 | <item row="0" column="1" >
|
---|
98 | <widget class="QRadioButton" name="mRbSave" >
|
---|
99 | <property name="whatsThis" >
|
---|
100 | <string><p>Saves the current execution state of the virtual machine to the physical hard disk of the host PC.</p><p>Next time this machine is started, it will be restored from the saved state and continue execution from the same place you saved it at, which will let you continue your work immediately.</p><p>Note that saving the machine state may take a long time, depending on the guest operating system type and the amount of memory you assigned to the virtual machine.</p></string>
|
---|
101 | </property>
|
---|
102 | <property name="text" >
|
---|
103 | <string>&Save the machine state</string>
|
---|
104 | </property>
|
---|
105 | </widget>
|
---|
106 | </item>
|
---|
107 | <item row="1" column="0" >
|
---|
108 | <widget class="QLabel" name="mTxShutdown" >
|
---|
109 | <property name="sizePolicy" >
|
---|
110 | <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
|
---|
111 | <horstretch>0</horstretch>
|
---|
112 | <verstretch>0</verstretch>
|
---|
113 | </sizepolicy>
|
---|
114 | </property>
|
---|
115 | <property name="text" >
|
---|
116 | <string/>
|
---|
117 | </property>
|
---|
118 | <property name="pixmap" >
|
---|
119 | <pixmap resource="../VirtualBox1.qrc" >:/acpi_16px.png</pixmap>
|
---|
120 | </property>
|
---|
121 | </widget>
|
---|
122 | </item>
|
---|
123 | <item row="1" column="1" >
|
---|
124 | <widget class="QRadioButton" name="mRbShutdown" >
|
---|
125 | <property name="whatsThis" >
|
---|
126 | <string><p>Sends the ACPI Power Button press event to the virtual machine.</p><p>Normally, the guest operating system running inside the virtual machine will detect this event and perform a clean shutdown procedure. This is a recommended way to turn off the virtual machine because all applications running inside it will get a chance to save their data and state.</p><p>If the machine doesn't respond to this action then the guest operating system may be misconfigured or doesn't understand ACPI Power Button events at all. In this case you should select the <b>Power off the machine</b> action to stop virtual machine execution.</p></string>
|
---|
127 | </property>
|
---|
128 | <property name="text" >
|
---|
129 | <string>S&end the shutdown signal</string>
|
---|
130 | </property>
|
---|
131 | </widget>
|
---|
132 | </item>
|
---|
133 | <item row="2" column="0" >
|
---|
134 | <widget class="QLabel" name="mTxPowerOff" >
|
---|
135 | <property name="sizePolicy" >
|
---|
136 | <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
|
---|
137 | <horstretch>0</horstretch>
|
---|
138 | <verstretch>0</verstretch>
|
---|
139 | </sizepolicy>
|
---|
140 | </property>
|
---|
141 | <property name="text" >
|
---|
142 | <string/>
|
---|
143 | </property>
|
---|
144 | <property name="pixmap" >
|
---|
145 | <pixmap resource="../VirtualBox1.qrc" >:/poweroff_16px.png</pixmap>
|
---|
146 | </property>
|
---|
147 | </widget>
|
---|
148 | </item>
|
---|
149 | <item row="2" column="1" >
|
---|
150 | <widget class="QRadioButton" name="mRbPowerOff" >
|
---|
151 | <property name="whatsThis" >
|
---|
152 | <string><p>Turns off the virtual machine.</p><p>Note that this action will stop machine execution immediately so that the guest operating system running inside it will not be able to perform a clean shutdown procedure which may result in <i>data loss</i> inside the virtual machine. Selecting this action is recommended only if the virtual machine does not respond to the <b>Send the shutdown signal</b> action.</p></string>
|
---|
153 | </property>
|
---|
154 | <property name="text" >
|
---|
155 | <string>&Power off the machine</string>
|
---|
156 | </property>
|
---|
157 | </widget>
|
---|
158 | </item>
|
---|
159 | </layout>
|
---|
160 | </item>
|
---|
161 | <item>
|
---|
162 | <layout class="QHBoxLayout" >
|
---|
163 | <property name="spacing" >
|
---|
164 | <number>0</number>
|
---|
165 | </property>
|
---|
166 | <property name="leftMargin" >
|
---|
167 | <number>0</number>
|
---|
168 | </property>
|
---|
169 | <property name="topMargin" >
|
---|
170 | <number>0</number>
|
---|
171 | </property>
|
---|
172 | <property name="rightMargin" >
|
---|
173 | <number>0</number>
|
---|
174 | </property>
|
---|
175 | <property name="bottomMargin" >
|
---|
176 | <number>0</number>
|
---|
177 | </property>
|
---|
178 | <item>
|
---|
179 | <spacer>
|
---|
180 | <property name="orientation" >
|
---|
181 | <enum>Qt::Horizontal</enum>
|
---|
182 | </property>
|
---|
183 | <property name="sizeType" >
|
---|
184 | <enum>QSizePolicy::Fixed</enum>
|
---|
185 | </property>
|
---|
186 | <property name="sizeHint" >
|
---|
187 | <size>
|
---|
188 | <width>38</width>
|
---|
189 | <height>20</height>
|
---|
190 | </size>
|
---|
191 | </property>
|
---|
192 | </spacer>
|
---|
193 | </item>
|
---|
194 | <item>
|
---|
195 | <widget class="QCheckBox" name="mCbDiscardCurState" >
|
---|
196 | <property name="enabled" >
|
---|
197 | <bool>false</bool>
|
---|
198 | </property>
|
---|
199 | <property name="toolTip" >
|
---|
200 | <string>Restore the machine state stored in the current snapshot</string>
|
---|
201 | </property>
|
---|
202 | <property name="whatsThis" >
|
---|
203 | <string><p>When checked, the machine will be returned to the state stored in the current snapshot after it is turned off. This is useful if you are sure that you want to discard the results of your last sessions and start again at that snapshot.</p></string>
|
---|
204 | </property>
|
---|
205 | <property name="text" >
|
---|
206 | <string>&Restore current snapshot '%1'</string>
|
---|
207 | </property>
|
---|
208 | </widget>
|
---|
209 | </item>
|
---|
210 | </layout>
|
---|
211 | </item>
|
---|
212 | </layout>
|
---|
213 | </item>
|
---|
214 | </layout>
|
---|
215 | </item>
|
---|
216 | <item>
|
---|
217 | <widget class="QIDialogButtonBox" name="mButtonBox" >
|
---|
218 | <property name="standardButtons" >
|
---|
219 | <set>QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::NoButton|QDialogButtonBox::Ok</set>
|
---|
220 | </property>
|
---|
221 | </widget>
|
---|
222 | </item>
|
---|
223 | </layout>
|
---|
224 | </widget>
|
---|
225 | <layoutdefault spacing="6" margin="11" />
|
---|
226 | <customwidgets>
|
---|
227 | <customwidget>
|
---|
228 | <class>QIDialogButtonBox</class>
|
---|
229 | <extends>QDialogButtonBox</extends>
|
---|
230 | <header>QIDialogButtonBox.h</header>
|
---|
231 | </customwidget>
|
---|
232 | </customwidgets>
|
---|
233 | <resources>
|
---|
234 | <include location="../VirtualBox1.qrc" />
|
---|
235 | <include location="../VirtualBox2.qrc" />
|
---|
236 | </resources>
|
---|
237 | <connections>
|
---|
238 | <connection>
|
---|
239 | <sender>mRbPowerOff</sender>
|
---|
240 | <signal>toggled(bool)</signal>
|
---|
241 | <receiver>mCbDiscardCurState</receiver>
|
---|
242 | <slot>setEnabled(bool)</slot>
|
---|
243 | <hints>
|
---|
244 | <hint type="sourcelabel" >
|
---|
245 | <x>20</x>
|
---|
246 | <y>20</y>
|
---|
247 | </hint>
|
---|
248 | <hint type="destinationlabel" >
|
---|
249 | <x>20</x>
|
---|
250 | <y>20</y>
|
---|
251 | </hint>
|
---|
252 | </hints>
|
---|
253 | </connection>
|
---|
254 | <connection>
|
---|
255 | <sender>mButtonBox</sender>
|
---|
256 | <signal>accepted()</signal>
|
---|
257 | <receiver>UIVMCloseDialog</receiver>
|
---|
258 | <slot>accept()</slot>
|
---|
259 | <hints>
|
---|
260 | <hint type="sourcelabel" >
|
---|
261 | <x>161</x>
|
---|
262 | <y>171</y>
|
---|
263 | </hint>
|
---|
264 | <hint type="destinationlabel" >
|
---|
265 | <x>161</x>
|
---|
266 | <y>95</y>
|
---|
267 | </hint>
|
---|
268 | </hints>
|
---|
269 | </connection>
|
---|
270 | <connection>
|
---|
271 | <sender>mButtonBox</sender>
|
---|
272 | <signal>rejected()</signal>
|
---|
273 | <receiver>UIVMCloseDialog</receiver>
|
---|
274 | <slot>reject()</slot>
|
---|
275 | <hints>
|
---|
276 | <hint type="sourcelabel" >
|
---|
277 | <x>161</x>
|
---|
278 | <y>171</y>
|
---|
279 | </hint>
|
---|
280 | <hint type="destinationlabel" >
|
---|
281 | <x>161</x>
|
---|
282 | <y>95</y>
|
---|
283 | </hint>
|
---|
284 | </hints>
|
---|
285 | </connection>
|
---|
286 | </connections>
|
---|
287 | </ui>
|
---|