source: trunk/doc/src/snippets/code/doc_src_emb-qvfb.qdoc@ 973

Last change on this file since 973 was 846, checked in by Dmitry A. Kuminov, 14 years ago

trunk: Merged in qt 4.7.2 sources from branches/vendor/nokia/qt.

File size: 3.8 KB
Line 
1/****************************************************************************
2**
3** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
4** All rights reserved.
5** Contact: Nokia Corporation ([email protected])
6**
7** This file is part of the documentation of the Qt Toolkit.
8**
9** $QT_BEGIN_LICENSE:BSD$
10** You may use this file under the terms of the BSD license as follows:
11**
12** "Redistribution and use in source and binary forms, with or without
13** modification, are permitted provided that the following conditions are
14** met:
15** * Redistributions of source code must retain the above copyright
16** notice, this list of conditions and the following disclaimer.
17** * Redistributions in binary form must reproduce the above copyright
18** notice, this list of conditions and the following disclaimer in
19** the documentation and/or other materials provided with the
20** distribution.
21** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
22** the names of its contributors may be used to endorse or promote
23** products derived from this software without specific prior written
24** permission.
25**
26** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
27** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
28** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
29** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
30** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
31** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
32** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
33** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
34** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
35** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
36** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
37** $QT_END_LICENSE$
38**
39****************************************************************************/
40
41//! [0]
42cd path/to/QtEmbedded
43./configure -qvfb
44make
45//! [0]
46
47
48//! [1]
49cd path/to/Qt/tools/qvfb
50make
51./qvfb
52//! [1]
53
54
55//! [2]
56cd path/to/Qt/tools/qvfb/ClamshellPhone.skin/
57//! [2]
58
59
60//! [3]
61[SkinFile]
62Up=ClamshellPhone1-5.png
63Down=ClamshellPhone1-5-pressed.png
64Closed=ClamshellPhone1-5-closed.png
65Screen=72 84 176 208
66Areas=22
67
68"Power" 0x0100000a 205 563 249 586
69"1" 0x0031 62 414 119 438
70"2" 0x0032 130 414 189 438
71"3" 0x0033 198 413 257 438
72"4" 0x0034 54 444 117 470
73"5" 0x0035 128 444 189 471
74"6" 0x0036 202 444 264 471
75"7" 0x0037 47 477 113 507
76"8" 0x0038 126 477 190 507
77"9" 0x0039 205 478 270 509
78"*" 0x002a 39 515 110 552
79"0" 0x0030 122 515 195 553
80"#" 0x0023 207 516 280 553
81"Context1" 0x01100000 137 360 108 383 123 410 90 409 60 387 63 378
82 100 362
83"Back" 0x01000061 184 361 206 376 213 387 197 410 226 410 256 392
84 258 381 244 369
85"Backspace" 0x01000003 68 563 113 587
86"Select" 0x01010000 160 391 172 390 181 386 184 381 180 377 173
87 373 165 372 155 372 145 375 138 378 136
88 382 138 387 147 390
89"Left" 0x1000012 141 390 136 385 136 381 143 375 132 371 120
90 380 121 393 129 401
91"Down" 0x1000015 143 389 130 402 162 412 191 404 175 390
92"Right" 0x1000014 186 370 176 375 184 382 182 387 175 390 190 404
93 201 396 202 375
94"Up" 0x1000013 133 370 143 374 176 374 185 370 169 362 149 362
95"Flip" 0x01100006 98 325 225 353
96//! [3]
97
98
99//! [4]
100cd path/to/QtEmbedded/examples/widgets/analogclock
101make
102./analogclock -qws
103//! [4]
104
105
106//! [5]
107cd path/to/QtEmbedded/examples/widgets/analogclock
108make
109./analogclock -qws -display QVFb:0
110//! [5]
Note: See TracBrowser for help on using the repository browser.