📄 dbconnections.ui
字号:
<!DOCTYPE UI><UI version="3.0" stdsetdef="1"><class>DatabaseConnectionBase</class><comment>*********************************************************************** Copyright (C) 2001 Trolltech AS. All rights reserved.**** This file is part of Qt Designer.**** This file may be distributed and/or modified under the terms of the** GNU General Public License version 2 as published by the Free Software** Foundation and appearing in the file LICENSE.GPL included in the** packaging of this file.**** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.**** See http://www.trolltech.com/gpl/ for GPL licensing information.**** Contact info@trolltech.com if any conditions of this licensing are** not clear to you.***********************************************************************</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>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -