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 InnoTek Systemberatung 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 | #
|
---|
17 | # If you received this file as part of a commercial VirtualBox
|
---|
18 | # distribution, then only the terms of your commercial VirtualBox
|
---|
19 | # license agreement apply instead of the previous paragraph.
|
---|
20 | </comment>
|
---|
21 | <widget class="QWidget">
|
---|
22 | <property name="name">
|
---|
23 | <cstring>VBoxSharedFoldersSettings</cstring>
|
---|
24 | </property>
|
---|
25 | <property name="geometry">
|
---|
26 | <rect>
|
---|
27 | <x>0</x>
|
---|
28 | <y>0</y>
|
---|
29 | <width>286</width>
|
---|
30 | <height>247</height>
|
---|
31 | </rect>
|
---|
32 | </property>
|
---|
33 | <property name="sizePolicy">
|
---|
34 | <sizepolicy>
|
---|
35 | <hsizetype>7</hsizetype>
|
---|
36 | <vsizetype>7</vsizetype>
|
---|
37 | <horstretch>0</horstretch>
|
---|
38 | <verstretch>0</verstretch>
|
---|
39 | </sizepolicy>
|
---|
40 | </property>
|
---|
41 | <property name="caption">
|
---|
42 | <string>VBoxUSBFilterSettings</string>
|
---|
43 | <comment>don't translate</comment>
|
---|
44 | </property>
|
---|
45 | <vbox>
|
---|
46 | <property name="name">
|
---|
47 | <cstring>unnamed</cstring>
|
---|
48 | </property>
|
---|
49 | <property name="margin">
|
---|
50 | <number>0</number>
|
---|
51 | </property>
|
---|
52 | <property name="spacing">
|
---|
53 | <number>10</number>
|
---|
54 | </property>
|
---|
55 | <widget class="QGroupBox">
|
---|
56 | <property name="name">
|
---|
57 | <cstring>gbSharedFolders</cstring>
|
---|
58 | </property>
|
---|
59 | <property name="title">
|
---|
60 | <string>Shared &Folders</string>
|
---|
61 | </property>
|
---|
62 | <hbox>
|
---|
63 | <property name="name">
|
---|
64 | <cstring>unnamed</cstring>
|
---|
65 | </property>
|
---|
66 | <widget class="QListView">
|
---|
67 | <column>
|
---|
68 | <property name="text">
|
---|
69 | <string>Name</string>
|
---|
70 | </property>
|
---|
71 | <property name="clickable">
|
---|
72 | <bool>true</bool>
|
---|
73 | </property>
|
---|
74 | <property name="resizable">
|
---|
75 | <bool>true</bool>
|
---|
76 | </property>
|
---|
77 | </column>
|
---|
78 | <column>
|
---|
79 | <property name="text">
|
---|
80 | <string>Path</string>
|
---|
81 | </property>
|
---|
82 | <property name="clickable">
|
---|
83 | <bool>true</bool>
|
---|
84 | </property>
|
---|
85 | <property name="resizable">
|
---|
86 | <bool>true</bool>
|
---|
87 | </property>
|
---|
88 | </column>
|
---|
89 | <property name="name">
|
---|
90 | <cstring>listView</cstring>
|
---|
91 | </property>
|
---|
92 | <property name="allColumnsShowFocus">
|
---|
93 | <bool>true</bool>
|
---|
94 | </property>
|
---|
95 | <property name="resizeMode">
|
---|
96 | <enum>AllColumns</enum>
|
---|
97 | </property>
|
---|
98 | <property name="whatsThis" stdset="0">
|
---|
99 | <string><qt>Lists all shared folders accessible to this machine.
|
---|
100 | Use
|
---|
101 | <tt>net use x: \\vboxsvr\share</tt>
|
---|
102 | to access a shared folder named <i>share</i> from a DOS-like OS, or
|
---|
103 | <tt>mount -t vboxsf share mount_point</tt>
|
---|
104 | to access it from a Linux OS. This feature requires Guest Additions.</qt></string>
|
---|
105 | </property>
|
---|
106 | </widget>
|
---|
107 | <widget class="QLayoutWidget">
|
---|
108 | <property name="name">
|
---|
109 | <cstring>layout101</cstring>
|
---|
110 | </property>
|
---|
111 | <vbox>
|
---|
112 | <property name="name">
|
---|
113 | <cstring>unnamed</cstring>
|
---|
114 | </property>
|
---|
115 | <property name="spacing">
|
---|
116 | <number>0</number>
|
---|
117 | </property>
|
---|
118 | <widget class="QToolButton">
|
---|
119 | <property name="name">
|
---|
120 | <cstring>tbAdd</cstring>
|
---|
121 | </property>
|
---|
122 | <property name="focusPolicy">
|
---|
123 | <enum>TabFocus</enum>
|
---|
124 | </property>
|
---|
125 | <property name="text">
|
---|
126 | <string>Add</string>
|
---|
127 | </property>
|
---|
128 | <property name="autoRaise">
|
---|
129 | <bool>true</bool>
|
---|
130 | </property>
|
---|
131 | <property name="whatsThis" stdset="0">
|
---|
132 | <string>Adds a new shared folder definition.</string>
|
---|
133 | </property>
|
---|
134 | </widget>
|
---|
135 | <widget class="QToolButton">
|
---|
136 | <property name="name">
|
---|
137 | <cstring>tbEdit</cstring>
|
---|
138 | </property>
|
---|
139 | <property name="focusPolicy">
|
---|
140 | <enum>TabFocus</enum>
|
---|
141 | </property>
|
---|
142 | <property name="text">
|
---|
143 | <string>Edit</string>
|
---|
144 | </property>
|
---|
145 | <property name="autoRaise">
|
---|
146 | <bool>true</bool>
|
---|
147 | </property>
|
---|
148 | <property name="whatsThis" stdset="0">
|
---|
149 | <string>Edit selected shared folder definition.</string>
|
---|
150 | </property>
|
---|
151 | </widget>
|
---|
152 | <widget class="QToolButton">
|
---|
153 | <property name="name">
|
---|
154 | <cstring>tbRemove</cstring>
|
---|
155 | </property>
|
---|
156 | <property name="focusPolicy">
|
---|
157 | <enum>TabFocus</enum>
|
---|
158 | </property>
|
---|
159 | <property name="text">
|
---|
160 | <string>Remove</string>
|
---|
161 | </property>
|
---|
162 | <property name="autoRaise">
|
---|
163 | <bool>true</bool>
|
---|
164 | </property>
|
---|
165 | <property name="whatsThis" stdset="0">
|
---|
166 | <string>Removes the selected shared folder definition.</string>
|
---|
167 | </property>
|
---|
168 | </widget>
|
---|
169 | <spacer>
|
---|
170 | <property name="name">
|
---|
171 | <cstring>spacer76</cstring>
|
---|
172 | </property>
|
---|
173 | <property name="orientation">
|
---|
174 | <enum>Vertical</enum>
|
---|
175 | </property>
|
---|
176 | <property name="sizeType">
|
---|
177 | <enum>Expanding</enum>
|
---|
178 | </property>
|
---|
179 | <property name="sizeHint">
|
---|
180 | <size>
|
---|
181 | <width>21</width>
|
---|
182 | <height>101</height>
|
---|
183 | </size>
|
---|
184 | </property>
|
---|
185 | </spacer>
|
---|
186 | </vbox>
|
---|
187 | </widget>
|
---|
188 | </hbox>
|
---|
189 | </widget>
|
---|
190 | </vbox>
|
---|
191 | </widget>
|
---|
192 | <includes>
|
---|
193 | <include location="local" impldecl="in declaration">VBoxGlobal.h</include>
|
---|
194 | <include location="local" impldecl="in implementation">VBoxUtils.h</include>
|
---|
195 | <include location="local" impldecl="in implementation">VBoxProblemReporter.h</include>
|
---|
196 | <include location="global" impldecl="in implementation">qfiledialog.h</include>
|
---|
197 | <include location="global" impldecl="in implementation">qlabel.h</include>
|
---|
198 | <include location="global" impldecl="in implementation">qlineedit.h</include>
|
---|
199 | <include location="global" impldecl="in implementation">qregexp.h</include>
|
---|
200 | </includes>
|
---|
201 | <variables>
|
---|
202 | <variable access="public">enum SFDialogType { WrongType = 0, GlobalType = 1, MachineType = 2, ConsoleType = 3 };</variable>
|
---|
203 | <variable access="private">bool mIsListViewChanged;</variable>
|
---|
204 | <variable access="private">SFDialogType mDialogType;</variable>
|
---|
205 | <variable access="private">CMachine mMachine;</variable>
|
---|
206 | <variable access="private">CConsole mConsole;</variable>
|
---|
207 | </variables>
|
---|
208 | <slots>
|
---|
209 | <slot>tbAddPressed()</slot>
|
---|
210 | <slot>tbEditPressed()</slot>
|
---|
211 | <slot>tbRemovePressed()</slot>
|
---|
212 | <slot>processOnItem( QListViewItem* )</slot>
|
---|
213 | <slot>processCurrentChanged( QListViewItem* )</slot>
|
---|
214 | </slots>
|
---|
215 | <functions>
|
---|
216 | <function access="private">init()</function>
|
---|
217 | <function>setDialogType( VBoxSharedFoldersSettings::SFDialogType )</function>
|
---|
218 | <function access="private">removeSharedFolder( const QString &, const QString &, VBoxSharedFoldersSettings::SFDialogType )</function>
|
---|
219 | <function access="private">createSharedFolder( const QString &, const QString &, VBoxSharedFoldersSettings::SFDialogType )</function>
|
---|
220 | <function>getFromGlobal()</function>
|
---|
221 | <function>getFromMachine( const CMachine & )</function>
|
---|
222 | <function>getFromConsole( const CConsole & )</function>
|
---|
223 | <function access="private">getFrom( const CSharedFolderEnumerator &, QListViewItem* )</function>
|
---|
224 | <function>putBackToGlobal()</function>
|
---|
225 | <function>putBackToMachine()</function>
|
---|
226 | <function>putBackToConsole()</function>
|
---|
227 | <function access="private">putBackTo( CSharedFolderEnumerator &, QListViewItem* )</function>
|
---|
228 | <function access="private" returnType="bool">isEditable( const QString & )</function>
|
---|
229 | </functions>
|
---|
230 | <pixmapinproject/>
|
---|
231 | <layoutdefaults spacing="6" margin="11"/>
|
---|
232 | </UI>
|
---|