<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
<class>GLLandscapeViewer</class>
<widget class="QWidget">
    <property name="name">
        <cstring>GLLandscapeViewer</cstring>
    </property>
    <property name="geometry">
        <rect>
            <x>0</x>
            <y>0</y>
            <width>672</width>
            <height>449</height>
        </rect>
    </property>
    <property name="caption">
        <string>Qt/OpenGL example</string>
    </property>
    <property name="layoutMargin" stdset="0">
    </property>
    <grid>
        <property name="name">
            <cstring>unnamed</cstring>
        </property>
        <property name="margin">
            <number>11</number>
        </property>
        <property name="spacing">
            <number>6</number>
        </property>
        <widget class="QLayoutWidget" row="4" column="0" rowspan="1" colspan="2">
            <property name="name">
                <cstring>Layout9</cstring>
            </property>
            <hbox>
                <property name="name">
                    <cstring>unnamed</cstring>
                </property>
                <property name="margin">
                    <number>0</number>
                </property>
                <property name="spacing">
                    <number>18</number>
                </property>
                <widget class="QLayoutWidget">
                    <property name="name">
                        <cstring>Layout5</cstring>
                    </property>
                    <vbox>
                        <property name="name">
                            <cstring>unnamed</cstring>
                        </property>
                        <property name="margin">
                            <number>0</number>
                        </property>
                        <property name="spacing">
                            <number>6</number>
                        </property>
                        <widget class="QLabel">
                            <property name="name">
                                <cstring>TextLabel1</cstring>
                            </property>
                            <property name="sizePolicy">
                                <sizepolicy>
                                    <hsizetype>1</hsizetype>
                                    <vsizetype>0</vsizetype>
                                </sizepolicy>
                            </property>
                            <property name="text">
                                <string>X-rotation</string>
                            </property>
                        </widget>
                        <widget class="QThumbWheel">
                            <property name="name">
                                <cstring>wheelX</cstring>
                            </property>
                            <property name="sizePolicy">
                                <sizepolicy>
                                    <hsizetype>5</hsizetype>
                                    <vsizetype>0</vsizetype>
                                </sizepolicy>
                            </property>
                            <property name="minimumSize">
                                <size>
                                    <width>100</width>
                                    <height>30</height>
                                </size>
                            </property>
                        </widget>
                    </vbox>
                </widget>
                <widget class="QLayoutWidget">
                    <property name="name">
                        <cstring>Layout6</cstring>
                    </property>
                    <vbox>
                        <property name="name">
                            <cstring>unnamed</cstring>
                        </property>
                        <property name="margin">
                            <number>0</number>
                        </property>
                        <property name="spacing">
                            <number>6</number>
                        </property>
                        <widget class="QLabel">
                            <property name="name">
                                <cstring>TextLabel1_2</cstring>
                            </property>
                            <property name="sizePolicy">
                                <sizepolicy>
                                    <hsizetype>1</hsizetype>
                                    <vsizetype>0</vsizetype>
                                </sizepolicy>
                            </property>
                            <property name="text">
                                <string>Y-rotation</string>
                            </property>
                        </widget>
                        <widget class="QThumbWheel">
                            <property name="name">
                                <cstring>wheelY</cstring>
                            </property>
                            <property name="minimumSize">
                                <size>
                                    <width>100</width>
                                    <height>30</height>
                                </size>
                            </property>
                        </widget>
                    </vbox>
                </widget>
                <widget class="QLayoutWidget">
                    <property name="name">
                        <cstring>Layout7</cstring>
                    </property>
                    <vbox>
                        <property name="name">
                            <cstring>unnamed</cstring>
                        </property>
                        <property name="margin">
                            <number>0</number>
                        </property>
                        <property name="spacing">
                            <number>6</number>
                        </property>
                        <widget class="QLabel">
                            <property name="name">
                                <cstring>TextLabel1_3</cstring>
                            </property>
                            <property name="sizePolicy">
                                <sizepolicy>
                                    <hsizetype>1</hsizetype>
                                    <vsizetype>0</vsizetype>
                                </sizepolicy>
                            </property>
                            <property name="text">
                                <string>Z-rotation</string>
                            </property>
                        </widget>
                        <widget class="QThumbWheel">
                            <property name="name">
                                <cstring>wheelZ</cstring>
                            </property>
                            <property name="minimumSize">
                                <size>
                                    <width>100</width>
                                    <height>30</height>
                                </size>
                            </property>
                        </widget>
                    </vbox>
                </widget>
            </hbox>
        </widget>
        <widget class="QLabel" row="0" column="0">
            <property name="name">
                <cstring>TextLabel2</cstring>
            </property>
            <property name="sizePolicy">
                <sizepolicy>
                    <hsizetype>1</hsizetype>
                    <vsizetype>0</vsizetype>
                </sizepolicy>
            </property>
            <property name="text">
                <string>Zoom</string>
            </property>
        </widget>
        <widget class="QLayoutWidget" row="5" column="0" rowspan="1" colspan="2">
            <property name="name">
                <cstring>Layout18</cstring>
            </property>
            <hbox>
                <property name="name">
                    <cstring>unnamed</cstring>
                </property>
                <property name="margin">
                    <number>0</number>
                </property>
                <property name="spacing">
                    <number>6</number>
                </property>
                <widget class="QButtonGroup">
                    <property name="name">
                        <cstring>ButtonGroup2</cstring>
                    </property>
                    <property name="enabled">
                        <bool>true</bool>
                    </property>
                    <property name="sizePolicy">
                        <sizepolicy>
                            <hsizetype>1</hsizetype>
                            <vsizetype>1</vsizetype>
                        </sizepolicy>
                    </property>
                    <property name="title">
                        <string>Rendering mode</string>
                    </property>
                    <grid>
                        <property name="name">
                            <cstring>unnamed</cstring>
                        </property>
                        <property name="margin">
                            <number>11</number>
                        </property>
                        <property name="spacing">
                            <number>6</number>
                        </property>
                        <widget class="QRadioButton" row="0" column="0">
                            <property name="name">
                                <cstring>RadioButton1</cstring>
                            </property>
                            <property name="text">
                                <string>&amp;Wireframe</string>
                            </property>
                            <property name="checked">
                                <bool>true</bool>
                            </property>
                        </widget>
                        <widget class="QRadioButton" row="0" column="1">
                            <property name="name">
                                <cstring>RadioButton1_2</cstring>
                            </property>
                            <property name="text">
                                <string>Fl&amp;at shaded</string>
                            </property>
                        </widget>
                        <widget class="QRadioButton" row="0" column="2">
                            <property name="name">
                                <cstring>RadioButton1_3</cstring>
                            </property>
                            <property name="text">
                                <string>&amp;Smooth shaded</string>
                            </property>
                        </widget>
                        <widget class="QRadioButton" row="0" column="3">
                            <property name="name">
                                <cstring>RadioButton1_3_2</cstring>
                            </property>
                            <property name="text">
                                <string>&amp;Landscape</string>
                            </property>
                        </widget>
                    </grid>
                </widget>
                <widget class="QPushButton">
                    <property name="name">
                        <cstring>animate_btn</cstring>
                    </property>
                    <property name="sizePolicy">
                        <sizepolicy>
                            <hsizetype>0</hsizetype>
                            <vsizetype>0</vsizetype>
                        </sizepolicy>
                    </property>
                    <property name="minimumSize">
                        <size>
                            <width>75</width>
                            <height>25</height>
                        </size>
                    </property>
                    <property name="text">
                        <string>&amp;Animate</string>
                    </property>
                    <property name="toggleButton">
                        <bool>true</bool>
                    </property>
                    <property name="autoRepeat">
                        <bool>true</bool>
                    </property>
                    <property name="toggleButton">
                        <bool>true</bool>
                    </property>
                </widget>
                <widget class="QPushButton">
                    <property name="name">
                        <cstring>fractalize_btn_2</cstring>
                    </property>
                    <property name="sizePolicy">
                        <sizepolicy>
                            <hsizetype>0</hsizetype>
                            <vsizetype>0</vsizetype>
                        </sizepolicy>
                    </property>
                    <property name="minimumSize">
                        <size>
                            <width>75</width>
                            <height>25</height>
                        </size>
                    </property>
                    <property name="text">
                        <string>&amp;Fractalize</string>
                    </property>
                    <property name="autoRepeat">
                        <bool>true</bool>
                    </property>
                </widget>
                <widget class="QPushButton">
                    <property name="name">
                        <cstring>reset_btn</cstring>
                    </property>
                    <property name="sizePolicy">
                        <sizepolicy>
                            <hsizetype>0</hsizetype>
                            <vsizetype>0</vsizetype>
                        </sizepolicy>
                    </property>
                    <property name="minimumSize">
                        <size>
                            <width>75</width>
                            <height>25</height>
                        </size>
                    </property>
                    <property name="text">
                        <string>&amp;Reset grid</string>
                    </property>
                    <property name="autoRepeat">
                        <bool>true</bool>
                    </property>
                </widget>
            </hbox>
        </widget>
        <widget class="QThumbWheel" row="1" column="0">
            <property name="name">
                <cstring>wheelZoom</cstring>
            </property>
            <property name="sizePolicy">
                <sizepolicy>
                    <hsizetype>0</hsizetype>
                    <vsizetype>7</vsizetype>
                </sizepolicy>
            </property>
            <property name="minimumSize">
                <size>
                    <width>30</width>
                    <height>0</height>
                </size>
            </property>
        </widget>
        <widget class="QThumbWheel" row="3" column="0">
            <property name="name">
                <cstring>wheelSize</cstring>
            </property>
            <property name="sizePolicy">
                <sizepolicy>
                    <hsizetype>0</hsizetype>
                    <vsizetype>7</vsizetype>
                </sizepolicy>
            </property>
            <property name="minimumSize">
                <size>
                    <width>30</width>
                    <height>0</height>
                </size>
            </property>
        </widget>
        <widget class="QLabel" row="2" column="0">
            <property name="name">
                <cstring>TextLabel2_2</cstring>
            </property>
            <property name="sizePolicy">
                <sizepolicy>
                    <hsizetype>1</hsizetype>
                    <vsizetype>0</vsizetype>
                </sizepolicy>
            </property>
            <property name="text">
                <string>Size</string>
            </property>
        </widget>
        <widget class="QFrame" row="0" column="1" rowspan="4" colspan="1">
            <property name="name">
                <cstring>Frame3</cstring>
            </property>
            <property name="frameShape">
                <enum>StyledPanel</enum>
            </property>
            <property name="frameShadow">
                <enum>Raised</enum>
            </property>
            <property name="margin">
                <number>3</number>
            </property>
            <property name="layoutMargin" stdset="0">
            </property>
            <grid>
                <property name="name">
                    <cstring>unnamed</cstring>
                </property>
                <property name="margin">
                    <number>2</number>
                </property>
                <property name="spacing">
                    <number>6</number>
                </property>
                <widget class="GLLandscape" row="0" column="0">
                    <property name="name">
                        <cstring>landscape</cstring>
                    </property>
                    <property name="sizePolicy">
                        <sizepolicy>
                            <hsizetype>7</hsizetype>
                            <vsizetype>7</vsizetype>
                        </sizepolicy>
                    </property>
                </widget>
            </grid>
        </widget>
    </grid>
