📄 connectionviewer.ui
字号:
<!DOCTYPE UI><UI><class>ConnectionViewerBase</class><widget> <class>QDialog</class> <property stdset="1"> <name>name</name> <cstring>ConnectionViewerBase</cstring> </property> <property stdset="1"> <name>geometry</name> <rect> <x>0</x> <y>0</y> <width>705</width> <height>315</height> </rect> </property> <property stdset="1"> <name>caption</name> <string>View Connections</string> </property> <property stdset="1"> <name>sizeGripEnabled</name> <bool>true</bool> </property> <property> <name>whatsThis</name> <string><b>View Connections</b><p>Displays all 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 stdset="1"> <name>margin</name> <number>11</number> </property> <property stdset="1"> <name>spacing</name> <number>6</number> </property> <widget row="3" column="0" rowspan="1" colspan="2" > <class>QLayoutWidget</class> <property stdset="1"> <name>name</name> <cstring>Layout1</cstring> </property> <hbox> <property stdset="1"> <name>margin</name> <number>0</number> </property> <property stdset="1"> <name>spacing</name> <number>6</number> </property> <widget> <class>QPushButton</class> <property stdset="1"> <name>name</name> <cstring>helpButton</cstring> </property> <property stdset="1"> <name>text</name> <string>&Help</string> </property> <property stdset="1"> <name>autoDefault</name> <bool>true</bool> </property> <property> <name>whatsThis</name> <string></string> </property> </widget> <spacer> <property> <name>name</name> <cstring>Horizontal Spacing2</cstring> </property> <property stdset="1"> <name>geometry</name> <rect> <x>87</x> <y>5</y> <width>509</width> <height>20</height> </rect> </property> <property stdset="1"> <name>orientation</name> <enum>Horizontal</enum> </property> <property stdset="1"> <name>sizeType</name> <enum>Expanding</enum> </property> </spacer> <widget> <class>QPushButton</class> <property stdset="1"> <name>name</name> <cstring>closeButton</cstring> </property> <property stdset="1"> <name>text</name> <string>&Close</string> </property> <property stdset="1"> <name>autoDefault</name> <bool>true</bool> </property> <property> <name>whatsThis</name> <string>Close the Dialog.</string> </property> </widget> </hbox> </widget> <widget row="0" column="0" rowspan="3" colspan="1" > <class>QListView</class> <column> <property> <name>text</name> <string>Sender</string> </property> <property> <name>clickable</name> <bool>true</bool> </property> <property> <name>resizeable</name> <bool>true</bool> </property> </column> <column> <property> <name>text</name> <string>Signal</string> </property> <property> <name>clickable</name> <bool>true</bool> </property> <property> <name>resizeable</name> <bool>true</bool> </property> </column> <column> <property> <name>text</name> <string>Receiver</string> </property> <property> <name>clickable</name> <bool>true</bool> </property> <property> <name>resizeable</name> <bool>true</bool> </property> </column> <column> <property> <name>text</name> <string>Slot</string> </property> <property> <name>clickable</name> <bool>true</bool> </property> <property> <name>resizeable</name> <bool>true</bool> </property> </column> <property stdset="1"> <name>name</name> <cstring>connectionListView</cstring> </property> <property stdset="1"> <name>allColumnsShowFocus</name> <bool>true</bool> </property> <property stdset="1"> <name>showSortIndicator</name> <bool>true</bool> </property> <property> <name>whatsThis</name> <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 row="0" column="1" > <class>QPushButton</class> <property stdset="1"> <name>name</name> <cstring>editButton</cstring> </property> <property stdset="1"> <name>text</name> <string>&Edit...</string> </property> <property> <name>toolTip</name> <string>Edit connection</string> </property> <property> <name>whatsThis</name> <string>Opens a dialog to change the selected connection.</string> </property> </widget> <spacer row="2" column="1" > <property> <name>name</name> <cstring>Vertical Spacing1</cstring> </property> <property stdset="1"> <name>geometry</name> <rect> <x>635</x> <y>79</y> <width>20</width> <height>189</height> </rect> </property> <property stdset="1"> <name>orientation</name> <enum>Vertical</enum> </property> <property stdset="1"> <name>sizeType</name> <enum>Expanding</enum> </property> </spacer> <widget row="1" column="1" > <class>QPushButton</class> <property stdset="1"> <name>name</name> <cstring>disconnectButton</cstring> </property> <property stdset="1"> <name>text</name> <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">currentConnectionChanged(QListViewItem*)</slot> <slot access="protected">disconnectConnection()</slot> <slot access="protected">editConnection()</slot></connections></UI>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -