VirtualBox

source: vbox/trunk/src/VBox/Frontends/VirtualBox/ui/VBoxHardDiskSettings.ui@ 13835

Last change on this file since 13835 was 13580, checked in by vboxsync, 16 years ago

Ported s2 branch (r37120:38456).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 15.4 KB
Line 
1<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
2<class>VBoxHardDiskSettings</class>
3<comment>
4:mode=html:tabSize=4:indentSize=4:noTabs=true:
5:folding=explicit:collapseFolds=1:
6
7VBox GUI: Hard Disk Settings UI (Qt Designer).
8
9 Copyright (C) 2008 Sun Microsystems, Inc.
10
11 This file is part of VirtualBox Open Source Edition (OSE), as
12 available from http://www.virtualbox.org. This file is free software;
13 you can redistribute it and/or modify it under the terms of the GNU
14 General Public License (GPL) as published by the Free Software
15 Foundation, in version 2 as it comes in the "COPYING" file of the
16 VirtualBox OSE distribution. VirtualBox OSE is distributed in the
17 hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
18
19 Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
20 Clara, CA 95054 USA or visit http://www.sun.com if you need
21 additional information or have any questions.
22</comment>
23<widget class="QWidget">
24 <property name="name">
25 <cstring>VBoxHardDiskSettings</cstring>
26 </property>
27 <property name="geometry">
28 <rect>
29 <x>0</x>
30 <y>0</y>
31 <width>481</width>
32 <height>371</height>
33 </rect>
34 </property>
35 <property name="caption">
36 <string>VBoxHardDiskSettings</string>
37 </property>
38 <vbox>
39 <property name="name">
40 <cstring>unnamed</cstring>
41 </property>
42 <property name="margin">
43 <number>0</number>
44 </property>
45 <widget class="QGroupBox">
46 <property name="name">
47 <cstring>mGbHD</cstring>
48 </property>
49 <property name="title">
50 <string>&amp;Hard Disks</string>
51 </property>
52 <vbox>
53 <property name="name">
54 <cstring>unnamed</cstring>
55 </property>
56 <widget class="QCheckBox">
57 <property name="name">
58 <cstring>mSATACheck</cstring>
59 </property>
60 <property name="text">
61 <string>&amp;Enable SATA Controller</string>
62 </property>
63 <property name="whatsThis" stdset="0">
64 <string>
65 &lt;qt&gt;When checked, enables the virtual SATA
66 controller of this machine. Note that you cannot
67 attach hard disks to SATA ports when the virtual SATA
68 controller is disabled.&lt;/qt&gt;
69 </string>
70 </property>
71 </widget>
72 <widget class="QGroupBox">
73 <property name="name">
74 <cstring>mGbHDList</cstring>
75 </property>
76 <property name="title">
77 <string>Hard Disks &amp;Attachments</string>
78 </property>
79 <hbox>
80 <property name="name">
81 <cstring>unnamed</cstring>
82 </property>
83 <vbox>
84 <property name="name">
85 <cstring>unnamed</cstring>
86 </property>
87 <widget class="QListView">
88 <column>
89 <property name="text">
90 <string>Slot</string>
91 </property>
92 <property name="clickable">
93 <bool>true</bool>
94 </property>
95 <property name="resizable">
96 <bool>true</bool>
97 </property>
98 </column>
99 <column>
100 <property name="text">
101 <string>Hard Disk</string>
102 </property>
103 <property name="clickable">
104 <bool>true</bool>
105 </property>
106 <property name="resizable">
107 <bool>true</bool>
108 </property>
109 </column>
110 <property name="name">
111 <cstring>mLvHD</cstring>
112 </property>
113 <property name="allColumnsShowFocus">
114 <bool>true</bool>
115 </property>
116 <property name="resizeMode">
117 <enum>LastColumn</enum>
118 </property>
119 <property name="whatsThis" stdset="0">
120 <string>
121 &lt;qt&gt;Lists all hard disks attached to
122 this machine. Use a mouse double-click or the
123 &lt;tt&gt;F2&lt;/tt&gt;/&lt;tt&gt;Space&lt;/tt&gt;
124 key on the highlighted item to activate the
125 drop-down list and choose the desired value.
126 Use the context menu or buttons to the right
127 to add or remove hard disk
128 attachments.&lt;/qt&gt;
129 </string>
130 </property>
131 </widget>
132 <widget class="QCheckBox">
133 <property name="name">
134 <cstring>mShowDiffsCheck</cstring>
135 </property>
136 <property name="text">
137 <string>&amp;Show Differencing Hard Disks</string>
138 </property>
139 <property name="whatsThis" stdset="0">
140 <string>
141 &lt;qt&gt;If checked, it will show
142 differencing hard disks actually attached
143 to the slots instead of their base hard
144 disks (shown in case of indirect
145 attachments) and will also let attach
146 other differencing hard disks explicitly.
147 Check this only if you need a complex hard
148 disk setup.&lt;/qt&gt;
149 </string>
150 </property>
151 </widget>
152 </vbox>
153 <widget class="QLayoutWidget">
154 <property name="name">
155 <cstring>mToolBarLayout</cstring>
156 </property>
157 <vbox>
158 <property name="name">
159 <cstring>unnamed</cstring>
160 </property>
161 <property name="spacing">
162 <number>0</number>
163 </property>
164 <spacer>
165 <property name="name">
166 <cstring>mSpHD</cstring>
167 </property>
168 <property name="orientation">
169 <enum>Vertical</enum>
170 </property>
171 <property name="sizeType">
172 <enum>Expanding</enum>
173 </property>
174 <property name="sizeHint">
175 <size>
176 <width>10</width>
177 <height>0</height>
178 </size>
179 </property>
180 </spacer>
181 </vbox>
182 </widget>
183 </hbox>
184 </widget>
185 </vbox>
186 </widget>
187 </vbox>
188</widget>
189<toolbars>
190</toolbars>
191<actions>
192 <action>
193 <property name="name">
194 <cstring>mAddAttachmentAct</cstring>
195 </property>
196 <property name="text">
197 <string>Add Attachment</string>
198 </property>
199 <property name="menuText">
200 <string>&amp;Add Attachment</string>
201 </property>
202 <property name="accel">
203 <string>Ins</string>
204 </property>
205 <property name="whatsThis" stdset="0">
206 <string>
207 &lt;qt&gt;Adds a new hard disk attachment.&lt;/qt&gt;
208 </string>
209 </property>
210 </action>
211 <action>
212 <property name="name">
213 <cstring>mRemoveAttachmentAct</cstring>
214 </property>
215 <property name="text">
216 <string>Remove Attachment</string>
217 </property>
218 <property name="menuText">
219 <string>&amp;Remove Attachment</string>
220 </property>
221 <property name="accel">
222 <string>Delete</string>
223 </property>
224 <property name="whatsThis" stdset="0">
225 <string>
226 &lt;qt&gt;Removes the highlighted hard disk attachment.&lt;/qt&gt;
227 </string>
228 </property>
229 </action>
230 <action>
231 <property name="name">
232 <cstring>mSelectHardDiskAct</cstring>
233 </property>
234 <property name="text">
235 <string>Select Hard Disk</string>
236 </property>
237 <property name="menuText">
238 <string>&amp;Select Hard Disk</string>
239 </property>
240 <property name="accel">
241 <string>Ctrl+Space</string>
242 </property>
243 <property name="whatsThis" stdset="0">
244 <string>
245 &lt;qt&gt;Invokes the Virtual Media Manager to select a hard disk
246 to attach to the currently highlighted slot.&lt;/qt&gt;
247 </string>
248 </property>
249 </action>
250</actions>
251<connections>
252 <connection>
253 <sender>mAddAttachmentAct</sender>
254 <signal>activated()</signal>
255 <receiver>VBoxHardDiskSettings</receiver>
256 <slot>addHDItem()</slot>
257 </connection>
258 <connection>
259 <sender>mRemoveAttachmentAct</sender>
260 <signal>activated()</signal>
261 <receiver>VBoxHardDiskSettings</receiver>
262 <slot>delHDItem()</slot>
263 </connection>
264 <connection>
265 <sender>mSelectHardDiskAct</sender>
266 <signal>activated()</signal>
267 <receiver>VBoxHardDiskSettings</receiver>
268 <slot>showMediaManager()</slot>
269 </connection>
270 <connection>
271 <sender>mSATACheck</sender>
272 <signal>toggled(bool)</signal>
273 <receiver>VBoxHardDiskSettings</receiver>
274 <slot>onSATACheckToggled(bool)</slot>
275 </connection>
276 <connection>
277 <sender>mLvHD</sender>
278 <signal>pressed(QListViewItem*,const QPoint&amp;,int)</signal>
279 <receiver>VBoxHardDiskSettings</receiver>
280 <slot>moveFocus(QListViewItem*, const QPoint&amp;,int)</slot>
281 </connection>
282 <connection>
283 <sender>mLvHD</sender>
284 <signal>currentChanged(QListViewItem*)</signal>
285 <receiver>VBoxHardDiskSettings</receiver>
286 <slot>onCurrentChanged(QListViewItem*)</slot>
287 </connection>
288 <connection>
289 <sender>mLvHD</sender>
290 <signal>contextMenuRequested(QListViewItem*,const QPoint&amp;,int)</signal>
291 <receiver>VBoxHardDiskSettings</receiver>
292 <slot>onContextMenuRequested(QListViewItem*,const QPoint&amp;,int)</slot>
293 </connection>
294 <connection>
295 <sender>mShowDiffsCheck</sender>
296 <signal>toggled(bool)</signal>
297 <receiver>VBoxHardDiskSettings</receiver>
298 <slot>onShowDiffsCheckToggled(bool)</slot>
299 </connection>
300</connections>
301<includes>
302 <include location="global" impldecl="in declaration">qaction.h</include>
303 <include location="global" impldecl="in declaration">qpopupmenu.h</include>
304 <include location="global" impldecl="in implementation">qptrvector.h</include>
305 <include location="global" impldecl="in implementation">qcombobox.h</include>
306 <include location="global" impldecl="in implementation">qlistbox.h</include>
307 <include location="global" impldecl="in implementation">qobjectlist.h</include>
308 <include location="global" impldecl="in implementation">qaction.h</include>
309 <include location="global" impldecl="in implementation">qpopupmenu.h</include>
310 <include location="global" impldecl="in implementation">qtimer.h</include>
311 <include location="local" impldecl="in declaration">COMDefs.h</include>
312 <include location="local" impldecl="in implementation">VBoxToolBar.h</include>
313 <include location="local" impldecl="in implementation">VBoxGlobal.h</include>
314 <include location="local" impldecl="in implementation">VBoxProblemReporter.h</include>
315 <include location="local" impldecl="in implementation">VBoxMediaComboBox.h</include>
316 <include location="local" impldecl="in implementation">VBoxMediaManagerDlg.h</include>
317 <include location="local" impldecl="in implementation">VBoxNewHDWzd.h</include>
318 <include location="local" impldecl="in implementation">VBoxHardDiskSettings.ui.h</include>
319</includes>
320<forwards>
321 <forward>class HDSlotUniquizer</forward>
322 <forward>class HDListItem</forward>
323</forwards>
324<variables>
325 <variable access="private">QListViewItem *mPrevItem;</variable>
326 <variable access="private">HDSlotUniquizer *mSlotUniquizer;</variable>
327 <variable access="private">CMachine mMachine;</variable>
328 <variable access="private">QPopupMenu *mContextMenu;</variable>
329</variables>
330<signals>
331 <signal>afterCurrentChanged()</signal>
332 <signal>hardDiskListChanged()</signal>
333</signals>
334<slots>
335 <slot>addHDItem()</slot>
336 <slot>delHDItem()</slot>
337 <slot>showMediaManager()</slot>
338 <slot>moveFocus( QListViewItem *, const QPoint &amp;, int )</slot>
339 <slot>onCurrentChanged( QListViewItem * )</slot>
340 <slot>onSATACheckToggled( bool aOn )</slot>
341 <slot>onShowDiffsCheckToggled( bool aOn )</slot>
342 <slot>onAfterCurrentChanged( QListViewItem * )</slot>
343 <slot>onContextMenuRequested( QListViewItem *, const QPoint &amp;, int )</slot>
344 <slot>adjustList()</slot>
345</slots>
346<functions>
347 <function access="private">init()</function>
348 <function>getFromMachine( const CMachine &amp; )</function>
349 <function>putBackToMachine()</function>
350 <function returnType="QString">checkValidity()</function>
351 <function access="private" returnType="HDListItem*">createItem()</function>
352 <function access="private" returnType="bool">event( QEvent * )</function>
353 <function access="private">showEvent( QShowEvent * )</function>
354 <function access="private" returnType="bool">eventFilter( QObject * , QEvent * )</function>
355</functions>
356<layoutdefaults spacing="6" margin="11"/>
357</UI>
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette