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