source: trunk/examples/demo/opengl/gllandscapeviewer.ui.h@ 203

Last change on this file since 203 was 160, checked in by dmik, 19 years ago

Imported table and iconview modules and a bunch of dependent examples from the official release 3.3.1 from Trolltech.

  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1/****************************************************************************
2** ui.h extension file, included from the uic-generated form implementation.
3**
4** If you wish to add, delete or rename slots use Qt Designer which will
5** update this file, preserving your code. Create an init() slot in place of
6** a constructor, and a destroy() slot in place of a destructor.
7*****************************************************************************/
8
9
10void GLLandscapeViewer::init()
11{
12 wheelX->setOrientation( Horizontal );
13 wheelY->setOrientation( Horizontal );
14 wheelZ->setOrientation( Horizontal );
15
16 wheelZoom->setOrientation( Vertical );
17 wheelZoom->setRange( 0, 200 );
18 wheelZoom->setValue( 100 );
19
20 wheelSize->setOrientation( Vertical );
21 wheelSize->setRange( 25, 200 );
22 wheelSize->setValue( 50 );
23 wheelSize->setSteps( 10, 10 );
24
25 wheelX->setRange( 0, 360 );
26 wheelY->setRange( 0, 360 );
27 wheelZ->setRange( 0, 360 );
28
29 wheelX->setTransmissionRatio( 0.5 );
30 wheelY->setTransmissionRatio( 0.5 );
31 wheelZ->setTransmissionRatio( 0.5 );
32}
33
34void GLLandscapeViewer::destroy()
35{
36
37}
Note: See TracBrowser for help on using the repository browser.