1 | <ui version="4.0" >
|
---|
2 | <comment>
|
---|
3 | VBox frontends: Qt4 GUI ("VirtualBox"):
|
---|
4 |
|
---|
5 | Copyright (C) 2008 Sun Microsystems, Inc.
|
---|
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 |
|
---|
15 | Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
|
---|
16 | Clara, CA 95054 USA or visit http://www.sun.com if you need
|
---|
17 | additional information or have any questions.
|
---|
18 | </comment>
|
---|
19 | <class>VBoxCloseVMDlg</class>
|
---|
20 | <widget class="QDialog" name="VBoxCloseVMDlg" >
|
---|
21 | <property name="geometry" >
|
---|
22 | <rect>
|
---|
23 | <x>0</x>
|
---|
24 | <y>0</y>
|
---|
25 | <width>323</width>
|
---|
26 | <height>192</height>
|
---|
27 | </rect>
|
---|
28 | </property>
|
---|
29 | <property name="windowTitle" >
|
---|
30 | <string>Close Virtual Machine</string>
|
---|
31 | </property>
|
---|
32 | <property name="sizeGripEnabled" >
|
---|
33 | <bool>false</bool>
|
---|
34 | </property>
|
---|
35 | <layout class="QVBoxLayout" >
|
---|
36 | <property name="spacing" >
|
---|
37 | <number>10</number>
|
---|
38 | </property>
|
---|
39 | <item>
|
---|
40 | <layout class="QHBoxLayout" >
|
---|
41 | <item>
|
---|
42 | <layout class="QVBoxLayout" >
|
---|
43 | <item>
|
---|
44 | <widget class="QLabel" name="pmIcon" >
|
---|
45 | <property name="sizePolicy" >
|
---|
46 | <sizepolicy vsizetype="Preferred" hsizetype="Maximum" >
|
---|
47 | <horstretch>0</horstretch>
|
---|
48 | <verstretch>0</verstretch>
|
---|
49 | </sizepolicy>
|
---|
50 | </property>
|
---|
51 | <property name="pixmap" >
|
---|
52 | <pixmap resource="../VirtualBox.qrc" >:/os_unknown.png</pixmap>
|
---|
53 | </property>
|
---|
54 | </widget>
|
---|
55 | </item>
|
---|
56 | <item>
|
---|
57 | <spacer>
|
---|
58 | <property name="orientation" >
|
---|
59 | <enum>Qt::Vertical</enum>
|
---|
60 | </property>
|
---|
61 | <property name="sizeType" >
|
---|
62 | <enum>QSizePolicy::Expanding</enum>
|
---|
63 | </property>
|
---|
64 | <property name="sizeHint" >
|
---|
65 | <size>
|
---|
66 | <width>20</width>
|
---|
67 | <height>40</height>
|
---|
68 | </size>
|
---|
69 | </property>
|
---|
70 | </spacer>
|
---|
71 | </item>
|
---|
72 | </layout>
|
---|
73 | </item>
|
---|
74 | <item>
|
---|
75 | <layout class="QVBoxLayout" >
|
---|
76 | <item>
|
---|
77 | <widget class="QLabel" name="label" >
|
---|
78 | <property name="text" >
|
---|
79 | <string>You want to:</string>
|
---|
80 | </property>
|
---|
81 | </widget>
|
---|
82 | </item>
|
---|
83 | <item>
|
---|
84 | <layout class="QGridLayout" >
|
---|
85 | <item row="0" column="0" >
|
---|
86 | <widget class="QLabel" name="mTxSave_2" >
|
---|
87 | <property name="sizePolicy" >
|
---|
88 | <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
|
---|
89 | <horstretch>0</horstretch>
|
---|
90 | <verstretch>0</verstretch>
|
---|
91 | </sizepolicy>
|
---|
92 | </property>
|
---|
93 | <property name="text" >
|
---|
94 | <string/>
|
---|
95 | </property>
|
---|
96 | <property name="pixmap" >
|
---|
97 | <pixmap resource="../VirtualBox.qrc" >:/state_saved_16px.png</pixmap>
|
---|
98 | </property>
|
---|
99 | </widget>
|
---|
100 | </item>
|
---|
101 | <item row="0" column="1" >
|
---|
102 | <widget class="QRadioButton" name="mRbSave" >
|
---|
103 | <property name="whatsThis" >
|
---|
104 | <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>
|
---|
105 | </property>
|
---|
106 | <property name="text" >
|
---|
107 | <string>&Save the machine state</string>
|
---|
108 | </property>
|
---|
109 | </widget>
|
---|
110 | </item>
|
---|
111 | <item row="1" column="0" >
|
---|
112 | <widget class="QLabel" name="mTxShutDown_2" >
|
---|
113 | <property name="sizePolicy" >
|
---|
114 | <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
|
---|
115 | <horstretch>0</horstretch>
|
---|
116 | <verstretch>0</verstretch>
|
---|
117 | </sizepolicy>
|
---|
118 | </property>
|
---|
119 | <property name="text" >
|
---|
120 | <string/>
|
---|
121 | </property>
|
---|
122 | <property name="pixmap" >
|
---|
123 | <pixmap resource="../VirtualBox.qrc" >:/acpi_16px.png</pixmap>
|
---|
124 | </property>
|
---|
125 | </widget>
|
---|
126 | </item>
|
---|
127 | <item row="1" column="1" >
|
---|
128 | <widget class="QRadioButton" name="mRbShutdown" >
|
---|
129 | <property name="whatsThis" >
|
---|
130 | <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>
|
---|
131 | </property>
|
---|
132 | <property name="text" >
|
---|
133 | <string>S&end the shutdown signal</string>
|
---|
134 | </property>
|
---|
135 | </widget>
|
---|
136 | </item>
|
---|
137 | <item row="2" column="0" >
|
---|
138 | <widget class="QLabel" name="mTxPowerOff_2" >
|
---|
139 | <property name="sizePolicy" >
|
---|
140 | <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
|
---|
141 | <horstretch>0</horstretch>
|
---|
142 | <verstretch>0</verstretch>
|
---|
143 | </sizepolicy>
|
---|
144 | </property>
|
---|
145 | <property name="text" >
|
---|
146 | <string/>
|
---|
147 | </property>
|
---|
148 | <property name="pixmap" >
|
---|
149 | <pixmap resource="../VirtualBox.qrc" >:/poweroff_16px.png</pixmap>
|
---|
150 | </property>
|
---|
151 | </widget>
|
---|
152 | </item>
|
---|
153 | <item row="2" column="1" >
|
---|
154 | <widget class="QRadioButton" name="mRbPowerOff" >
|
---|
155 | <property name="whatsThis" >
|
---|
156 | <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>
|
---|
157 | </property>
|
---|
158 | <property name="text" >
|
---|
159 | <string>&Power off the machine</string>
|
---|
160 | </property>
|
---|
161 | </widget>
|
---|
162 | </item>
|
---|
163 | </layout>
|
---|
164 | </item>
|
---|
165 | <item>
|
---|
166 | <layout class="QHBoxLayout" >
|
---|
167 | <property name="spacing" >
|
---|
168 | <number>0</number>
|
---|
169 | </property>
|
---|
170 | <property name="leftMargin" >
|
---|
171 | <number>0</number>
|
---|
172 | </property>
|
---|
173 | <property name="topMargin" >
|
---|
174 | <number>0</number>
|
---|
175 | </property>
|
---|
176 | <property name="rightMargin" >
|
---|
177 | <number>0</number>
|
---|
178 | </property>
|
---|
179 | <property name="bottomMargin" >
|
---|
180 | <number>0</number>
|
---|
181 | </property>
|
---|
182 | <item>
|
---|
183 | <spacer>
|
---|
184 | <property name="orientation" >
|
---|
185 | <enum>Qt::Horizontal</enum>
|
---|
186 | </property>
|
---|
187 | <property name="sizeType" >
|
---|
188 | <enum>QSizePolicy::Fixed</enum>
|
---|
189 | </property>
|
---|
190 | <property name="sizeHint" >
|
---|
191 | <size>
|
---|
192 | <width>38</width>
|
---|
193 | <height>20</height>
|
---|
194 | </size>
|
---|
195 | </property>
|
---|
196 | </spacer>
|
---|
197 | </item>
|
---|
198 | <item>
|
---|
199 | <widget class="QCheckBox" name="mCbDiscardCurState" >
|
---|
200 | <property name="enabled" >
|
---|
201 | <bool>false</bool>
|
---|
202 | </property>
|
---|
203 | <property name="toolTip" >
|
---|
204 | <string>Revert the machine state to the state stored in the current snapshot</string>
|
---|
205 | </property>
|
---|
206 | <property name="whatsThis" >
|
---|
207 | <string><p>When checked, the machine state will be restored from the state stored in the current snapshot right after it is turned off. This is useful if you are sure that you want to discard the results of your last sessions and go back to the current snapshot.</p></string>
|
---|
208 | </property>
|
---|
209 | <property name="text" >
|
---|
210 | <string>&Revert to the current snapshot</string>
|
---|
211 | </property>
|
---|
212 | </widget>
|
---|
213 | </item>
|
---|
214 | </layout>
|
---|
215 | </item>
|
---|
216 | </layout>
|
---|
217 | </item>
|
---|
218 | </layout>
|
---|
219 | </item>
|
---|
220 | <item>
|
---|
221 | <widget class="QIDialogButtonBox" name="mButtonBox" >
|
---|
222 | <property name="standardButtons" >
|
---|
223 | <set>QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::NoButton|QDialogButtonBox::Ok</set>
|
---|
224 | </property>
|
---|
225 | </widget>
|
---|
226 | </item>
|
---|
227 | </layout>
|
---|
228 | </widget>
|
---|
229 | <layoutdefault spacing="6" margin="11" />
|
---|
230 | <customwidgets>
|
---|
231 | <customwidget>
|
---|
232 | <class>QIDialogButtonBox</class>
|
---|
233 | <extends>QDialogButtonBox</extends>
|
---|
234 | <header>QIDialogButtonBox.h</header>
|
---|
235 | </customwidget>
|
---|
236 | </customwidgets>
|
---|
237 | <resources>
|
---|
238 | <include location="../VirtualBox.qrc" />
|
---|
239 | </resources>
|
---|
240 | <connections>
|
---|
241 | <connection>
|
---|
242 | <sender>mRbPowerOff</sender>
|
---|
243 | <signal>toggled(bool)</signal>
|
---|
244 | <receiver>mCbDiscardCurState</receiver>
|
---|
245 | <slot>setEnabled(bool)</slot>
|
---|
246 | <hints>
|
---|
247 | <hint type="sourcelabel" >
|
---|
248 | <x>20</x>
|
---|
249 | <y>20</y>
|
---|
250 | </hint>
|
---|
251 | <hint type="destinationlabel" >
|
---|
252 | <x>20</x>
|
---|
253 | <y>20</y>
|
---|
254 | </hint>
|
---|
255 | </hints>
|
---|
256 | </connection>
|
---|
257 | <connection>
|
---|
258 | <sender>mButtonBox</sender>
|
---|
259 | <signal>accepted()</signal>
|
---|
260 | <receiver>VBoxCloseVMDlg</receiver>
|
---|
261 | <slot>accept()</slot>
|
---|
262 | <hints>
|
---|
263 | <hint type="sourcelabel" >
|
---|
264 | <x>161</x>
|
---|
265 | <y>171</y>
|
---|
266 | </hint>
|
---|
267 | <hint type="destinationlabel" >
|
---|
268 | <x>161</x>
|
---|
269 | <y>95</y>
|
---|
270 | </hint>
|
---|
271 | </hints>
|
---|
272 | </connection>
|
---|
273 | <connection>
|
---|
274 | <sender>mButtonBox</sender>
|
---|
275 | <signal>rejected()</signal>
|
---|
276 | <receiver>VBoxCloseVMDlg</receiver>
|
---|
277 | <slot>reject()</slot>
|
---|
278 | <hints>
|
---|
279 | <hint type="sourcelabel" >
|
---|
280 | <x>161</x>
|
---|
281 | <y>171</y>
|
---|
282 | </hint>
|
---|
283 | <hint type="destinationlabel" >
|
---|
284 | <x>161</x>
|
---|
285 | <y>95</y>
|
---|
286 | </hint>
|
---|
287 | </hints>
|
---|
288 | </connection>
|
---|
289 | </connections>
|
---|
290 | </ui>
|
---|