</widget>
<customwidgets>
    <customwidget>
        <class>GLLandscape</class>
        <header location="local">gllandscape.h</header>
        <sizehint>
            <width>100</width>
            <height>100</height>
        </sizehint>
        <container>0</container>
        <sizepolicy>
            <hordata>3</hordata>
            <verdata>3</verdata>
        </sizepolicy>
        <pixmap>image0</pixmap>
        <signal>rotatedX(int)</signal>
        <slot access="public">rotateZ(int)</slot>
        <slot access="public">rotateY(int)</slot>
        <slot access="public">rotateX(int)</slot>
        <slot access="public">zoom(int)</slot>
        <slot access="public">fractalize()</slot>
        <slot access="public">setWireframe(int)</slot>
        <slot access="public">setFilled(int)</slot>
        <slot access="public">setGridSize(int)</slot>
        <slot access="public">toggleWaveAnimation(bool)</slot>
        <slot access="public">setSmoothShaded(int)</slot>
        <slot access="public">setLandscape(int)</slot>
        <slot access="public">resetGrid()</slot>
    </customwidget>
    <customwidget>
        <class>QThumbWheel</class>
        <header location="local">qthumbwheel.h</header>
        <sizehint>
            <width>100</width>
            <height>16</height>
        </sizehint>
        <container>0</container>
        <sizepolicy>
            <hordata>7</hordata>
            <verdata>0</verdata>
        </sizepolicy>
        <pixmap>image0</pixmap>
        <signal>valueChanged(int)</signal>
    </customwidget>
