📄 listvieweditor.ui
字号:
<!DOCTYPE UI><UI version="3.1" stdsetdef="1"><class>ListViewEditorBase</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>ListViewEditorBase</cstring> </property> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>567</width> <height>398</height> </rect> </property> <property name="caption"> <string>Edit Listview</string> </property> <property name="sizeGripEnabled"> <bool>true</bool> </property> <property name="whatsThis" stdset="0"> <string><b>Edit Listview</b><p>Use the controls on the <b>Items</b>-tab to add, edit or delete items in the listview. Change the column configuration of the listview using the controls on the <b>Columns</b>-tab.</p>Click the <b>New Item</b>-button to create a new item, then enter text and add a pixmap.</p><p>Select an item from the list and click the <b>Delete Item</b>-button to remove the item from the list.</p></string> </property> <vbox> <property name="name"> <cstring>unnamed</cstring> </property> <property name="margin"> <number>11</number> </property> <property name="spacing"> <number>6</number> </property> <widget class="QTabWidget"> <property name="name"> <cstring>tabWidget</cstring> </property> <widget class="QWidget"> <property name="name"> <cstring>Widget10</cstring> </property> <attribute name="title"> <string>&Items</string> </attribute> <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="2" column="1"> <property name="name"> <cstring>itemDelete</cstring> </property> <property name="text"> <string>&Delete Item</string> </property> <property name="toolTip" stdset="0"> <string>Delete item</string> </property> <property name="whatsThis" stdset="0"> <string><b>Deletes the selected item.</b><p>Any sub-items are also deleted.</p></string> </property> </widget> <widget class="QGroupBox" row="0" column="2" rowspan="8" colspan="1"> <property name="name"> <cstring>GroupBox1</cstring> </property> <property name="sizePolicy"> <sizepolicy> <hsizetype>0</hsizetype> <vsizetype>5</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="title"> <string>Item Properties</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="QLabel" row="2" column="0"> <property name="name"> <cstring>Label2</cstring> </property> <property name="text"> <string>Pi&xmap:</string> </property> <property name="buddy" stdset="0"> <cstring>itemChoosePixmap</cstring> </property> </widget> <widget class="QLabel" row="1" column="0"> <property name="name"> <cstring>Label1</cstring> </property> <property name="text"> <string>&Text:</string> </property> <property name="buddy" stdset="0"> <cstring>itemText</cstring> </property> </widget> <widget class="QLineEdit" row="1" column="1"> <property name="name"> <cstring>itemText</cstring> </property> <property name="minimumSize"> <size> <width>0</width> <height>0</height> </size> </property> <property name="toolTip" stdset="0"> <string>Change text</string> </property> <property name="whatsThis" stdset="0"> <string><b>Change the text of the item.</b><p>The text will be changed in the current column of the selected item.</p></string> </property> </widget> <widget class="QSpinBox" row="0" column="1"> <property name="name"> <cstring>itemColumn</cstring> </property> <property name="toolTip" stdset="0"> <string>Change column</string> </property> <property name="whatsThis" stdset="0"> <string><b>Select the current column.</b><p>The item's text and pixmap will be changed for the current column</p></string> </property> </widget> <widget class="QLabel" row="0" column="0"> <property name="name"> <cstring>Label4</cstring> </property> <property name="text"> <string>Colu&mn:</string> </property> <property name="buddy" stdset="0"> <cstring>itemColumn</cstring> </property> </widget> <widget class="QLayoutWidget" row="2" column="1"> <property name="name"> <cstring>Layout2</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="QLabel"> <property name="name"> <cstring>itemPixmap</cstring> </property> <property name="text"> <string>Label4</string> </property> </widget> <widget class="QPushButton"> <property name="name"> <cstring>itemDeletePixmap</cstring> </property> <property name="maximumSize"> <size> <width>30</width> <height>22</height> </size> </property> <property name="text"> <string></string> </property> <property name="pixmap"> <pixmap>s_editcut.png</pixmap> </property> <property name="toolTip" stdset="0"> <string>Delete Pixmap</string> </property> <property name="whatsThis" stdset="0"> <string><b>Delete the selected item's pixmap.</b><p>The pixmap in the current column of the selected item will be deleted.</p></string> </property> </widget> <widget class="QPushButton"> <property name="name"> <cstring>itemChoosePixmap</cstring> </property> <property name="maximumSize"> <size> <width>30</width> <height>22</height> </size> </property> <property name="text"> <string>...</string> </property> <property name="toolTip" stdset="0"> <string>Select a Pixmap</string> </property> <property name="whatsThis" stdset="0"> <string><b>Select a pixmap file for the item.</b><p>The pixmap will be changed in the current column of the selected item.</p></string> </property> </widget> </hbox> </widget> </grid> </widget> <widget class="QPushButton" row="0" column="1"> <property name="name"> <cstring>itemNew</cstring> </property> <property name="text"> <string>&New Item</string> </property> <property name="toolTip" stdset="0"> <string>Add an item</string> </property> <property name="whatsThis" stdset="0"> <string><b>Adds a new item to the list.</b><p>The item will be inserted at the top of the list and can be moved using the up- and down-buttons.</p></string> </property> </widget> <widget class="QListView" row="0" column="0" rowspan="8" colspan="1"> <property name="name"> <cstring>itemsPreview</cstring> </property> <property name="whatsThis" stdset="0"> <string>The list of items.</string> </property> </widget> <widget class="QPushButton" row="1" column="1"> <property name="name"> <cstring>itemNewSub</cstring> </property> <property name="text"> <string>New &Subitem</string> </property> <property name="toolTip" stdset="0"> <string>Add a subitem</string> </property> <property name="whatsThis" stdset="0"> <string><b>Create a new sub-item for the selected item.</b><p>New sub-items are inserted at the top of the list of sub-items, and new levels are created automatically.</p></string> </property> </widget> <spacer row="3" 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="4" column="1"> <property name="name"> <cstring>itemUp</cstring> </property> <property name="text"> <string></string> </property> <property name="pixmap"> <pixmap>s_up.png</pixmap> </property> <property name="toolTip" stdset="0"> <string>Move up</string> </property> <property name="whatsThis" stdset="0">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -