VirtualBox

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

Last change on this file since 8256 was 8186, checked in by vboxsync, 17 years ago

FE/Qt: Removed stupid <string>Alt+[letter]</strig> added by Qt Designer.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 12.5 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>mCbSATA</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 <widget class="QListView">
84 <column>
85 <property name="text">
86 <string>Slot</string>
87 </property>
88 <property name="clickable">
89 <bool>true</bool>
90 </property>
91 <property name="resizable">
92 <bool>true</bool>
93 </property>
94 </column>
95 <column>
96 <property name="text">
97 <string>Hard Disk</string>
98 </property>
99 <property name="clickable">
100 <bool>true</bool>
101 </property>
102 <property name="resizable">
103 <bool>true</bool>
104 </property>
105 </column>
106 <property name="name">
107 <cstring>mLvHD</cstring>
108 </property>
109 <property name="allColumnsShowFocus">
110 <bool>true</bool>
111 </property>
112 <property name="resizeMode">
113 <enum>AllColumns</enum>
114 </property>
115 <property name="whatsThis" stdset="0">
116 <string>
117 &lt;qt&gt;Lists all hard disks attached to
118 this machine. Use a mouse double-click or the
119 &lt;tt&gt;F2&lt;/tt&gt;/&lt;tt&gt;Space&lt;/tt&gt;
120 key on the highlighted item to activate the
121 drop-down list and choose the desired value.
122 Use the context menu or buttons to the right
123 to add or remove hard disk
124 attachments.&lt;/qt&gt;
125 </string>
126 </property>
127 </widget>
128 <widget class="QLayoutWidget">
129 <property name="name">
130 <cstring>mToolBarLayout</cstring>
131 </property>
132 <vbox>
133 <property name="name">
134 <cstring>unnamed</cstring>
135 </property>
136 <property name="spacing">
137 <number>0</number>
138 </property>
139 <spacer>
140 <property name="name">
141 <cstring>mSpHD</cstring>
142 </property>
143 <property name="orientation">
144 <enum>Vertical</enum>
145 </property>
146 <property name="sizeType">
147 <enum>Expanding</enum>
148 </property>
149 <property name="sizeHint">
150 <size>
151 <width>10</width>
152 <height>0</height>
153 </size>
154 </property>
155 </spacer>
156 </vbox>
157 </widget>
158 </hbox>
159 </widget>
160 </vbox>
161 </widget>
162 </vbox>
163</widget>
164<toolbars>
165</toolbars>
166<actions>
167 <action>
168 <property name="name">
169 <cstring>mAddAttachmentAct</cstring>
170 </property>
171 <property name="text">
172 <string>Add Attachment</string>
173 </property>
174 <property name="menuText">
175 <string>&amp;Add Attachment</string>
176 </property>
177 <property name="accel">
178 <string>Ins</string>
179 </property>
180 <property name="whatsThis" stdset="0">
181 <string>
182 &lt;qt&gt;Adds a new hard disk attachment.&lt;/qt&gt;
183 </string>
184 </property>
185 </action>
186 <action>
187 <property name="name">
188 <cstring>mRemoveAttachmentAct</cstring>
189 </property>
190 <property name="text">
191 <string>Remove Attachment</string>
192 </property>
193 <property name="menuText">
194 <string>&amp;Remove Attachment</string>
195 </property>
196 <property name="accel">
197 <string>Delete</string>
198 </property>
199 <property name="whatsThis" stdset="0">
200 <string>
201 &lt;qt&gt;Removes the highlighted hard disk attachment.&lt;/qt&gt;
202 </string>
203 </property>
204 </action>
205 <action>
206 <property name="name">
207 <cstring>mSelectHardDiskAct</cstring>
208 </property>
209 <property name="text">
210 <string>Select Hard Disk</string>
211 </property>
212 <property name="menuText">
213 <string>&amp;Select Hard Disk</string>
214 </property>
215 <property name="accel">
216 <string>Ctrl+Space</string>
217 </property>
218 <property name="whatsThis" stdset="0">
219 <string>
220 &lt;qt&gt;Invokes the Virtual Disk Manager to select a hard disk
221 to attach to the currently highlighted slot.&lt;/qt&gt;
222 </string>
223 </property>
224 </action>
225</actions>
226<connections>
227 <connection>
228 <sender>mAddAttachmentAct</sender>
229 <signal>activated()</signal>
230 <receiver>VBoxHardDiskSettings</receiver>
231 <slot>addHDItem()</slot>
232 </connection>
233 <connection>
234 <sender>mRemoveAttachmentAct</sender>
235 <signal>activated()</signal>
236 <receiver>VBoxHardDiskSettings</receiver>
237 <slot>delHDItem()</slot>
238 </connection>
239 <connection>
240 <sender>mSelectHardDiskAct</sender>
241 <signal>activated()</signal>
242 <receiver>VBoxHardDiskSettings</receiver>
243 <slot>showVDM()</slot>
244 </connection>
245</connections>
246<includes>
247 <include location="global" impldecl="in declaration">qaction.h</include>
248 <include location="global" impldecl="in declaration">qpopupmenu.h</include>
249 <include location="global" impldecl="in implementation">qptrvector.h</include>
250 <include location="global" impldecl="in implementation">qcombobox.h</include>
251 <include location="global" impldecl="in implementation">qlistbox.h</include>
252 <include location="global" impldecl="in implementation">qobjectlist.h</include>
253 <include location="global" impldecl="in implementation">qaction.h</include>
254 <include location="global" impldecl="in implementation">qpopupmenu.h</include>
255 <include location="local" impldecl="in declaration">COMDefs.h</include>
256 <include location="local" impldecl="in implementation">VBoxToolBar.h</include>
257 <include location="local" impldecl="in implementation">VBoxGlobal.h</include>
258 <include location="local" impldecl="in implementation">VBoxProblemReporter.h</include>
259 <include location="local" impldecl="in implementation">VBoxMediaComboBox.h</include>
260 <include location="local" impldecl="in implementation">VBoxDiskImageManagerDlg.h</include>
261 <include location="local" impldecl="in implementation">VBoxHardDiskSettings.ui.h</include>
262</includes>
263<forwards>
264 <forward>class HDSlotUniquizer</forward>
265 <forward>class HDListItem</forward>
266</forwards>
267<variables>
268 <variable access="private">QListViewItem *mPrevItem;</variable>
269 <variable access="private">HDSlotUniquizer *mSlotUniquizer;</variable>
270 <variable access="private">CMachine mMachine;</variable>
271 <variable access="private">QPopupMenu *mContextMenu;</variable>
272</variables>
273<signals>
274 <signal>afterCurrentChanged()</signal>
275 <signal>hddListChanged()</signal>
276</signals>
277<slots>
278 <slot>addHDItem()</slot>
279 <slot>delHDItem()</slot>
280 <slot>showVDM()</slot>
281 <slot>moveFocus( QListViewItem *, const QPoint &amp;, int )</slot>
282 <slot>onCurrentChanged( QListViewItem * )</slot>
283 <slot>onToggleSATAController( bool aOn )</slot>
284 <slot>onAfterCurrentChanged( QListViewItem * )</slot>
285 <slot>onContextMenuRequested( QListViewItem *, const QPoint &amp;, int )</slot>
286</slots>
287<functions>
288 <function access="private">init()</function>
289 <function>getFromMachine( const CMachine &amp; )</function>
290 <function>putBackToMachine()</function>
291 <function returnType="QString">checkValidity()</function>
292 <function access="private" returnType="HDListItem*">createItem( HDSlotUniquizer *, const CMachine &amp; )</function>
293 <function access="private" returnType="bool">event( QEvent * )</function>
294 <function access="private">showEvent( QShowEvent * )</function>
295 <function access="private" returnType="bool">eventFilter( QObject * , QEvent * )</function>
296 <function access="private">adjustList()</function>
297</functions>
298<layoutdefaults spacing="6" margin="11"/>
299</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