1 | <!DOCTYPE UI><UI version="3.3" stdsetdef="1">
|
---|
2 | <class>VBoxRegistrationDlg</class>
|
---|
3 | <comment>
|
---|
4 |
|
---|
5 | :mode=html:tabSize=4:indentSize=4:noTabs=true:
|
---|
6 | :folding=explicit:collapseFolds=1:
|
---|
7 |
|
---|
8 | Copyright (C) 2007 Sun Microsystems, Inc.
|
---|
9 |
|
---|
10 | This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
11 | available from http://www.virtualbox.org. This file is free software;
|
---|
12 | you can redistribute it and/or modify it under the terms of the GNU
|
---|
13 | General Public License (GPL) as published by the Free Software
|
---|
14 | Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
15 | VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
16 | hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
17 |
|
---|
18 | Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
|
---|
19 | Clara, CA 95054 USA or visit http://www.sun.com if you need
|
---|
20 | additional information or have any questions.
|
---|
21 | </comment>
|
---|
22 | <widget class="QWizard">
|
---|
23 | <property name="name">
|
---|
24 | <cstring>VBoxRegistrationDlg</cstring>
|
---|
25 | </property>
|
---|
26 | <property name="geometry">
|
---|
27 | <rect>
|
---|
28 | <x>0</x>
|
---|
29 | <y>0</y>
|
---|
30 | <width>600</width>
|
---|
31 | <height>450</height>
|
---|
32 | </rect>
|
---|
33 | </property>
|
---|
34 | <property name="caption">
|
---|
35 | <string>VirtualBox Registration Dialog</string>
|
---|
36 | </property>
|
---|
37 | <property name="icon">
|
---|
38 | <pixmap>register_16px.png</pixmap>
|
---|
39 | </property>
|
---|
40 | <property name="titleFont">
|
---|
41 | <font>
|
---|
42 | <family>Arial</family>
|
---|
43 | <pointsize>12</pointsize>
|
---|
44 | <bold>1</bold>
|
---|
45 | </font>
|
---|
46 | </property>
|
---|
47 | <widget class="QWidget">
|
---|
48 | <property name="name">
|
---|
49 | <cstring>pageReg</cstring>
|
---|
50 | </property>
|
---|
51 | <attribute name="title">
|
---|
52 | <string>Welcome to the VirtualBox Registration Form!</string>
|
---|
53 | </attribute>
|
---|
54 | <hbox>
|
---|
55 | <property name="name">
|
---|
56 | <cstring>unnamed</cstring>
|
---|
57 | </property>
|
---|
58 | <property name="spacing">
|
---|
59 | <number>10</number>
|
---|
60 | </property>
|
---|
61 | <property name="resizeMode">
|
---|
62 | <enum>Minimum</enum>
|
---|
63 | </property>
|
---|
64 | <widget class="QLabel">
|
---|
65 | <property name="name">
|
---|
66 | <cstring>pictureLabel</cstring>
|
---|
67 | </property>
|
---|
68 | <property name="sizePolicy">
|
---|
69 | <sizepolicy>
|
---|
70 | <hsizetype>4</hsizetype>
|
---|
71 | <vsizetype>5</vsizetype>
|
---|
72 | <horstretch>0</horstretch>
|
---|
73 | <verstretch>0</verstretch>
|
---|
74 | </sizepolicy>
|
---|
75 | </property>
|
---|
76 | <property name="pixmap">
|
---|
77 | <pixmap>vmw_new_user.png</pixmap>
|
---|
78 | </property>
|
---|
79 | <property name="alignment">
|
---|
80 | <set>AlignTop</set>
|
---|
81 | </property>
|
---|
82 | </widget>
|
---|
83 | <widget class="QLayoutWidget">
|
---|
84 | <property name="name">
|
---|
85 | <cstring>layout9</cstring>
|
---|
86 | </property>
|
---|
87 | <vbox>
|
---|
88 | <property name="name">
|
---|
89 | <cstring>unnamed</cstring>
|
---|
90 | </property>
|
---|
91 | <widget class="QIRichLabel">
|
---|
92 | <property name="name">
|
---|
93 | <cstring>mTextLabel</cstring>
|
---|
94 | </property>
|
---|
95 | <property name="text" stdset="0">
|
---|
96 | <string><p>Please fill out this registration form to let us know that you use VirtualBox and, optionally, to keep you informed about VirtualBox news and updates.</p><p>Enter your full name using Latin characters and your e-mail address to the fields below. Please note that Sun Microsystems will use this information only to gather product usage statistics and to send you VirtualBox newsletters. In particular, Sun Microsystems will never pass your data to third parties. Detailed information about how we use your personal data can be found in the <b>Privacy Policy</b> section of the VirtualBox Manual or on the <a href=http://www.virtualbox.org/wiki/PrivacyPolicy>Privacy Policy</a> page of the VirtualBox web-site.</p></string>
|
---|
97 | </property>
|
---|
98 | </widget>
|
---|
99 | <spacer>
|
---|
100 | <property name="name">
|
---|
101 | <cstring>spWelcome</cstring>
|
---|
102 | </property>
|
---|
103 | <property name="orientation">
|
---|
104 | <enum>Vertical</enum>
|
---|
105 | </property>
|
---|
106 | <property name="sizeType">
|
---|
107 | <enum>Expanding</enum>
|
---|
108 | </property>
|
---|
109 | <property name="sizeHint">
|
---|
110 | <size>
|
---|
111 | <width>20</width>
|
---|
112 | <height>160</height>
|
---|
113 | </size>
|
---|
114 | </property>
|
---|
115 | </spacer>
|
---|
116 | <spacer>
|
---|
117 | <property name="name">
|
---|
118 | <cstring>widthSpacer</cstring>
|
---|
119 | </property>
|
---|
120 | <property name="orientation">
|
---|
121 | <enum>Horizontal</enum>
|
---|
122 | </property>
|
---|
123 | <property name="sizeType">
|
---|
124 | <enum>MinimumExpanding</enum>
|
---|
125 | </property>
|
---|
126 | <property name="sizeHint">
|
---|
127 | <size>
|
---|
128 | <width>400</width>
|
---|
129 | <height>0</height>
|
---|
130 | </size>
|
---|
131 | </property>
|
---|
132 | </spacer>
|
---|
133 | <widget class="QLayoutWidget">
|
---|
134 | <property name="name">
|
---|
135 | <cstring>layout7</cstring>
|
---|
136 | </property>
|
---|
137 | <grid>
|
---|
138 | <property name="name">
|
---|
139 | <cstring>unnamed</cstring>
|
---|
140 | </property>
|
---|
141 | <widget class="QLabel" row="0" column="0">
|
---|
142 | <property name="name">
|
---|
143 | <cstring>mNameLabel</cstring>
|
---|
144 | </property>
|
---|
145 | <property name="text">
|
---|
146 | <string>&Name</string>
|
---|
147 | </property>
|
---|
148 | <property name="buddy" stdset="0">
|
---|
149 | <cstring>mNameEdit</cstring>
|
---|
150 | </property>
|
---|
151 | </widget>
|
---|
152 | <widget class="QLineEdit" row="0" column="1">
|
---|
153 | <property name="name">
|
---|
154 | <cstring>mNameEdit</cstring>
|
---|
155 | </property>
|
---|
156 | <property name="whatsThis" stdset="0">
|
---|
157 | <string>Enter your full name using Latin characters.</string>
|
---|
158 | </property>
|
---|
159 | </widget>
|
---|
160 | <widget class="QLabel" row="1" column="0">
|
---|
161 | <property name="name">
|
---|
162 | <cstring>mEmailLabel</cstring>
|
---|
163 | </property>
|
---|
164 | <property name="text">
|
---|
165 | <string>&E-mail</string>
|
---|
166 | </property>
|
---|
167 | <property name="buddy" stdset="0">
|
---|
168 | <cstring>mEmailEdit</cstring>
|
---|
169 | </property>
|
---|
170 | </widget>
|
---|
171 | <widget class="QLineEdit" row="1" column="1">
|
---|
172 | <property name="name">
|
---|
173 | <cstring>mEmailEdit</cstring>
|
---|
174 | </property>
|
---|
175 | <property name="whatsThis" stdset="0">
|
---|
176 | <string>Enter your valid e-mail address.</string>
|
---|
177 | </property>
|
---|
178 | </widget>
|
---|
179 | <widget class="QCheckBox" row="2" column="0" rowspan="1" colspan="2">
|
---|
180 | <property name="name">
|
---|
181 | <cstring>mUseCheckBox</cstring>
|
---|
182 | </property>
|
---|
183 | <property name="text">
|
---|
184 | <string>&Please do not use this information to contact me</string>
|
---|
185 | </property>
|
---|
186 | <property name="whatsThis" stdset="0">
|
---|
187 | <string>Check this box if you do not want to receive mail from Sun Microsystems at the e-mail address specified above.</string>
|
---|
188 | </property>
|
---|
189 | </widget>
|
---|
190 | </grid>
|
---|
191 | </widget>
|
---|
192 | </vbox>
|
---|
193 | </widget>
|
---|
194 | </hbox>
|
---|
195 | </widget>
|
---|
196 | </widget>
|
---|
197 | <customwidgets>
|
---|
198 | <customwidget>
|
---|
199 | <class>QIRichLabel</class>
|
---|
200 | <header location="local">QIRichLabel.h</header>
|
---|
201 | <sizehint>
|
---|
202 | <width>80</width>
|
---|
203 | <height>20</height>
|
---|
204 | </sizehint>
|
---|
205 | <container>0</container>
|
---|
206 | <sizepolicy>
|
---|
207 | <hordata>5</hordata>
|
---|
208 | <verdata>5</verdata>
|
---|
209 | <horstretch>0</horstretch>
|
---|
210 | <verstretch>0</verstretch>
|
---|
211 | </sizepolicy>
|
---|
212 | <pixmap>image0</pixmap>
|
---|
213 | <property type="String">text</property>
|
---|
214 | </customwidget>
|
---|
215 | </customwidgets>
|
---|
216 | <includes>
|
---|
217 | <include location="local" impldecl="in implementation">VBoxGlobal.h</include>
|
---|
218 | <include location="local" impldecl="in implementation">VBoxNetworkFramework.h</include>
|
---|
219 | <include location="local" impldecl="in implementation">VBoxProblemReporter.h</include>
|
---|
220 | <include location="global" impldecl="in declaration">qurl.h</include>
|
---|
221 | <include location="global" impldecl="in implementation">qpushbutton.h</include>
|
---|
222 | <include location="global" impldecl="in implementation">qtimer.h</include>
|
---|
223 | <include location="global" impldecl="in implementation">qvalidator.h</include>
|
---|
224 | <include location="global" impldecl="in implementation">qprocess.h</include>
|
---|
225 | </includes>
|
---|
226 | <forwards>
|
---|
227 | <forward>class VBoxNetworkFramework</forward>
|
---|
228 | </forwards>
|
---|
229 | <variables>
|
---|
230 | <variable access="private">VBoxRegistrationDlg **mSelf;</variable>
|
---|
231 | <variable access="private">QUrl mUrl;</variable>
|
---|
232 | <variable access="private">QTimer *mTimeout;</variable>
|
---|
233 | <variable access="private">bool mSuicide;</variable>
|
---|
234 | <variable access="private">bool mHandshake;</variable>
|
---|
235 | <variable access="private">VBoxNetworkFramework *mNetfw;</variable>
|
---|
236 | </variables>
|
---|
237 | <slots>
|
---|
238 | <slot access="private">registration()</slot>
|
---|
239 | <slot access="private">processTimeout()</slot>
|
---|
240 | <slot access="private">onNetBegin( int )</slot>
|
---|
241 | <slot access="private">onNetData( const QByteArray & )</slot>
|
---|
242 | <slot access="private">onNetEnd( const QByteArray & )</slot>
|
---|
243 | <slot access="private">onNetError( const QString & )</slot>
|
---|
244 | <slot access="private">accept()</slot>
|
---|
245 | <slot access="private">reject()</slot>
|
---|
246 | <slot access="private">validate()</slot>
|
---|
247 | </slots>
|
---|
248 | <functions>
|
---|
249 | <function specifier="static" returnType="bool">hasToBeShown()</function>
|
---|
250 | <function access="private">init()</function>
|
---|
251 | <function access="private">destroy()</function>
|
---|
252 | <function>setup( VBoxRegistrationDlg ** )</function>
|
---|
253 | <function access="private">languageChangeImp()</function>
|
---|
254 | <function access="private">postRequest( const QString & , const QString & )</function>
|
---|
255 | <function access="private" returnType="QString">getPlatform()</function>
|
---|
256 | <function>abortRegisterRequest( const QString & )</function>
|
---|
257 | <function access="private">showEvent( QShowEvent* )</function>
|
---|
258 | </functions>
|
---|
259 | <pixmapinproject/>
|
---|
260 | <layoutdefaults spacing="6" margin="11"/>
|
---|
261 | </UI>
|
---|