tests/auto/uic3/baseline/invokemethod.ui
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 19 Feb 2010 23:40:16 +0200
branchRCL_3
changeset 4 3b1da2848fc7
parent 0 1918ee327afb
permissions -rw-r--r--
Revision: 201003 Kit: 201007

<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
<class>InvokeMethod</class>
<widget class="QDialog">
    <property name="name">
        <cstring>InvokeMethod</cstring>
    </property>
    <property name="geometry">
        <rect>
            <x>0</x>
            <y>0</y>
            <width>503</width>
            <height>416</height>
        </rect>
    </property>
    <property name="caption">
        <string>Invoke Methods</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="QGroupBox" row="1" column="0" rowspan="1" colspan="2">
            <property name="name">
                <cstring>boxParameters</cstring>
            </property>
            <property name="title">
                <string>Parameter &amp;List</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="QListView" row="0" column="0" rowspan="1" colspan="3">
                    <column>
                        <property name="text">
                            <string>Parameter</string>
                        </property>
                        <property name="clickable">
                            <bool>false</bool>
                        </property>
                        <property name="resizeable">
                            <bool>true</bool>
                        </property>
                    </column>
                    <column>
                        <property name="text">
                            <string>Type</string>
                        </property>
                        <property name="clickable">
                            <bool>false</bool>
                        </property>
                        <property name="resizeable">
                            <bool>true</bool>
                        </property>
                    </column>
                    <column>
                        <property name="text">
                            <string>Value</string>
                        </property>
                        <property name="clickable">
                            <bool>false</bool>
                        </property>
                        <property name="resizeable">
                            <bool>true</bool>
                        </property>
                    </column>
                    <property name="name">
                        <cstring>listParameters</cstring>
                    </property>
                    <property name="resizeMode">
                        <enum>AllColumns</enum>
                    </property>
                </widget>
                <widget class="QToolButton" row="1" column="2">
                    <property name="name">
                        <cstring>buttonSet</cstring>
                    </property>
                    <property name="text">
                        <string>&amp;Set</string>
                    </property>
                </widget>
                <widget class="QLineEdit" row="1" column="1">
                    <property name="name">
                        <cstring>editValue</cstring>
                    </property>
                </widget>
                <widget class="QLabel" row="1" column="0">
                    <property name="name">
                        <cstring>TextLabel3</cstring>
                    </property>
                    <property name="text">
                        <string>Parameter &amp;Value:</string>
                    </property>
                    <property name="buddy" stdset="0">
                        <cstring>editValue</cstring>
                    </property>
                </widget>
            </grid>
        </widget>
        <widget class="QLayoutWidget" row="0" column="0" rowspan="1" colspan="2">
            <property name="name">
                <cstring>Layout6</cstring>
            </property>
            <grid>
                <property name="name">
                    <cstring>unnamed</cstring>
                </property>
                <property name="margin">
                    <number>0</number>
                </property>
                <property name="spacing">
                    <number>6</number>
                </property>
                <widget class="QLineEdit" row="1" column="1">
                    <property name="name">
                        <cstring>editReturn</cstring>
                    </property>
                    <property name="readOnly">
                        <bool>true</bool>
                    </property>
                </widget>
                <widget class="QComboBox" row="0" column="1">
                    <property name="name">
                        <cstring>comboMethods</cstring>
                    </property>
		    <property name="editable">
			<bool>true</bool>
		    </property>
                    <property name="sizePolicy">
                        <sizepolicy>
                            <hsizetype>7</hsizetype>
                            <vsizetype>0</vsizetype>
                            <horstretch>0</horstretch>
                            <verstretch>0</verstretch>
                        </sizepolicy>
                    </property>
                    <property name="autoCompletion">
                        <bool>true</bool>
                    </property>
                    <property name="duplicatesEnabled">
                        <bool>false</bool>
                    </property>
                </widget>
                <widget class="QLabel" row="0" column="0">
                    <property name="name">
                        <cstring>labelMethods</cstring>
                    </property>
                    <property name="text">
                        <string>&amp;Method Name:</string>
                    </property>
                    <property name="buddy" stdset="0">
                        <cstring>comboMethods</cstring>
                    </property>
                </widget>
                <spacer row="0" column="2">
                    <property name="name">
                        <cstring>Spacer1</cstring>
                    </property>
                    <property name="orientation">
                        <enum>Horizontal</enum>
                    </property>
                    <property name="sizeType">
                        <enum>Preferred</enum>
                    </property>
                    <property name="sizeHint">
                        <size>
                            <width>20</width>
                            <height>20</height>
                        </size>
                    </property>
                </spacer>
                <widget class="QLabel" row="1" column="0">
                    <property name="name">
                        <cstring>TextLabel1</cstring>
                    </property>
                    <property name="text">
                        <string>Returned Value:</string>
                    </property>
                </widget>
                <widget class="QPushButton" row="0" column="3">
                    <property name="name">
                        <cstring>buttonInvoke</cstring>
                    </property>
                    <property name="text">
                        <string>In&amp;voke</string>
                    </property>
                    <property name="default">
                        <bool>true</bool>
                    </property>
                </widget>
                <spacer row="1" column="2" rowspan="1" colspan="2">
                    <property name="name">
                        <cstring>Spacer5</cstring>
                    </property>
                    <property name="orientation">
                        <enum>Horizontal</enum>
                    </property>
                    <property name="sizeType">
                        <enum>Expanding</enum>
                    </property>
                    <property name="sizeHint">
                        <size>
                            <width>111</width>
                            <height>21</height>
                        </size>
                    </property>
                </spacer>
            </grid>
        </widget>
        <spacer row="2" column="0">
            <property name="name">
                <cstring>Spacer4</cstring>
            </property>
            <property name="orientation">
                <enum>Horizontal</enum>
            </property>
            <property name="sizeType">
                <enum>Expanding</enum>
            </property>
            <property name="sizeHint">
                <size>
                    <width>361</width>
                    <height>21</height>
                </size>
            </property>
        </spacer>
        <widget class="QPushButton" row="2" column="1">
            <property name="name">
                <cstring>PushButton2</cstring>
            </property>
            <property name="text">
                <string>Close</string>
            </property>
            <property name="autoDefault">
                <bool>false</bool>
            </property>
        </widget>
    </grid>
</widget>
<connections>
    <connection>
        <sender>PushButton2</sender>
        <signal>clicked()</signal>
        <receiver>InvokeMethod</receiver>
        <slot>close()</slot>
    </connection>
    <connection>
        <sender>buttonSet</sender>
        <signal>clicked()</signal>
        <receiver>InvokeMethod</receiver>
        <slot>setValue()</slot>
    </connection>
    <connection>
        <sender>buttonInvoke</sender>
        <signal>clicked()</signal>
        <receiver>InvokeMethod</receiver>
        <slot>invoke()</slot>
    </connection>
    <connection>
        <sender>comboMethods</sender>
        <signal>activated(const QString&amp;)</signal>
        <receiver>InvokeMethod</receiver>
        <slot>methodSelected(const QString&amp;)</slot>
    </connection>
    <connection>
        <sender>listParameters</sender>
        <signal>currentChanged(QListViewItem*)</signal>
        <receiver>InvokeMethod</receiver>
        <slot>parameterSelected(QListViewItem*)</slot>
    </connection>
    <connection>
        <sender>editValue</sender>
        <signal>returnPressed()</signal>
        <receiver>buttonSet</receiver>
        <slot>animateClick()</slot>
    </connection>
</connections>
<includes>
    <include location="global" impldecl="in implementation">qcstring.h</include>
    <include location="global" impldecl="in implementation">qmetaobject.h</include>
    <include location="global" impldecl="in implementation">qaxbase.h</include>
    <include location="global" impldecl="in implementation">private/qucom_p.h</include>
    <include location="local" impldecl="in implementation">invokemethod.ui.h</include>
</includes>
<forwards>
    <forward>class QAxBase;</forward>
</forwards>
<variables>
    <variable>QAxBase *activex;</variable>
</variables>
<slots>
    <slot>invoke()</slot>
    <slot>methodSelected( const QString &amp; method )</slot>
    <slot>parameterSelected( QListViewItem * item )</slot>
    <slot>setValue()</slot>
    <slot>init()</slot>
    <slot>setControl( QAxBase * ax )</slot>
</slots>
<pixmapinproject/>
<layoutdefaults spacing="6" margin="11"/>
</UI>