📄 customwidgeteditor.ui
字号:
<!DOCTYPE UI><UI version="3.0" stdsetdef="1"><class>CustomWidgetEditorBase</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>CustomWidgetEditorBase</cstring> </property> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>712</width> <height>386</height> </rect> </property> <property name="caption"> <string>Edit Custom Widgets</string> </property> <property name="sizeGripEnabled"> <bool>true</bool> </property> <property name="whatsThis" stdset="0"> <string><b>Edit Custom Widgets</b><p>Add or delete custom widgets from <i>Qt Designer</i>'s database, and edit the properties of existing widgets.</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="QListBox" row="0" column="0" rowspan="5" colspan="1"> <property name="name"> <cstring>boxWidgets</cstring> </property> <property name="whatsThis" stdset="0"> <string>The list of all custom widgets known to Qt Designer.</string> </property> </widget> <widget class="QPushButton" row="0" column="1"> <property name="name"> <cstring>buttonNewWidget</cstring> </property> <property name="text"> <string>&New Widget</string> </property> <property name="toolTip" stdset="0"> <string>Add new custom widget.</string> </property> <property name="whatsThis" stdset="0"> <string><b>Create an empty custom widget and add it to the list.</b><p>New custom widgets have a default name and header file, which must both be changed to appropriate values.</p></string> </property> </widget> <widget class="QPushButton" row="1" column="1"> <property name="name"> <cstring>buttonDeleteWidget</cstring> </property> <property name="text"> <string>&Delete Widget</string> </property> <property name="toolTip" stdset="0"> <string>Delete custom widget</string> </property> <property name="whatsThis" stdset="0"> <string><b>Delete the selected custom widget.</b><p>You can only delete widgets that are not used in any open form.</p></string> </property> </widget> <widget class="QLayoutWidget" row="5" column="0" rowspan="1" colspan="3"> <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> </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>buttonCancel</cstring> </property> <property name="text"> <string>&Close</string> </property> <property name="autoDefault"> <bool>true</bool> </property> <property name="whatsThis" stdset="0"> <string>Closes the Dialog.</string> </property> </widget> </hbox> </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="3" column="1"> <property name="name"> <cstring>buttonLoad</cstring> </property> <property name="text"> <string>&Load Descriptions...</string> </property> <property name="toolTip" stdset="0"> <string>Loads widget description file</string> </property> <property name="whatsThis" stdset="0"> <string><b>Load Descriptions</b><p>Loads a file which contains descriptions of custom widgets, so that these custom widgets can be used in the Qt Designer.</p><p>Since it is a lot of work to type in all the information for custom widgets, you should consider using the createcw tool which is in $QTDIR/tools/designer/tools/createcw. Using createcw you can create custom widget description files for your custom widgets without the need to type in all the information manually. For more information about the README file in the createcw directory</p></string> </property> </widget> <widget class="QPushButton" row="4" column="1"> <property name="name"> <cstring>buttonSave</cstring> </property> <property name="text"> <string>&Save Descriptions...</string> </property> <property name="toolTip" stdset="0"> <string>Saves widget description file</string> </property> <property name="whatsThis" stdset="0"> <string><b>Save Descriptions</b><p>Saves all the descriptions of the shown custom widgets to a file which can then be used to import the custom widgets elsewhere.</string> </property> </widget> <widget class="QTabWidget" row="0" column="2" rowspan="5" colspan="1"> <property name="name"> <cstring>TabWidget1</cstring> </property> <property name="whatsThis" stdset="0"> <string>Change the properties of the selected custom widget.</string> </property> <widget class="QWidget"> <property name="name"> <cstring>Widget2</cstring> </property> <attribute name="title"> <string>De&finition</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="QLayoutWidget" row="2" column="1" rowspan="1" colspan="2"> <property name="name"> <cstring>Layout4</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>previewPixmap</cstring> </property> <property name="text"> <string></string> </property> </widget> <widget class="QPushButton"> <property name="name"> <cstring>buttonChoosePixmap</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.</b><p>The pixmap will be used to represent the widget in forms.</b></string> </property> </widget> </hbox> </widget> <widget class="QLayoutWidget" row="1" column="1" rowspan="1" colspan="2"> <property name="name"> <cstring>Layout5</cstring> </property> <hbox> <property name="name"> <cstring>unnamed</cstring> </property> <property name="margin"> <number>0</number>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -