summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/doc_src_emb-qvfb.qdoc
blob: d39083d70f3f1e7b1dbaf780da6d933f0c1b6a93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
/****************************************************************************
**
** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the documentation of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** No Commercial Usage
** This file contains pre-release code and may not be distributed.
** You may use this file in accordance with the terms and conditions
** contained in the Technology Preview License Agreement accompanying
** this package.
**
** GNU Lesser General Public License Usage
** Alternatively, this file may be used under the terms of the GNU Lesser
** General Public License version 2.1 as published by the Free Software
** Foundation and appearing in the file LICENSE.LGPL included in the
** packaging of this file.  Please review the following information to
** ensure the GNU Lesser General Public License version 2.1 requirements
** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
**
** In addition, as a special exception, Nokia gives you certain
** additional rights.  These rights are described in the Nokia Qt LGPL
** Exception version 1.1, included in the file LGPL_EXCEPTION.txt in this
** package.
**
** If you have questions regarding the use of this file, please contact
** Nokia at qt-info@nokia.com.
**
**
**
**
**
**
**
**
** $QT_END_LICENSE$
**
****************************************************************************/

//! [0]
cd path/to/QtEmbedded
./configure -qvfb
make
//! [0]


//! [1]
cd path/to/Qt/tools/qvfb
make
./qvfb
//! [1]


//! [2]
cd path/to/Qt/tools/qvfb/ClamshellPhone.skin/
//! [2]


//! [3]
[SkinFile]
Up=ClamshellPhone1-5.png
Down=ClamshellPhone1-5-pressed.png
Closed=ClamshellPhone1-5-closed.png
Screen=72 84 176 208
Areas=22

"Power"     0x0100000a 205 563 249 586
"1"         0x0031      62 414 119 438
"2"         0x0032     130 414 189 438
"3"         0x0033     198 413 257 438
"4"         0x0034      54 444 117 470
"5"         0x0035     128 444 189 471
"6"         0x0036     202 444 264 471
"7"         0x0037      47 477 113 507
"8"         0x0038     126 477 190 507
"9"         0x0039     205 478 270 509
"*"         0x002a      39 515 110 552
"0"         0x0030     122 515 195 553
"#"         0x0023     207 516 280 553
"Context1"  0x01100000 137 360 108 383 123 410 90 409  60 387  63 378
                       100 362
"Back"      0x01000061 184 361 206 376 213 387 197 410 226 410 256 392
                       258 381 244 369
"Backspace" 0x01000003  68 563 113 587
"Select"    0x01010000 160 391 172 390 181 386 184 381 180 377 173
                       373 165 372 155 372 145 375 138 378 136
                       382 138 387 147 390
"Left"      0x1000012  141 390 136 385 136 381 143 375 132 371 120
                       380 121 393 129 401
"Down"      0x1000015  143 389 130 402 162 412 191 404 175 390
"Right"     0x1000014  186 370 176 375 184 382 182 387 175 390 190 404
                       201 396 202 375
"Up"        0x1000013  133 370 143 374 176 374 185 370 169 362 149 362
"Flip"      0x01100006  98 325 225 353
//! [3]


//! [4]
cd path/to/QtEmbedded/examples/widgets/analogclock
make
./analogclock -qws
//! [4]


//! [5]
cd path/to/QtEmbedded/examples/widgets/analogclock
make
./analogclock -qws -display QVFb:0
//! [5]