tests/auto/uic3/baseline/dbconnections.ui
changeset 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     1 <!DOCTYPE UI><UI version="3.0" stdsetdef="1">
       
     2 <class>DatabaseConnectionBase</class>
       
     3 <comment>*********************************************************************
       
     4 **
       
     5 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     6 ** All rights reserved.
       
     7 ** Contact: Nokia Corporation (qt-info@nokia.com)
       
     8 **
       
     9 ** This file is part of the test suite of the Qt Toolkit.
       
    10 **
       
    11 ** $QT_BEGIN_LICENSE:LGPL$
       
    12 ** No Commercial Usage
       
    13 ** This file contains pre-release code and may not be distributed.
       
    14 ** You may use this file in accordance with the terms and conditions
       
    15 ** contained in the Technology Preview License Agreement accompanying
       
    16 ** this package.
       
    17 **
       
    18 ** GNU Lesser General Public License Usage
       
    19 ** Alternatively, this file may be used under the terms of the GNU Lesser
       
    20 ** General Public License version 2.1 as published by the Free Software
       
    21 ** Foundation and appearing in the file LICENSE.LGPL included in the
       
    22 ** packaging of this file.  Please review the following information to
       
    23 ** ensure the GNU Lesser General Public License version 2.1 requirements
       
    24 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
       
    25 **
       
    26 ** In addition, as a special exception, Nokia gives you certain additional
       
    27 ** rights.  These rights are described in the Nokia Qt LGPL Exception
       
    28 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
       
    29 **
       
    30 ** If you have questions regarding the use of this file, please contact
       
    31 ** Nokia at qt-info@nokia.com.
       
    32 **
       
    33 **
       
    34 **
       
    35 **
       
    36 **
       
    37 **
       
    38 **
       
    39 **
       
    40 ** $QT_END_LICENSE$
       
    41 **
       
    42 *********************************************************************</comment>
       
    43 <widget class="QDialog">
       
    44     <property name="name">
       
    45         <cstring>DatabaseConnectionBase</cstring>
       
    46     </property>
       
    47     <property name="geometry">
       
    48         <rect>
       
    49             <x>0</x>
       
    50             <y>0</y>
       
    51             <width>512</width>
       
    52             <height>309</height>
       
    53         </rect>
       
    54     </property>
       
    55     <property name="caption">
       
    56         <string>Edit Database Connections</string>
       
    57     </property>
       
    58     <property name="sizeGripEnabled">
       
    59         <bool>true</bool>
       
    60     </property>
       
    61     <grid>
       
    62         <property name="name">
       
    63             <cstring>unnamed</cstring>
       
    64         </property>
       
    65         <property name="margin">
       
    66             <number>11</number>
       
    67         </property>
       
    68         <property name="spacing">
       
    69             <number>6</number>
       
    70         </property>
       
    71         <widget class="QPushButton" row="0" column="1">
       
    72             <property name="name">
       
    73                 <cstring>buttonNew</cstring>
       
    74             </property>
       
    75             <property name="text">
       
    76                 <string>&amp;New Connection</string>
       
    77             </property>
       
    78         </widget>
       
    79         <widget class="QListBox" row="0" column="0" rowspan="5" colspan="1">
       
    80             <property name="name">
       
    81                 <cstring>listConnections</cstring>
       
    82             </property>
       
    83         </widget>
       
    84         <widget class="QPushButton" row="1" column="1">
       
    85             <property name="name">
       
    86                 <cstring>buttonDelete</cstring>
       
    87             </property>
       
    88             <property name="text">
       
    89                 <string>&amp;Delete Connection</string>
       
    90             </property>
       
    91         </widget>
       
    92         <widget class="QLayoutWidget" row="5" column="0" rowspan="1" colspan="3">
       
    93             <property name="name">
       
    94                 <cstring>Layout5</cstring>
       
    95             </property>
       
    96             <hbox>
       
    97                 <property name="name">
       
    98                     <cstring>unnamed</cstring>
       
    99                 </property>
       
   100                 <property name="margin">
       
   101                     <number>0</number>
       
   102                 </property>
       
   103                 <property name="spacing">
       
   104                     <number>6</number>
       
   105                 </property>
       
   106                 <widget class="QPushButton">
       
   107                     <property name="name">
       
   108                         <cstring>buttonHelp</cstring>
       
   109                     </property>
       
   110                     <property name="text">
       
   111                         <string>&amp;Help</string>
       
   112                     </property>
       
   113                     <property name="autoDefault">
       
   114                         <bool>true</bool>
       
   115                     </property>
       
   116                 </widget>
       
   117                 <spacer>
       
   118                     <property name="name">
       
   119                         <cstring>Horizontal Spacing2</cstring>
       
   120                     </property>
       
   121                     <property name="orientation">
       
   122                         <enum>Horizontal</enum>
       
   123                     </property>
       
   124                     <property name="sizeType">
       
   125                         <enum>Expanding</enum>
       
   126                     </property>
       
   127                     <property name="sizeHint">
       
   128                         <size>
       
   129                             <width>20</width>
       
   130                             <height>20</height>
       
   131                         </size>
       
   132                     </property>
       
   133                 </spacer>
       
   134                 <widget class="QPushButton">
       
   135                     <property name="name">
       
   136                         <cstring>buttonClose</cstring>
       
   137                     </property>
       
   138                     <property name="text">
       
   139                         <string>&amp;Close</string>
       
   140                     </property>
       
   141                     <property name="autoDefault">
       
   142                         <bool>true</bool>
       
   143                     </property>
       
   144                     <property name="whatsThis" stdset="0">
       
   145                         <string>Close the dialog and discard any changes.</string>
       
   146                     </property>
       
   147                 </widget>
       
   148             </hbox>
       
   149         </widget>
       
   150         <spacer row="2" column="1" rowspan="3" colspan="1">
       
   151             <property name="name">
       
   152                 <cstring>Spacer1</cstring>
       
   153             </property>
       
   154             <property name="orientation">
       
   155                 <enum>Vertical</enum>
       
   156             </property>
       
   157             <property name="sizeType">
       
   158                 <enum>Expanding</enum>
       
   159             </property>
       
   160             <property name="sizeHint">
       
   161                 <size>
       
   162                     <width>20</width>
       
   163                     <height>20</height>
       
   164                 </size>
       
   165             </property>
       
   166         </spacer>
       
   167         <widget class="QGroupBox" row="0" column="2" rowspan="3" colspan="1">
       
   168             <property name="name">
       
   169                 <cstring>grp</cstring>
       
   170             </property>
       
   171             <property name="title">
       
   172                 <string>Connection</string>
       
   173             </property>
       
   174             <grid>
       
   175                 <property name="name">
       
   176                     <cstring>unnamed</cstring>
       
   177                 </property>
       
   178                 <property name="margin">
       
   179                     <number>11</number>
       
   180                 </property>
       
   181                 <property name="spacing">
       
   182                     <number>6</number>
       
   183                 </property>
       
   184                 <spacer row="0" column="0">
       
   185                     <property name="name">
       
   186                         <cstring>Spacer3</cstring>
       
   187                     </property>
       
   188                     <property name="orientation">
       
   189                         <enum>Vertical</enum>
       
   190                     </property>
       
   191                     <property name="sizeType">
       
   192                         <enum>Expanding</enum>
       
   193                     </property>
       
   194                     <property name="sizeHint">
       
   195                         <size>
       
   196                             <width>20</width>
       
   197                             <height>20</height>
       
   198                         </size>
       
   199                     </property>
       
   200                 </spacer>
       
   201             </grid>
       
   202         </widget>
       
   203         <widget class="QLayoutWidget" row="3" column="2">
       
   204             <property name="name">
       
   205                 <cstring>Layout4</cstring>
       
   206             </property>
       
   207             <hbox>
       
   208                 <property name="name">
       
   209                     <cstring>unnamed</cstring>
       
   210                 </property>
       
   211                 <property name="margin">
       
   212                     <number>0</number>
       
   213                 </property>
       
   214                 <property name="spacing">
       
   215                     <number>6</number>
       
   216                 </property>
       
   217                 <spacer>
       
   218                     <property name="name">
       
   219                         <cstring>Spacer4</cstring>
       
   220                     </property>
       
   221                     <property name="orientation">
       
   222                         <enum>Horizontal</enum>
       
   223                     </property>
       
   224                     <property name="sizeType">
       
   225                         <enum>Expanding</enum>
       
   226                     </property>
       
   227                     <property name="sizeHint">
       
   228                         <size>
       
   229                             <width>20</width>
       
   230                             <height>20</height>
       
   231                         </size>
       
   232                     </property>
       
   233                 </spacer>
       
   234                 <widget class="QPushButton">
       
   235                     <property name="name">
       
   236                         <cstring>buttonConnect</cstring>
       
   237                     </property>
       
   238                     <property name="enabled">
       
   239                         <bool>false</bool>
       
   240                     </property>
       
   241                     <property name="text">
       
   242                         <string>Connec&amp;t</string>
       
   243                     </property>
       
   244                 </widget>
       
   245                 <spacer>
       
   246                     <property name="name">
       
   247                         <cstring>Spacer5</cstring>
       
   248                     </property>
       
   249                     <property name="orientation">
       
   250                         <enum>Horizontal</enum>
       
   251                     </property>
       
   252                     <property name="sizeType">
       
   253                         <enum>Expanding</enum>
       
   254                     </property>
       
   255                     <property name="sizeHint">
       
   256                         <size>
       
   257                             <width>20</width>
       
   258                             <height>20</height>
       
   259                         </size>
       
   260                     </property>
       
   261                 </spacer>
       
   262             </hbox>
       
   263         </widget>
       
   264         <spacer row="4" column="2">
       
   265             <property name="name">
       
   266                 <cstring>Spacer6</cstring>
       
   267             </property>
       
   268             <property name="orientation">
       
   269                 <enum>Vertical</enum>
       
   270             </property>
       
   271             <property name="sizeType">
       
   272                 <enum>Expanding</enum>
       
   273             </property>
       
   274             <property name="sizeHint">
       
   275                 <size>
       
   276                     <width>20</width>
       
   277                     <height>20</height>
       
   278                 </size>
       
   279             </property>
       
   280         </spacer>
       
   281     </grid>
       
   282 </widget>
       
   283 <connections>
       
   284     <connection>
       
   285         <sender>buttonClose</sender>
       
   286         <signal>clicked()</signal>
       
   287         <receiver>DatabaseConnectionBase</receiver>
       
   288         <slot>accept()</slot>
       
   289     </connection>
       
   290     <connection>
       
   291         <sender>buttonNew</sender>
       
   292         <signal>clicked()</signal>
       
   293         <receiver>DatabaseConnectionBase</receiver>
       
   294         <slot>newConnection()</slot>
       
   295     </connection>
       
   296     <connection>
       
   297         <sender>buttonDelete</sender>
       
   298         <signal>clicked()</signal>
       
   299         <receiver>DatabaseConnectionBase</receiver>
       
   300         <slot>deleteConnection()</slot>
       
   301     </connection>
       
   302     <connection>
       
   303         <sender>buttonConnect</sender>
       
   304         <signal>clicked()</signal>
       
   305         <receiver>DatabaseConnectionBase</receiver>
       
   306         <slot>doConnect()</slot>
       
   307     </connection>
       
   308     <connection>
       
   309         <sender>listConnections</sender>
       
   310         <signal>highlighted(const QString&amp;)</signal>
       
   311         <receiver>DatabaseConnectionBase</receiver>
       
   312         <slot>currentConnectionChanged(const QString&amp;)</slot>
       
   313     </connection>
       
   314     <connection>
       
   315         <sender>listConnections</sender>
       
   316         <signal>selected(const QString&amp;)</signal>
       
   317         <receiver>DatabaseConnectionBase</receiver>
       
   318         <slot>currentConnectionChanged(const QString&amp;)</slot>
       
   319     </connection>
       
   320     <slot access="protected" language="C++" returnType="void">init()</slot>
       
   321     <slot access="protected" language="C++" returnType="void">destroy()</slot>
       
   322     <slot access="protected" language="C++" returnType="void">currentConnectionChanged( const QString &amp; )</slot>
       
   323     <slot access="protected" language="C++" returnType="void">deleteConnection()</slot>
       
   324     <slot access="protected" language="C++" returnType="void">newConnection()</slot>
       
   325     <slot access="protected" language="C++" returnType="void">connectionNameChanged( const QString &amp; )</slot>
       
   326     <slot access="protected" language="C++" returnType="void">doConnect()</slot>
       
   327 </connections>
       
   328 <tabstops>
       
   329     <tabstop>buttonClose</tabstop>
       
   330     <tabstop>listConnections</tabstop>
       
   331     <tabstop>buttonNew</tabstop>
       
   332     <tabstop>buttonDelete</tabstop>
       
   333     <tabstop>buttonConnect</tabstop>
       
   334     <tabstop>buttonHelp</tabstop>
       
   335 </tabstops>
       
   336 </UI>