📄 listboxeditor.ui
字号:
<!DOCTYPE UI><UI><class>ListBoxEditorBase</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</class> <property stdset="1"> <name>name</name> <cstring>ListBoxEditorBase</cstring> </property> <property stdset="1"> <name>geometry</name> <rect> <x>0</x> <y>0</y> <width>465</width> <height>196</height> </rect> </property> <property stdset="1"> <name>caption</name> <string>Edit Listbox</string> </property> <property stdset="1"> <name>sizeGripEnabled</name> <bool>true</bool> </property> <property> <name>whatsThis</name> <string><b>Edit Listbox</b><p>Add, change and remove items in the listbox.</p><p>Press the <b>New Item</b>-button to create a new listbox entry, and enter text or choose a pixmap.</p><p>Select an item from the list and press the <b>Delete Item</b>-button to remove the item from the list.</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="5" column="0" rowspan="1" colspan="3" > <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> </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>97</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>buttonApply</cstring> </property> <property stdset="1"> <name>text</name> <string>&Apply</string> </property> <property stdset="1"> <name>autoDefault</name> <bool>true</bool> </property> <property> <name>whatsThis</name> <string>Apply all changes.</string> </property> </widget> <widget> <class>QPushButton</class> <property stdset="1"> <name>name</name> <cstring>buttonOk</cstring> </property> <property stdset="1"> <name>text</name> <string>&OK</string> </property> <property stdset="1"> <name>autoDefault</name> <bool>true</bool> </property> <property stdset="1"> <name>default</name> <bool>true</bool> </property> <property> <name>whatsThis</name> <string>Close dialog and apply all changes.</string> </property> </widget> <widget> <class>QPushButton</class> <property stdset="1"> <name>name</name> <cstring>buttonCancel</cstring> </property> <property stdset="1"> <name>text</name> <string>&Cancel</string> </property> <property stdset="1"> <name>autoDefault</name> <bool>true</bool> </property> <property> <name>whatsThis</name> <string>Close dialog and discard all changes.</string> </property> </widget> </hbox> </widget> <widget row="0" column="0" rowspan="5" colspan="1" > <class>QListBox</class> <property stdset="1"> <name>name</name> <cstring>preview</cstring> </property> <property> <name>toolTip</name> <string>Delete Item</string> </property> <property> <name>whatsThis</name> <string>The list of items.</string> </property> </widget> <widget row="0" column="2" rowspan="5" colspan="1" > <class>QGroupBox</class> <property stdset="1"> <name>name</name> <cstring>GroupBox1</cstring> </property> <property stdset="1"> <name>title</name> <string>&Item Properties</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="1" column="0" > <class>QLabel</class> <property stdset="1"> <name>name</name> <cstring>Label2</cstring> </property> <property stdset="1"> <name>text</name> <string>&Pixmap:</string> </property> <property> <name>buddy</name> <cstring>itemChoosePixmap</cstring> </property> </widget> <widget row="1" column="1" > <class>QLabel</class> <property stdset="1"> <name>name</name> <cstring>itemPixmap</cstring> </property> <property stdset="1"> <name>text</name> <string>Label4</string> </property> </widget> <widget row="1" column="2" > <class>QPushButton</class> <property stdset="1"> <name>name</name> <cstring>itemDeletePixmap</cstring> </property> <property stdset="1"> <name>text</name> <string></string> </property> <property stdset="1"> <name>maximumSize</name> <size> <width>30</width> <height>22</height> </size> </property> <property stdset="1"> <name>pixmap</name> <pixmap>image0</pixmap> </property> <property> <name>toolTip</name> <string>Delete Pixmap</string> </property> <property> <name>whatsThis</name> <string>Delete the pixmap of the selected item.</string> </property> </widget> <widget row="1" column="3" > <class>QPushButton</class> <property stdset="1"> <name>name</name> <cstring>itemChoosePixmap</cstring> </property> <property stdset="1"> <name>text</name> <string>...</string> </property> <property stdset="1"> <name>maximumSize</name> <size> <width>30</width>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -