📄 customwidgeteditor.ui
字号:
<!DOCTYPE UI><UI><class>CustomWidgetEditorBase</class><widget> <class>QDialog</class> <property stdset="1"> <name>name</name> <cstring>CustomWidgetEditorBase</cstring> </property> <property stdset="1"> <name>geometry</name> <rect> <x>0</x> <y>0</y> <width>716</width> <height>384</height> </rect> </property> <property stdset="1"> <name>caption</name> <string>Edit Custom Widgets</string> </property> <property stdset="1"> <name>sizeGripEnabled</name> <bool>true</bool> </property> <property> <name>whatsThis</name> <string><b>Edit Custom Widgets</b><p>Add and remove custom widgets to the designer's database, and change the properties of existing widgets.</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="0" column="0" rowspan="5" colspan="1" > <class>QListBox</class> <property stdset="1"> <name>name</name> <cstring>boxWidgets</cstring> </property> <property> <name>whatsThis</name> <string>The list of all custom widgets known to the designer.</string> </property> </widget> <widget row="0" column="1" > <class>QPushButton</class> <property stdset="1"> <name>name</name> <cstring>buttonNewWidget</cstring> </property> <property stdset="1"> <name>text</name> <string>&New Widget</string> </property> <property> <name>toolTip</name> <string>Add new custom widget.</string> </property> <property> <name>whatsThis</name> <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 provided.</p></string> </property> </widget> <widget row="1" column="1" > <class>QPushButton</class> <property stdset="1"> <name>name</name> <cstring>buttonDeleteWidget</cstring> </property> <property stdset="1"> <name>text</name> <string>&Delete Widget</string> </property> <property> <name>toolTip</name> <string>Delete custom widget</string> </property> <property> <name>whatsThis</name> <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 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>orientation</name> <enum>Horizontal</enum> </property> <property stdset="1"> <name>sizeType</name> <enum>Expanding</enum> </property> <property> <name>sizeHint</name> <size> <width>20</width> <height>20</height> </size> </property> </spacer> <widget> <class>QPushButton</class> <property stdset="1"> <name>name</name> <cstring>buttonCancel</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>Closes the Dialog.</string> </property> </widget> </hbox> </widget> <spacer row="2" column="1" > <property> <name>name</name> <cstring>Vertical Spacing1</cstring> </property> <property stdset="1"> <name>orientation</name> <enum>Vertical</enum> </property> <property stdset="1"> <name>sizeType</name> <enum>Expanding</enum> </property> <property> <name>sizeHint</name> <size> <width>20</width> <height>20</height> </size> </property> </spacer> <widget row="3" column="1" > <class>QPushButton</class> <property stdset="1"> <name>name</name> <cstring>buttonLoad</cstring> </property> <property stdset="1"> <name>text</name> <string>&Load Descriptions...</string> </property> <property> <name>toolTip</name> <string>Loads widget description file</string> </property> <property> <name>whatsThis</name> <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>As it is a lot of work to type in all the information for custom widgets, you should check the tool createcw which you can find in $QTDIR/tools/designer/tools/createcw. Using that tool you can create custom widget description files for your custom widgets without the need of typing in all that information. For more information about that see the README file in that directory</p></string> </property> </widget> <widget row="4" column="1" > <class>QPushButton</class> <property stdset="1"> <name>name</name> <cstring>buttonSave</cstring> </property> <property stdset="1"> <name>text</name> <string>&Save Descriptions...</string> </property> <property> <name>toolTip</name> <string>Saves widget description file</string> </property> <property> <name>whatsThis</name> <string><b>Save Descriptions</b><p>Saves all descriptions of the shown custom widgets to file which can be used to import these custom widgets somewhere else.</string> </property> </widget> <widget row="0" column="2" rowspan="5" colspan="1" > <class>QTabWidget</class> <property stdset="1"> <name>name</name> <cstring>TabWidget1</cstring> </property> <property> <name>whatsThis</name> <string>Change properties for the selected custom widget.</string> </property> <widget> <class>QWidget</class> <property stdset="1"> <name>name</name> <cstring>Widget2</cstring> </property> <attribute> <name>title</name> <string>D&efinition</string> </attribute> <grid> <property stdset="1"> <name>margin</name> <number>11</number> </property> <property stdset="1"> <name>spacing</name> <number>6</number> </property> <widget row="2" column="1" rowspan="1" colspan="2" > <class>QLayoutWidget</class> <property stdset="1"> <name>name</name> <cstring>Layout4</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>QLabel</class> <property stdset="1"> <name>name</name> <cstring>previewPixmap</cstring> </property> <property stdset="1"> <name>text</name> <string></string> </property> </widget> <widget> <class>QPushButton</class> <property stdset="1"> <name>name</name> <cstring>buttonChoosePixmap</cstring> </property> <property stdset="1"> <name>text</name>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -