📄 listeditor.ui
字号:
<!DOCTYPE UI><UI version="3.0" stdsetdef="1"><class>ListEditor</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>ListEditor</cstring> </property> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>331</width> <height>301</height> </rect> </property> <property name="caption"> <string>Edit...</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="QListView" row="0" column="0" rowspan="5" colspan="1"> <column> <property name="text"> <string>Column 1</string> </property> <property name="clickable"> <bool>true</bool> </property> <property name="resizeable"> <bool>true</bool> </property> </column> <property name="name"> <cstring>listview</cstring> </property> <property name="selectionMode"> <enum>Extended</enum> </property> <property name="resizeMode"> <enum>AllColumns</enum> </property> </widget> <widget class="QPushButton" row="0" column="1"> <property name="name"> <cstring>PushButton1</cstring> </property> <property name="text"> <string>&Add</string> </property> </widget> <widget class="QPushButton" row="1" column="1"> <property name="name"> <cstring>PushButton2</cstring> </property> <property name="text"> <string>&Remove</string> </property> </widget> <widget class="QPushButton" row="2" column="1"> <property name="name"> <cstring>PushButton3</cstring> </property> <property name="text"> <string>Re&name</string> </property> </widget> <widget class="QPushButton" row="4" column="1"> <property name="name"> <cstring>PushButton4</cstring> </property> <property name="text"> <string>&Close</string> </property> </widget> <spacer row="3" column="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> </grid></widget><connections> <connection> <sender>PushButton1</sender> <signal>clicked()</signal> <receiver>ListEditor</receiver> <slot>addItem()</slot> </connection> <connection> <sender>PushButton2</sender> <signal>clicked()</signal> <receiver>ListEditor</receiver> <slot>removeItems()</slot> </connection> <connection> <sender>PushButton4</sender> <signal>clicked()</signal> <receiver>ListEditor</receiver> <slot>accept()</slot> </connection> <connection> <sender>listview</sender> <signal>itemRenamed(QListViewItem*,int)</signal> <receiver>ListEditor</receiver> <slot>renamed(QListViewItem*)</slot> </connection> <connection> <sender>PushButton3</sender> <signal>clicked()</signal> <receiver>ListEditor</receiver> <slot>renameItem()</slot> </connection></connections><includes> <include location="local" impldecl="in implementation">listeditor.ui.h</include></includes><forwards> <forward>class QStringList;</forward></forwards><slots> <slot>init()</slot> <slot>setList( const QStringList & l )</slot> <slot>addItem()</slot> <slot>renamed( QListViewItem * i )</slot> <slot>removeItems()</slot> <slot returnType="QStringList">items()</slot> <slot>renameItem()</slot></slots><pixmapinproject/><layoutdefaults spacing="6" margin="11"/></UI>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -