diff options
author | axis <qt-info@nokia.com> | 2009-04-24 11:34:15 (GMT) |
---|---|---|
committer | axis <qt-info@nokia.com> | 2009-04-24 11:34:15 (GMT) |
commit | 8f427b2b914d5b575a4a7c0ed65d2fb8f45acc76 (patch) | |
tree | a17e1a767a89542ab59907462206d7dcf2e504b2 /tests/auto/uic3/baseline/form.ui | |
download | Qt-8f427b2b914d5b575a4a7c0ed65d2fb8f45acc76.zip Qt-8f427b2b914d5b575a4a7c0ed65d2fb8f45acc76.tar.gz Qt-8f427b2b914d5b575a4a7c0ed65d2fb8f45acc76.tar.bz2 |
Long live Qt for S60!
Diffstat (limited to 'tests/auto/uic3/baseline/form.ui')
-rw-r--r-- | tests/auto/uic3/baseline/form.ui | 85 |
1 files changed, 85 insertions, 0 deletions
diff --git a/tests/auto/uic3/baseline/form.ui b/tests/auto/uic3/baseline/form.ui new file mode 100644 index 0000000..0955599 --- /dev/null +++ b/tests/auto/uic3/baseline/form.ui @@ -0,0 +1,85 @@ +<!DOCTYPE UI><UI version="3.0" stdsetdef="1"> +<class>Form1</class> +<include location="global" impldecl="in implementation">qdatetime.h</include> +<variable>QListViewItem *item;</variable> +<widget class="QDialog"> + <property name="name"> + <cstring>Form1</cstring> + </property> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>281</width> + <height>455</height> + </rect> + </property> + <property name="caption"> + <string>Form1</string> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>11</number> + </property> + <property name="spacing"> + <number>6</number> + </property> + <widget class="QLineEdit"> + <property name="name"> + <cstring>number</cstring> + </property> + </widget> + <widget class="QListView"> + <column> + <property name="text"> + <string>Column 1</string> + </property> + <property name="clickable"> + <bool>true</bool> + </property> + <property name="resizeable"> + <bool>true</bool> + </property> + </column> + <property name="name"> + <cstring>listview</cstring> + </property> + </widget> + </vbox> +</widget> +<connections> + <connection> + <sender>number</sender> + <signal>returnPressed()</signal> + <receiver>Form1</receiver> + <slot>doInsert()</slot> + </connection> + <slot access="protected" language="C++" returnType="void">init()</slot> + <slot access="protected" language="C++" returnType="void">destroy()</slot> + <slot access="public" language="C++" returnType="void">doInsert()</slot> +</connections> +<functions> + <function name="init()" >{ + qDebug( "here" ); + item = 0; +}</function> + <function name="destroy()" >{ + +}</function> + <function name="doInsert()" >{ + item = new QListViewItem( listview, "Hallo" ); + item->setOpen( TRUE ); + listview->clear(); + int num = number->text().toInt(); + QTime t; + t.start(); + qDebug( "start" ); + for ( int i = 0; i < num; ++i ) + (void)new QListViewItem( listview, "Item " ); + qDebug( "end items: %d took %d msec", num, t.elapsed() ); +}</function> +</functions> +</UI> |