Alessandro Bonazzi 8c43d5cf2f Patch level : 12.00
Files correlati     : cg0.exe cg0700a.msk cg0700b.msk cg3.exe cg4.exe

Bug                 :

Commento:
Merge 1.0 libraries
2025-04-06 00:42:21 +02:00

337 lines
13 KiB
XML

<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
<class>DatabaseConnectionBase</class>
<comment>*********************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the test suite of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance with the commercial license agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and The Qt Company. For licensing terms
** and conditions see http://www.qt.io/terms-conditions. For further
** information use the contact form at http://www.qt.io/contact-us.
**
** GNU Lesser General Public License Usage
** Alternatively, this file may be used under the terms of the GNU Lesser
** General Public License version 2.1 or version 3 as published by the Free
** Software Foundation and appearing in the file LICENSE.LGPLv21 and
** LICENSE.LGPLv3 included in the packaging of this file. Please review the
** following information to ensure the GNU Lesser General Public License
** requirements will be met: https://www.gnu.org/licenses/lgpl.html and
** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
**
** As a special exception, The Qt Company gives you certain additional
** rights. These rights are described in The Qt Company LGPL Exception
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
**
** GNU General Public License Usage
** Alternatively, this file may be used under the terms of the GNU
** General Public License version 3.0 as published by the Free Software
** Foundation and appearing in the file LICENSE.GPL included in the
** packaging of this file. Please review the following information to
** ensure the GNU General Public License version 3.0 requirements will be
** met: http://www.gnu.org/copyleft/gpl.html.
**
** $QT_END_LICENSE$
**
*********************************************************************</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>&amp;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>&amp;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>&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="QPushButton">
<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="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&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 QString&amp;)</signal>
<receiver>DatabaseConnectionBase</receiver>
<slot>currentConnectionChanged(const QString&amp;)</slot>
</connection>
<connection>
<sender>listConnections</sender>
<signal>selected(const QString&amp;)</signal>
<receiver>DatabaseConnectionBase</receiver>
<slot>currentConnectionChanged(const QString&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 QString &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 QString &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>