0
|
1 |
/****************************************************************************
|
|
2 |
**
|
|
3 |
** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
4 |
** All rights reserved.
|
|
5 |
** Contact: Nokia Corporation (qt-info@nokia.com)
|
|
6 |
**
|
|
7 |
** This file is part of the documentation of the Qt Toolkit.
|
|
8 |
**
|
|
9 |
** $QT_BEGIN_LICENSE:LGPL$
|
|
10 |
** No Commercial Usage
|
|
11 |
** This file contains pre-release code and may not be distributed.
|
|
12 |
** You may use this file in accordance with the terms and conditions
|
|
13 |
** contained in the Technology Preview License Agreement accompanying
|
|
14 |
** this package.
|
|
15 |
**
|
|
16 |
** GNU Lesser General Public License Usage
|
|
17 |
** Alternatively, this file may be used under the terms of the GNU Lesser
|
|
18 |
** General Public License version 2.1 as published by the Free Software
|
|
19 |
** Foundation and appearing in the file LICENSE.LGPL included in the
|
|
20 |
** packaging of this file. Please review the following information to
|
|
21 |
** ensure the GNU Lesser General Public License version 2.1 requirements
|
|
22 |
** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
|
23 |
**
|
|
24 |
** In addition, as a special exception, Nokia gives you certain additional
|
|
25 |
** rights. These rights are described in the Nokia Qt LGPL Exception
|
|
26 |
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
|
27 |
**
|
|
28 |
** If you have questions regarding the use of this file, please contact
|
|
29 |
** Nokia at qt-info@nokia.com.
|
|
30 |
**
|
|
31 |
**
|
|
32 |
**
|
|
33 |
**
|
|
34 |
**
|
|
35 |
**
|
|
36 |
**
|
|
37 |
**
|
|
38 |
** $QT_END_LICENSE$
|
|
39 |
**
|
|
40 |
****************************************************************************/
|
|
41 |
|
|
42 |
//! [0]
|
|
43 |
cd path/to/QtEmbedded
|
|
44 |
./configure -qvfb
|
|
45 |
make
|
|
46 |
//! [0]
|
|
47 |
|
|
48 |
|
|
49 |
//! [1]
|
|
50 |
cd path/to/Qt/tools/qvfb
|
|
51 |
make
|
|
52 |
./qvfb
|
|
53 |
//! [1]
|
|
54 |
|
|
55 |
|
|
56 |
//! [2]
|
|
57 |
cd path/to/Qt/tools/qvfb/ClamshellPhone.skin/
|
|
58 |
//! [2]
|
|
59 |
|
|
60 |
|
|
61 |
//! [3]
|
|
62 |
[SkinFile]
|
|
63 |
Up=ClamshellPhone1-5.png
|
|
64 |
Down=ClamshellPhone1-5-pressed.png
|
|
65 |
Closed=ClamshellPhone1-5-closed.png
|
|
66 |
Screen=72 84 176 208
|
|
67 |
Areas=22
|
|
68 |
|
|
69 |
"Power" 0x0100000a 205 563 249 586
|
|
70 |
"1" 0x0031 62 414 119 438
|
|
71 |
"2" 0x0032 130 414 189 438
|
|
72 |
"3" 0x0033 198 413 257 438
|
|
73 |
"4" 0x0034 54 444 117 470
|
|
74 |
"5" 0x0035 128 444 189 471
|
|
75 |
"6" 0x0036 202 444 264 471
|
|
76 |
"7" 0x0037 47 477 113 507
|
|
77 |
"8" 0x0038 126 477 190 507
|
|
78 |
"9" 0x0039 205 478 270 509
|
|
79 |
"*" 0x002a 39 515 110 552
|
|
80 |
"0" 0x0030 122 515 195 553
|
|
81 |
"#" 0x0023 207 516 280 553
|
|
82 |
"Context1" 0x01100000 137 360 108 383 123 410 90 409 60 387 63 378
|
|
83 |
100 362
|
|
84 |
"Back" 0x01000061 184 361 206 376 213 387 197 410 226 410 256 392
|
|
85 |
258 381 244 369
|
|
86 |
"Backspace" 0x01000003 68 563 113 587
|
|
87 |
"Select" 0x01010000 160 391 172 390 181 386 184 381 180 377 173
|
|
88 |
373 165 372 155 372 145 375 138 378 136
|
|
89 |
382 138 387 147 390
|
|
90 |
"Left" 0x1000012 141 390 136 385 136 381 143 375 132 371 120
|
|
91 |
380 121 393 129 401
|
|
92 |
"Down" 0x1000015 143 389 130 402 162 412 191 404 175 390
|
|
93 |
"Right" 0x1000014 186 370 176 375 184 382 182 387 175 390 190 404
|
|
94 |
201 396 202 375
|
|
95 |
"Up" 0x1000013 133 370 143 374 176 374 185 370 169 362 149 362
|
|
96 |
"Flip" 0x01100006 98 325 225 353
|
|
97 |
//! [3]
|
|
98 |
|
|
99 |
|
|
100 |
//! [4]
|
|
101 |
cd path/to/QtEmbedded/examples/widgets/analogclock
|
|
102 |
make
|
|
103 |
./analogclock -qws
|
|
104 |
//! [4]
|
|
105 |
|
|
106 |
|
|
107 |
//! [5]
|
|
108 |
cd path/to/QtEmbedded/examples/widgets/analogclock
|
|
109 |
make
|
|
110 |
./analogclock -qws -display QVFb:0
|
|
111 |
//! [5]
|