connectionviewer.ui
来自「qt-x11-free-3.0.3.tar.gz minigui图形界面工具」· UI 代码 · 共 270 行
UI
270 行
<!DOCTYPE UI><UI version="3.0" stdsetdef="1"><class>ConnectionViewerBase</class><comment>*********************************************************************** Copyright (C) 2000 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>ConnectionViewerBase</cstring> </property> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>701</width> <height>315</height> </rect> </property> <property name="caption"> <string>View Connections</string> </property> <property name="sizeGripEnabled"> <bool>true</bool> </property> <property name="whatsThis" stdset="0"> <string><b>View Connections</b><p>Displays all the connections in the current form. Select a connection from the list and click the <b>Edit</b>-button to change the connection.</p></string> </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="QLayoutWidget" row="3" column="0" rowspan="1" colspan="2"> <property name="name"> <cstring>Layout1</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>helpButton</cstring> </property> <property name="text"> <string>&Help</string> </property> <property name="autoDefault"> <bool>true</bool> </property> <property name="whatsThis" stdset="0"> <string></string> </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>closeButton</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.</string> </property> </widget> </hbox> </widget> <widget class="QListView" row="0" column="0" rowspan="3" colspan="1"> <column> <property name="text"> <string>Sender</string> </property> <property name="clickable"> <bool>true</bool> </property> <property name="resizeable"> <bool>true</bool> </property> </column> <column> <property name="text"> <string>Signal</string> </property> <property name="clickable"> <bool>true</bool> </property> <property name="resizeable"> <bool>true</bool> </property> </column> <column> <property name="text"> <string>Receiver</string> </property> <property name="clickable"> <bool>true</bool> </property> <property name="resizeable"> <bool>true</bool> </property> </column> <column> <property name="text"> <string>Slot</string> </property> <property name="clickable"> <bool>true</bool> </property> <property name="resizeable"> <bool>true</bool> </property> </column> <property name="name"> <cstring>connectionListView</cstring> </property> <property name="allColumnsShowFocus"> <bool>true</bool> </property> <property name="showSortIndicator"> <bool>true</bool> </property> <property name="whatsThis" stdset="0"> <string><b>Displays a list of connections.</b><p>Select a connection and choose edit, or double-click on an item to change the connection.</p></string> </property> </widget> <widget class="QPushButton" row="0" column="1"> <property name="name"> <cstring>editButton</cstring> </property> <property name="text"> <string>&Edit...</string> </property> <property name="toolTip" stdset="0"> <string>Edit connection</string> </property> <property name="whatsThis" stdset="0"> <string>Opens a dialog for editing the selected connection.</string> </property> </widget> <spacer row="2" column="1"> <property name="name"> <cstring>Vertical Spacing1</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="QPushButton" row="1" column="1"> <property name="name"> <cstring>disconnectButton</cstring> </property> <property name="text"> <string>&Disconnect</string> </property> </widget> </grid></widget><connections> <connection> <sender>closeButton</sender> <signal>clicked()</signal> <receiver>ConnectionViewerBase</receiver> <slot>reject()</slot> </connection> <connection> <sender>editButton</sender> <signal>clicked()</signal> <receiver>ConnectionViewerBase</receiver> <slot>editConnection()</slot> </connection> <connection> <sender>disconnectButton</sender> <signal>clicked()</signal> <receiver>ConnectionViewerBase</receiver> <slot>disconnectConnection()</slot> </connection> <connection> <sender>connectionListView</sender> <signal>currentChanged(QListViewItem*)</signal> <receiver>ConnectionViewerBase</receiver> <slot>currentConnectionChanged(QListViewItem*)</slot> </connection> <connection> <sender>connectionListView</sender> <signal>returnPressed(QListViewItem*)</signal> <receiver>ConnectionViewerBase</receiver> <slot>editConnection()</slot> </connection> <connection> <sender>connectionListView</sender> <signal>selectionChanged(QListViewItem*)</signal> <receiver>ConnectionViewerBase</receiver> <slot>currentConnectionChanged(QListViewItem*)</slot> </connection> <connection> <sender>connectionListView</sender> <signal>doubleClicked(QListViewItem*)</signal> <receiver>ConnectionViewerBase</receiver> <slot>editConnection()</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(QListViewItem*)</slot> <slot access="protected" language="C++" returnType="void">disconnectConnection()</slot> <slot access="protected" language="C++" returnType="void">editConnection()</slot></connections><tabstops> <tabstop>closeButton</tabstop> <tabstop>connectionListView</tabstop> <tabstop>editButton</tabstop> <tabstop>disconnectButton</tabstop> <tabstop>helpButton</tabstop></tabstops></UI>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?