VirtualBox

source: vbox/trunk/src/VBox/Frontends/VirtualBox/ui/VBoxSharedFoldersSettings.ui@ 4862

Last change on this file since 4862 was 4071, checked in by vboxsync, 18 years ago

Biggest check-in ever. New source code headers for all (C) innotek files.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 11.4 KB
Line 
1<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
2<class>VBoxSharedFoldersSettings</class>
3<comment>
4:mode=html:tabSize=4:indentSize=4:noTabs=true:
5:folding=explicit:collapseFolds=1:
6
7 Copyright (C) 2006-2007 innotek GmbH
8
9 This file is part of VirtualBox Open Source Edition (OSE), as
10 available from http://www.virtualbox.org. This file is free software;
11 you can redistribute it and/or modify it under the terms of the GNU
12 General Public License as published by the Free Software Foundation,
13 in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
14 distribution. VirtualBox OSE is distributed in the hope that it will
15 be useful, but WITHOUT ANY WARRANTY of any kind.
16</comment>
17<widget class="QWidget">
18 <property name="name">
19 <cstring>VBoxSharedFoldersSettings</cstring>
20 </property>
21 <property name="geometry">
22 <rect>
23 <x>0</x>
24 <y>0</y>
25 <width>286</width>
26 <height>247</height>
27 </rect>
28 </property>
29 <property name="sizePolicy">
30 <sizepolicy>
31 <hsizetype>7</hsizetype>
32 <vsizetype>7</vsizetype>
33 <horstretch>0</horstretch>
34 <verstretch>0</verstretch>
35 </sizepolicy>
36 </property>
37 <property name="caption">
38 <string>VBoxSharedFoldersSettings</string>
39 <comment>don't translate</comment>
40 </property>
41 <vbox>
42 <property name="name">
43 <cstring>unnamed</cstring>
44 </property>
45 <property name="margin">
46 <number>0</number>
47 </property>
48 <property name="spacing">
49 <number>10</number>
50 </property>
51 <widget class="QGroupBox">
52 <property name="name">
53 <cstring>gbSharedFolders</cstring>
54 </property>
55 <property name="title">
56 <string>Shared &amp;Folders</string>
57 </property>
58 <hbox>
59 <property name="name">
60 <cstring>unnamed</cstring>
61 </property>
62 <widget class="QListView">
63 <column>
64 <property name="text">
65 <string>Name</string>
66 </property>
67 <property name="clickable">
68 <bool>true</bool>
69 </property>
70 <property name="resizable">
71 <bool>true</bool>
72 </property>
73 </column>
74 <column>
75 <property name="text">
76 <string>Path</string>
77 </property>
78 <property name="clickable">
79 <bool>true</bool>
80 </property>
81 <property name="resizable">
82 <bool>true</bool>
83 </property>
84 </column>
85 <property name="name">
86 <cstring>listView</cstring>
87 </property>
88 <property name="allColumnsShowFocus">
89 <bool>true</bool>
90 </property>
91 <property name="resizeMode">
92 <enum>AllColumns</enum>
93 </property>
94 <property name="whatsThis" stdset="0">
95 <string>&lt;qt&gt;Lists all shared folders accessible to this machine.
96Use
97&lt;tt&gt;net use x: \\vboxsvr\share&lt;/tt&gt;
98to access a shared folder named &lt;i&gt;share&lt;/i&gt; from a DOS-like OS, or
99&lt;tt&gt;mount -t vboxsf share mount_point&lt;/tt&gt;
100to access it from a Linux OS. This feature requires Guest Additions.&lt;/qt&gt;</string>
101 </property>
102 </widget>
103 <widget class="QLayoutWidget">
104 <property name="name">
105 <cstring>layout101</cstring>
106 </property>
107 <vbox>
108 <property name="name">
109 <cstring>unnamed</cstring>
110 </property>
111 <property name="spacing">
112 <number>0</number>
113 </property>
114 <widget class="QToolButton">
115 <property name="name">
116 <cstring>tbAdd</cstring>
117 </property>
118 <property name="focusPolicy">
119 <enum>TabFocus</enum>
120 </property>
121 <property name="text">
122 <string></string>
123 </property>
124 <property name="accel">
125 <string>Ins</string>
126 </property>
127 <property name="textLabel">
128 <string>Add a new shared folder (Ins)</string>
129 </property>
130 <property name="autoRaise">
131 <bool>true</bool>
132 </property>
133 <property name="whatsThis" stdset="0">
134 <string>Adds a new shared folder definition.</string>
135 </property>
136 </widget>
137 <widget class="QToolButton">
138 <property name="name">
139 <cstring>tbEdit</cstring>
140 </property>
141 <property name="focusPolicy">
142 <enum>TabFocus</enum>
143 </property>
144 <property name="text">
145 <string></string>
146 </property>
147 <property name="accel">
148 <string>Space</string>
149 </property>
150 <property name="textLabel">
151 <string>Edit the selected shared folder (Space)</string>
152 </property>
153 <property name="autoRaise">
154 <bool>true</bool>
155 </property>
156 <property name="whatsThis" stdset="0">
157 <string>Edits the selected shared folder definition.</string>
158 </property>
159 </widget>
160 <widget class="QToolButton">
161 <property name="name">
162 <cstring>tbRemove</cstring>
163 </property>
164 <property name="focusPolicy">
165 <enum>TabFocus</enum>
166 </property>
167 <property name="text">
168 <string></string>
169 </property>
170 <property name="accel">
171 <string>Del</string>
172 </property>
173 <property name="textLabel">
174 <string>Remove the selected shared folder (Del)</string>
175 </property>
176 <property name="autoRaise">
177 <bool>true</bool>
178 </property>
179 <property name="whatsThis" stdset="0">
180 <string>Removes the selected shared folder definition.</string>
181 </property>
182 </widget>
183 <spacer>
184 <property name="name">
185 <cstring>spacer76</cstring>
186 </property>
187 <property name="orientation">
188 <enum>Vertical</enum>
189 </property>
190 <property name="sizeType">
191 <enum>Expanding</enum>
192 </property>
193 <property name="sizeHint">
194 <size>
195 <width>21</width>
196 <height>101</height>
197 </size>
198 </property>
199 </spacer>
200 </vbox>
201 </widget>
202 </hbox>
203 </widget>
204 </vbox>
205</widget>
206<connections>
207 <connection>
208 <sender>listView</sender>
209 <signal>doubleClicked(QListViewItem*)</signal>
210 <receiver>VBoxSharedFoldersSettings</receiver>
211 <slot>processDoubleClick(QListViewItem*)</slot>
212 </connection>
213</connections>
214<includes>
215 <include location="local" impldecl="in declaration">VBoxGlobal.h</include>
216 <include location="local" impldecl="in implementation">VBoxUtils.h</include>
217 <include location="local" impldecl="in implementation">VBoxProblemReporter.h</include>
218 <include location="global" impldecl="in implementation">qfiledialog.h</include>
219 <include location="global" impldecl="in implementation">qlabel.h</include>
220 <include location="global" impldecl="in implementation">qlineedit.h</include>
221 <include location="global" impldecl="in implementation">qregexp.h</include>
222</includes>
223<variables>
224 <variable access="public">enum SFDialogType { WrongType, GlobalType = 0x01, MachineType = 0x02, ConsoleType = 0x04 };</variable>
225 <variable access="private">bool mIsListViewChanged;</variable>
226 <variable access="private">int mDialogType;</variable>
227 <variable access="private">CMachine mMachine;</variable>
228 <variable access="private">CConsole mConsole;</variable>
229</variables>
230<slots>
231 <slot>tbAddPressed()</slot>
232 <slot>tbEditPressed()</slot>
233 <slot>tbRemovePressed()</slot>
234 <slot>processOnItem( QListViewItem* )</slot>
235 <slot>processCurrentChanged( QListViewItem* )</slot>
236 <slot>processDoubleClick( QListViewItem* )</slot>
237</slots>
238<functions>
239 <function access="private">init()</function>
240 <function>setDialogType( int )</function>
241 <function returnType="int">dialogType() {return mDialogType;}</function>
242 <function access="private">removeSharedFolder( const QString &amp;, const QString &amp;, VBoxSharedFoldersSettings::SFDialogType )</function>
243 <function access="private">createSharedFolder( const QString &amp;, const QString &amp;, VBoxSharedFoldersSettings::SFDialogType )</function>
244 <function>getFromGlobal()</function>
245 <function>getFromMachine( const CMachine &amp; )</function>
246 <function>getFromConsole( const CConsole &amp; )</function>
247 <function access="private">getFrom( const CSharedFolderEnumerator &amp;, QListViewItem* )</function>
248 <function>putBackToGlobal()</function>
249 <function>putBackToMachine()</function>
250 <function>putBackToConsole()</function>
251 <function access="private">putBackTo( CSharedFolderEnumerator &amp;, QListViewItem* )</function>
252 <function access="private" returnType="QListViewItem*">searchRoot( bool )</function>
253 <function access="private" returnType="bool">isEditable( const QString &amp; )</function>
254</functions>
255<pixmapinproject/>
256<layoutdefaults spacing="6" margin="11"/>
257</UI>
Note: See TracBrowser for help on using the repository browser.

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