tests/auto/uic3/baseline/sqlex.ui
changeset 0 1918ee327afb
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     1 <!DOCTYPE UI><UI version="3.0" stdsetdef="1">
       
     2 <class>SqlEx</class>
       
     3 <widget class="QWidget">
       
     4     <property name="name">
       
     5         <cstring>SqlEx</cstring>
       
     6     </property>
       
     7     <property name="geometry">
       
     8         <rect>
       
     9             <x>0</x>
       
    10             <y>0</y>
       
    11             <width>574</width>
       
    12             <height>511</height>
       
    13         </rect>
       
    14     </property>
       
    15     <property name="caption">
       
    16         <string>Form1</string>
       
    17     </property>
       
    18     <vbox>
       
    19         <property name="name">
       
    20             <cstring>unnamed</cstring>
       
    21         </property>
       
    22         <property name="margin">
       
    23             <number>6</number>
       
    24         </property>
       
    25         <property name="spacing">
       
    26             <number>4</number>
       
    27         </property>
       
    28         <widget class="QFrame">
       
    29             <property name="name">
       
    30                 <cstring>Frame7</cstring>
       
    31             </property>
       
    32             <property name="frameShape">
       
    33                 <enum>NoFrame</enum>
       
    34             </property>
       
    35             <property name="frameShadow">
       
    36                 <enum>Raised</enum>
       
    37             </property>
       
    38             <vbox>
       
    39                 <property name="name">
       
    40                     <cstring>unnamed</cstring>
       
    41                 </property>
       
    42                 <property name="margin">
       
    43                     <number>0</number>
       
    44                 </property>
       
    45                 <property name="spacing">
       
    46                     <number>0</number>
       
    47                 </property>
       
    48                 <widget class="QSplitter">
       
    49                     <property name="name">
       
    50                         <cstring>hsplit</cstring>
       
    51                     </property>
       
    52                     <property name="orientation">
       
    53                         <enum>Horizontal</enum>
       
    54                     </property>
       
    55                     <widget class="QListView">
       
    56                         <column>
       
    57                             <property name="text">
       
    58                                 <string>Tables</string>
       
    59                             </property>
       
    60                             <property name="clickable">
       
    61                                 <bool>true</bool>
       
    62                             </property>
       
    63                             <property name="resizeable">
       
    64                                 <bool>true</bool>
       
    65                             </property>
       
    66                         </column>
       
    67                         <column>
       
    68                             <property name="text">
       
    69                                 <string>Type</string>
       
    70                             </property>
       
    71                             <property name="clickable">
       
    72                                 <bool>true</bool>
       
    73                             </property>
       
    74                             <property name="resizeable">
       
    75                                 <bool>true</bool>
       
    76                             </property>
       
    77                         </column>
       
    78                         <column>
       
    79                             <property name="text">
       
    80                                 <string>Required</string>
       
    81                             </property>
       
    82                             <property name="clickable">
       
    83                                 <bool>true</bool>
       
    84                             </property>
       
    85                             <property name="resizeable">
       
    86                                 <bool>true</bool>
       
    87                             </property>
       
    88                         </column>
       
    89                         <column>
       
    90                             <property name="text">
       
    91                                 <string>Default</string>
       
    92                             </property>
       
    93                             <property name="clickable">
       
    94                                 <bool>true</bool>
       
    95                             </property>
       
    96                             <property name="resizeable">
       
    97                                 <bool>true</bool>
       
    98                             </property>
       
    99                         </column>
       
   100                         <column>
       
   101                             <property name="text">
       
   102                                 <string>Length</string>
       
   103                             </property>
       
   104                             <property name="clickable">
       
   105                                 <bool>true</bool>
       
   106                             </property>
       
   107                             <property name="resizeable">
       
   108                                 <bool>true</bool>
       
   109                             </property>
       
   110                         </column>
       
   111                         <column>
       
   112                             <property name="text">
       
   113                                 <string>Precision</string>
       
   114                             </property>
       
   115                             <property name="clickable">
       
   116                                 <bool>true</bool>
       
   117                             </property>
       
   118                             <property name="resizeable">
       
   119                                 <bool>true</bool>
       
   120                             </property>
       
   121                         </column>
       
   122                         <property name="name">
       
   123                             <cstring>lv</cstring>
       
   124                         </property>
       
   125                         <property name="margin">
       
   126                             <number>0</number>
       
   127                         </property>
       
   128                     </widget>
       
   129                     <widget class="QSplitter">
       
   130                         <property name="name">
       
   131                             <cstring>vsplit</cstring>
       
   132                         </property>
       
   133                         <property name="margin">
       
   134                             <number>5</number>
       
   135                         </property>
       
   136                         <property name="orientation">
       
   137                             <enum>Vertical</enum>
       
   138                         </property>
       
   139                         <widget class="QDataTable">
       
   140                             <property name="name">
       
   141                                 <cstring>dt</cstring>
       
   142                             </property>
       
   143                             <property name="frameworkCode" stdset="0">
       
   144                                 <bool>false</bool>
       
   145                             </property>
       
   146                         </widget>
       
   147                         <widget class="QGroupBox">
       
   148                             <property name="name">
       
   149                                 <cstring>gb</cstring>
       
   150                             </property>
       
   151                             <property name="title">
       
   152                                 <string>SQL Query</string>
       
   153                             </property>
       
   154                             <hbox>
       
   155                                 <property name="name">
       
   156                                     <cstring>unnamed</cstring>
       
   157                                 </property>
       
   158                                 <property name="margin">
       
   159                                     <number>4</number>
       
   160                                 </property>
       
   161                                 <property name="spacing">
       
   162                                     <number>2</number>
       
   163                                 </property>
       
   164                                 <widget class="QLayoutWidget">
       
   165                                     <property name="name">
       
   166                                         <cstring>Layout7_2</cstring>
       
   167                                     </property>
       
   168                                     <hbox>
       
   169                                         <property name="name">
       
   170                                             <cstring>unnamed</cstring>
       
   171                                         </property>
       
   172                                         <property name="margin">
       
   173                                             <number>0</number>
       
   174                                         </property>
       
   175                                         <property name="spacing">
       
   176                                             <number>6</number>
       
   177                                         </property>
       
   178                                         <widget class="QTextEdit">
       
   179                                             <property name="name">
       
   180                                                 <cstring>te</cstring>
       
   181                                             </property>
       
   182                                         </widget>
       
   183                                         <widget class="QLayoutWidget">
       
   184                                             <property name="name">
       
   185                                                 <cstring>Layout4_2</cstring>
       
   186                                             </property>
       
   187                                             <vbox>
       
   188                                                 <property name="name">
       
   189                                                     <cstring>unnamed</cstring>
       
   190                                                 </property>
       
   191                                                 <property name="margin">
       
   192                                                     <number>0</number>
       
   193                                                 </property>
       
   194                                                 <property name="spacing">
       
   195                                                     <number>6</number>
       
   196                                                 </property>
       
   197                                                 <widget class="QPushButton">
       
   198                                                     <property name="name">
       
   199                                                         <cstring>submitBtn</cstring>
       
   200                                                     </property>
       
   201                                                     <property name="text">
       
   202                                                         <string>Submit</string>
       
   203                                                     </property>
       
   204                                                 </widget>
       
   205                                                 <widget class="QPushButton">
       
   206                                                     <property name="name">
       
   207                                                         <cstring>clearBtn</cstring>
       
   208                                                     </property>
       
   209                                                     <property name="text">
       
   210                                                         <string>Clear</string>
       
   211                                                     </property>
       
   212                                                 </widget>
       
   213                                             </vbox>
       
   214                                         </widget>
       
   215                                     </hbox>
       
   216                                 </widget>
       
   217                             </hbox>
       
   218                         </widget>
       
   219                     </widget>
       
   220                 </widget>
       
   221             </vbox>
       
   222         </widget>
       
   223         <widget class="QFrame">
       
   224             <property name="name">
       
   225                 <cstring>Frame6</cstring>
       
   226             </property>
       
   227             <property name="sizePolicy">
       
   228                 <sizepolicy>
       
   229                     <hsizetype>1</hsizetype>
       
   230                     <vsizetype>0</vsizetype>
       
   231                     <horstretch>0</horstretch>
       
   232                     <verstretch>0</verstretch>
       
   233                 </sizepolicy>
       
   234             </property>
       
   235             <property name="frameShape">
       
   236                 <enum>StyledPanel</enum>
       
   237             </property>
       
   238             <property name="frameShadow">
       
   239                 <enum>Raised</enum>
       
   240             </property>
       
   241             <hbox>
       
   242                 <property name="name">
       
   243                     <cstring>unnamed</cstring>
       
   244                 </property>
       
   245                 <property name="margin">
       
   246                     <number>4</number>
       
   247                 </property>
       
   248                 <property name="spacing">
       
   249                     <number>0</number>
       
   250                 </property>
       
   251                 <widget class="QLayoutWidget">
       
   252                     <property name="name">
       
   253                         <cstring>Layout2</cstring>
       
   254                     </property>
       
   255                     <hbox>
       
   256                         <property name="name">
       
   257                             <cstring>unnamed</cstring>
       
   258                         </property>
       
   259                         <property name="margin">
       
   260                             <number>0</number>
       
   261                         </property>
       
   262                         <property name="spacing">
       
   263                             <number>6</number>
       
   264                         </property>
       
   265                         <widget class="QPushButton">
       
   266                             <property name="name">
       
   267                                 <cstring>conBtn</cstring>
       
   268                             </property>
       
   269                             <property name="sizePolicy">
       
   270                                 <sizepolicy>
       
   271                                     <hsizetype>0</hsizetype>
       
   272                                     <vsizetype>0</vsizetype>
       
   273                                     <horstretch>0</horstretch>
       
   274                                     <verstretch>0</verstretch>
       
   275                                 </sizepolicy>
       
   276                             </property>
       
   277                             <property name="text">
       
   278                                 <string>Connect</string>
       
   279                             </property>
       
   280                         </widget>
       
   281                         <widget class="QLabel">
       
   282                             <property name="name">
       
   283                                 <cstring>lbl</cstring>
       
   284                             </property>
       
   285                             <property name="text">
       
   286                                 <string>Press "Connect" to open a database</string>
       
   287                             </property>
       
   288                         </widget>
       
   289                     </hbox>
       
   290                 </widget>
       
   291             </hbox>
       
   292         </widget>
       
   293     </vbox>
       
   294 </widget>
       
   295 <connections>
       
   296     <connection>
       
   297         <sender>clearBtn</sender>
       
   298         <signal>clicked()</signal>
       
   299         <receiver>te</receiver>
       
   300         <slot>clear()</slot>
       
   301     </connection>
       
   302     <connection>
       
   303         <sender>conBtn</sender>
       
   304         <signal>clicked()</signal>
       
   305         <receiver>SqlEx</receiver>
       
   306         <slot>dbConnect()</slot>
       
   307     </connection>
       
   308     <connection>
       
   309         <sender>lv</sender>
       
   310         <signal>returnPressed(QListViewItem*)</signal>
       
   311         <receiver>SqlEx</receiver>
       
   312         <slot>showTable(QListViewItem*)</slot>
       
   313     </connection>
       
   314     <connection>
       
   315         <sender>lv</sender>
       
   316         <signal>doubleClicked(QListViewItem*)</signal>
       
   317         <receiver>SqlEx</receiver>
       
   318         <slot>showTable(QListViewItem*)</slot>
       
   319     </connection>
       
   320     <connection>
       
   321         <sender>submitBtn</sender>
       
   322         <signal>clicked()</signal>
       
   323         <receiver>SqlEx</receiver>
       
   324         <slot>execQuery()</slot>
       
   325     </connection>
       
   326 </connections>
       
   327 <includes>
       
   328     <include location="local" impldecl="in implementation">sqlex.ui.h</include>
       
   329 </includes>
       
   330 <slots>
       
   331     <slot>init()</slot>
       
   332     <slot>dbConnect()</slot>
       
   333     <slot>execQuery()</slot>
       
   334     <slot>showTable( QListViewItem * item )</slot>
       
   335 </slots>
       
   336 <layoutdefaults spacing="6" margin="11"/>
       
   337 </UI>