</customwidgets>
<images>
    <image name="image0">
        <data format="XPM.GZ" length="646">789c6dd2c10ac2300c00d07bbf2234b7229d1be245fc04c5a3201e4615f430059d0711ff5ddb2e6bb236ec90eed134cb5a19d8ef36602af5ecdbfeeac05dda0798d3abebde87e3faa374d3807fa0d633a52d38d8de6f679fe33fc776e196f53cd010188256a3600a292882096246517815ca99884606e18044a3a40d91824820924265a7923a2e8bcd05f33db1173e002913175f2a6be6d3294871a2d95fa00e8a94ee017b69d339d90df1e77c57ea072ede6758</data>
    </image>
</images>
<connections>
    <connection>
        <sender>RadioButton1</sender>
        <signal>stateChanged(int)</signal>
        <receiver>landscape</receiver>
        <slot>setWireframe(int)</slot>
    </connection>
    <connection>
        <sender>RadioButton1_2</sender>
        <signal>stateChanged(int)</signal>
        <receiver>landscape</receiver>
        <slot>setFilled(int)</slot>
    </connection>
    <connection>
        <sender>animate_btn</sender>
        <signal>toggled(bool)</signal>
        <receiver>landscape</receiver>
        <slot>toggleWaveAnimation(bool)</slot>
    </connection>
    <connection>
        <sender>RadioButton1_3</sender>
        <signal>stateChanged(int)</signal>
        <receiver>landscape</receiver>
        <slot>setSmoothShaded(int)</slot>
    </connection>
    <connection>
        <sender>wheelY</sender>
        <signal>valueChanged(int)</signal>
        <receiver>landscape</receiver>
        <slot>rotateY(int)</slot>
    </connection>
    <connection>
        <sender>wheelZ</sender>
        <signal>valueChanged(int)</signal>
        <receiver>landscape</receiver>
        <slot>rotateZ(int)</slot>
    </connection>
    <connection>
        <sender>wheelSize</sender>
        <signal>valueChanged(int)</signal>
        <receiver>landscape</receiver>
        <slot>setGridSize(int)</slot>
    </connection>
    <connection>
        <sender>wheelZoom</sender>
        <signal>valueChanged(int)</signal>
        <receiver>landscape</receiver>
        <slot>zoom(int)</slot>
    </connection>
    <connection>
        <sender>wheelX</sender>
        <signal>valueChanged(int)</signal>
        <receiver>landscape</receiver>
        <slot>rotateX(int)</slot>
    </connection>
    <connection>
        <sender>RadioButton1_3_2</sender>
        <signal>stateChanged(int)</signal>
        <receiver>landscape</receiver>
        <slot>setLandscape(int)</slot>
    </connection>
    <connection>
        <sender>reset_btn</sender>
        <signal>clicked()</signal>
        <receiver>landscape</receiver>
        <slot>resetGrid()</slot>
    </connection>
    <connection>
        <sender>fractalize_btn_2</sender>
        <signal>clicked()</signal>
        <receiver>landscape</receiver>
        <slot>fractalize()</slot>
    </connection>
    <slot access="protected" language="C++" returnType="void">init()</slot>
    <slot access="protected" language="C++" returnType="void">destroy()</slot>
</connections>
<functions>
    <function name="init()" >{
	wheelX-&gt;setOrientation( Horizontal );
	wheelY-&gt;setOrientation( Horizontal );
	wheelZ-&gt;setOrientation( Horizontal );
    
    	wheelZoom-&gt;setOrientation( Vertical );
	wheelZoom-&gt;setRange( 0, 200 );  
    	wheelZoom-&gt;setValue( 100 );
    
    	wheelSize-&gt;setOrientation( Vertical ); 
	wheelSize-&gt;setRange( 25, 200 );   
    	wheelSize-&gt;setValue( 50 ); 
    	wheelSize-&gt;setSteps( 10, 10 );
    	
	wheelX-&gt;setRange( 0, 360 ); 
	wheelY-&gt;setRange( 0, 360 );  
	wheelZ-&gt;setRange( 0, 360 );  
		
     	wheelX-&gt;setTransmissionRatio( 0.5 ); 
     	wheelY-&gt;setTransmissionRatio( 0.5 );  
     	wheelZ-&gt;setTransmissionRatio( 0.5 );  
}</function>
    <function name="destroy()" >{

}</function>
</functions>
</UI>
