📄 customwidgeteditor.ui
字号:
<name>text</name> <string>N&ew Property</string> </property> <property stdset="1"> <name>autoDefault</name> <bool>true</bool> </property> <property> <name>toolTip</name> <string>Add new property</string> </property> <property> <name>whatsThis</name> <string><b>Add a new property to the current customwidget.</b><p>The properties have to be implemented in the class using the property system of Qt.</p></string> </property> </widget> <widget> <class>QPushButton</class> <property stdset="1"> <name>name</name> <cstring>buttonRemoveProperty</cstring> </property> <property stdset="1"> <name>text</name> <string>Dele&te Property</string> </property> <property stdset="1"> <name>autoDefault</name> <bool>true</bool> </property> <property> <name>toolTip</name> <string>Delete property</string> </property> <property> <name>whatsThis</name> <string>Deletes the selected property.</string> </property> </widget> </hbox> </widget> <widget row="2" column="3" > <class>QComboBox</class> <item> <property> <name>text</name> <string>String</string> </property> </item> <item> <property> <name>text</name> <string>CString</string> </property> </item> <item> <property> <name>text</name> <string>StringList</string> </property> </item> <item> <property> <name>text</name> <string>Bool</string> </property> </item> <item> <property> <name>text</name> <string>Int</string> </property> </item> <item> <property> <name>text</name> <string>UInt</string> </property> </item> <item> <property> <name>text</name> <string>Font</string> </property> </item> <item> <property> <name>text</name> <string>Color</string> </property> </item> <item> <property> <name>text</name> <string>Rect</string> </property> </item> <item> <property> <name>text</name> <string>Point</string> </property> </item> <item> <property> <name>text</name> <string>Size</string> </property> </item> <item> <property> <name>text</name> <string>Pixmap</string> </property> </item> <item> <property> <name>text</name> <string>Palette</string> </property> </item> <item> <property> <name>text</name> <string>Cursor</string> </property> </item> <item> <property> <name>text</name> <string>SizePolicy</string> </property> </item> <property stdset="1"> <name>name</name> <cstring>comboType</cstring> </property> <property> <name>toolTip</name> <string>Select property type</string> </property> <property> <name>whatsThis</name> <string><b>Select the type of the property.</b><p>The propertiy has to be implemented in the class using the property system of Qt.</p><p>You can use integer types to support enumeration properties in the property editor.</p></string> </property> </widget> <widget row="0" column="0" rowspan="1" colspan="4" > <class>QListView</class> <column> <property> <name>text</name> <string>Property</string> </property> <property> <name>clickable</name> <bool>true</bool> </property> <property> <name>resizeable</name> <bool>true</bool> </property> </column> <column> <property> <name>text</name> <string>Type</string> </property> <property> <name>clickable</name> <bool>true</bool> </property> <property> <name>resizeable</name> <bool>true</bool> </property> </column> <property stdset="1"> <name>name</name> <cstring>listProperties</cstring> </property> <property stdset="1"> <name>showSortIndicator</name> <bool>true</bool> </property> <property stdset="1"> <name>allColumnsShowFocus</name> <bool>true</bool> </property> <property> <name>whatsThis</name> <string><b>The list of properties of the current custom widget.</b><p>The properties of the custom widget can be changed in the property editor.</p></string> </property> </widget> <widget row="2" column="1" > <class>QLineEdit</class> <property stdset="1"> <name>name</name> <cstring>editProperty</cstring> </property> <property> <name>toolTip</name> <string>Change property name</string> </property> <property> <name>whatsThis</name> <string><b>Enter a name for the property.</b><p>The properties have to be implemented in the class using the property system of Qt.</p></string> </property> </widget> <widget row="2" column="0" > <class>QLabel</class> <property stdset="1"> <name>name</name> <cstring>TextLabel2_2</cstring> </property> <property stdset="1"> <name>text</name> <string>P&roperty Name:</string> </property> <property> <name>buddy</name> <cstring>editProperty</cstring> </property> </widget> <widget row="2" column="2" > <class>QLabel</class> <property stdset="1"> <name>name</name> <cstring>TextLabel3_2</cstring> </property> <property stdset="1"> <name>text</name> <string>T&ype:</string> </property> <property> <name>buddy</name> <cstring>comboType</cstring> </property> </widget> </grid> </widget> </widget> </grid></widget><connections> <connection> <sender>boxWidgets</sender> <signal>selectionChanged(QListBoxItem*)</signal> <receiver>CustomWidgetEditorBase</receiver> <slot>currentWidgetChanged( QListBoxItem * )</slot> </connection> <connection> <sender>boxWidgets</sender> <signal>currentChanged(QListBoxItem*)</signal> <receiver>CustomWidgetEditorBase</receiver> <slot>currentWidgetChanged( QListBoxItem * )</slot> </connection> <connection> <sender>buttonNewWidget</sender> <signal>clicked()</signal> <receiver>CustomWidgetEditorBase</receiver> <slot>addWidgetClicked()</slot> </connection> <connection> <sender>buttonDeleteWidget</sender> <signal>clicked()</signal> <receiver>CustomWidgetEditorBase</receiver> <slot>deleteWidgetClicked()</slot> </connection> <connection> <sender>editClass</sender> <signal>textChanged(const QString&)</signal> <receiver>CustomWidgetEditorBase</receiver> <slot>classNameChanged( const QString & )</slot> </connection> <connection> <sender>editHeader</sender> <signal>textChanged(const QString&)</signal> <receiver>CustomWidgetEditorBase</receiver> <slot>headerFi
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -