| 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 |
|
|---|
| 10 | void 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 |
|
|---|
| 34 | void GLLandscapeViewer::destroy()
|
|---|
| 35 | {
|
|---|
| 36 |
|
|---|
| 37 | }
|
|---|