<!DOCTYPE UI><UI version="3.0" stdsetdef="1"> <class>DatabaseConnectionBase</class> <comment>********************************************************************* ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. ** ** This file is part of Qt Designer. ** ** This file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free ** Software Foundation and appearing in the files LICENSE.GPL2 ** and LICENSE.GPL3 included in the packaging of this file. ** Alternatively you may (at your option) use any later version ** of the GNU General Public License if such license has been ** publicly approved by Nokia Corporation and/or its subsidiary(-ies) (or its successors, if any) ** and the KDE Free Qt Foundation. ** ** Please review the following information to ensure GNU General ** Public Licensing requirements will be met: ** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** If you are unsure which license is appropriate for your use, please ** review the following information: ** http://trolltech.com/products/qt/licenses/licensing/licensingoverview ** or contact the sales department at sales@trolltech.com. ** ** Licensees holding valid Qt Commercial licenses may use this file in ** accordance with the Qt Commercial License Agreement provided with ** the Software. ** ** This file is provided "AS IS" with NO WARRANTY OF ANY KIND, ** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR ** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted ** herein. ** *********************************************************************</comment> <widget class="QDialog"> <property name="name"> <cstring>DatabaseConnectionBase</cstring> </property> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>512</width> <height>309</height> </rect> </property> <property name="caption"> <string>Edit Database Connections</string> </property> <property name="sizeGripEnabled"> <bool>true</bool> </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="QPushButton" row="0" column="1"> <property name="name"> <cstring>buttonNew</cstring> </property> <property name="text"> <string>&New Connection</string> </property> </widget> <widget class="QListBox" row="0" column="0" rowspan="5" colspan="1"> <property name="name"> <cstring>listConnections</cstring> </property> </widget> <widget class="QPushButton" row="1" column="1"> <property name="name"> <cstring>buttonDelete</cstring> </property> <property name="text"> <string>&Delete Connection</string> </property> </widget> <widget class="QLayoutWidget" row="5" column="0" rowspan="1" colspan="3"> <property name="name"> <cstring>Layout5</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="QPushButton"> <property name="name"> <cstring>buttonHelp</cstring> </property> <property name="text"> <string>&Help</string> </property> <property name="autoDefault"> <bool>true</bool> </property> </widget> <spacer> <property name="name"> <cstring>Horizontal Spacing2</cstring> </property> <property name="orientation"> <enum>Horizontal</enum> </property> <property name="sizeType"> <enum>Expanding</enum> </property> <property name="sizeHint"> <size> <width>20</width> <height>20</height> </size> </property> </spacer> <widget class="QPushButton"> <property name="name"> <cstring>buttonClose</cstring> </property> <property name="text"> <string>&Close</string> </property> <property name="autoDefault"> <bool>true</bool> </property> <property name="whatsThis" stdset="0"> <string>Close the dialog and discard any changes.</string> </property> </widget> </hbox> </widget> <spacer row="2" column="1" rowspan="3" colspan="1"> <property name="name"> <cstring>Spacer1</cstring> </property> <property name="orientation"> <enum>Vertical</enum> </property> <property name="sizeType"> <enum>Expanding</enum> </property> <property name="sizeHint"> <size> <width>20</width> <height>20</height> </size> </property> </spacer> <widget class="QGroupBox" row="0" column="2" rowspan="3" colspan="1"> <property name="name"> <cstring>grp</cstring> </property> <property name="title"> <string>Connection</string> </property> <grid> <property name="name"> <cstring>unnamed</cstring> </property> <property name="margin"> <number>11</number> </property> <property name="spacing"> <number>6</number> </property> <spacer row="0" column="0"> <property name="name"> <cstring>Spacer3</cstring> </property> <property name="orientation"> <enum>Vertical</enum> </property> <property name="sizeType"> <enum>Expanding</enum> </property> <property name="sizeHint"> <size> <width>20</width> <height>20</height> </size> </property> </spacer> </grid> </widget> <widget class="QLayoutWidget" row="3" column="2"> <property name="name"> <cstring>Layout4</cstring> </property> <hbox> <property name="name"> <cstring>unnamed</cstring> </property> <property name="margin"> <number>0</number> </property> <property name="spacing"> <number>6</number> </property> <spacer> <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>20</width> <height>20</height> </size> </property> </spacer> <widget class="QPushButton"> <property name="name"> <cstring>buttonConnect</cstring> </property> <property name="enabled"> <bool>false</bool> </property> <property name="text"> <string>Connec&t</string> </property> </widget> <spacer> <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>20</width> <height>20</height> </size> </property> </spacer> </hbox> </widget> <spacer row="4" column="2"> <property name="name"> <cstring>Spacer6</cstring> </property> <property name="orientation"> <enum>Vertical</enum> </property> <property name="sizeType"> <enum>Expanding</enum> </property> <property name="sizeHint"> <size> <width>20</width> <height>20</height> </size> </property> </spacer> </grid> </widget> <connections> <connection> <sender>buttonClose</sender> <signal>clicked()</signal> <receiver>DatabaseConnectionBase</receiver> <slot>accept()</slot> </connection> <connection> <sender>buttonNew</sender> <signal>clicked()</signal> <receiver>DatabaseConnectionBase</receiver> <slot>newConnection()</slot> </connection> <connection> <sender>buttonDelete</sender> <signal>clicked()</signal> <receiver>DatabaseConnectionBase</receiver> <slot>deleteConnection()</slot> </connection> <connection> <sender>buttonConnect</sender> <signal>clicked()</signal> <receiver>DatabaseConnectionBase</receiver> <slot>doConnect()</slot> </connection> <connection> <sender>listConnections</sender> <signal>highlighted(const QString&)</signal> <receiver>DatabaseConnectionBase</receiver> <slot>currentConnectionChanged(const QString&)</slot> </connection> <connection> <sender>listConnections</sender> <signal>selected(const QString&)</signal> <receiver>DatabaseConnectionBase</receiver> <slot>currentConnectionChanged(const QString&)</slot> </connection> <slot access="protected" language="C++" returnType="void">init()</slot> <slot access="protected" language="C++" returnType="void">destroy()</slot> <slot access="protected" language="C++" returnType="void">currentConnectionChanged( const QString & )</slot> <slot access="protected" language="C++" returnType="void">deleteConnection()</slot> <slot access="protected" language="C++" returnType="void">newConnection()</slot> <slot access="protected" language="C++" returnType="void">connectionNameChanged( const QString & )</slot> <slot access="protected" language="C++" returnType="void">doConnect()</slot> </connections> <tabstops> <tabstop>buttonClose</tabstop> <tabstop>listConnections</tabstop> <tabstop>buttonNew</tabstop> <tabstop>buttonDelete</tabstop> <tabstop>buttonConnect</tabstop> <tabstop>buttonHelp</tabstop> </tabstops> </UI>