You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tqt3/tools/designer/designer/dbconnections.ui

329 lines
12 KiB

<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
<class>DatabaseConnectionBase</class>
<comment>*********************************************************************
** Copyright (C) 2001-2008 Trolltech ASA. All rights reserved.
**
** This file is part of TQt 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 Trolltech ASA (or its successors, if any)
** and the KDE Free TQt Foundation.
**
** Please review the following information to ensure GNU General
** Public Licensing retquirements 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 TQt Commercial licenses may use this file in
** accordance with the TQt 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="TQDialog">
<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="TQPushButton" row="0" column="1">
<property name="name">
<cstring>buttonNew</cstring>
</property>
<property name="text">
<string>&amp;New Connection</string>
</property>
</widget>
<widget class="TQListBox" row="0" column="0" rowspan="5" colspan="1">
<property name="name">
<cstring>listConnections</cstring>
</property>
</widget>
<widget class="TQPushButton" row="1" column="1">
<property name="name">
<cstring>buttonDelete</cstring>
</property>
<property name="text">
<string>&amp;Delete Connection</string>
</property>
</widget>
<widget class="TQLayoutWidget" 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="TQPushButton">
<property name="name">
<cstring>buttonHelp</cstring>
</property>
<property name="text">
<string>&amp;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="TQPushButton">
<property name="name">
<cstring>buttonClose</cstring>
</property>
<property name="text">
<string>&amp;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="TQGroupBox" 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="TQLayoutWidget" 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="TQPushButton">
<property name="name">
<cstring>buttonConnect</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Connec&amp;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 TQString&amp;)</signal>
<receiver>DatabaseConnectionBase</receiver>
<slot>currentConnectionChanged(const TQString&amp;)</slot>
</connection>
<connection>
<sender>listConnections</sender>
<signal>selected(const TQString&amp;)</signal>
<receiver>DatabaseConnectionBase</receiver>
<slot>currentConnectionChanged(const TQString&amp;)</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 TQString &amp; )</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 TQString &amp; )</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>