📄 customwidgeteditor.ui
字号:
<property name="sizeHint"> <size> <width>20</width> <height>20</height> </size> </property> </spacer> <widget class="QPushButton"> <property name="name"> <cstring>buttonAddSlot</cstring> </property> <property name="text"> <string>N&ew Slot</string> </property> <property name="autoDefault"> <bool>true</bool> </property> <property name="toolTip" stdset="0"> <string>Add new slot</string> </property> <property name="whatsThis" stdset="0"> <string><b>Add a new slot to the current custom widget.</b><p>An argument list should be provided in the signal's name, and the name must be unique.</p></string> </property> </widget> <widget class="QPushButton"> <property name="name"> <cstring>buttonRemoveSlot</cstring> </property> <property name="text"> <string>Dele&te Slot</string> </property> <property name="autoDefault"> <bool>true</bool> </property> <property name="toolTip" stdset="0"> <string>Delete slot</string> </property> <property name="whatsThis" stdset="0"> <string><b>Delete the slot.</b><p>All connections using this slot will also be deleted.</p></string> </property> </widget> </hbox> </widget> </grid> </widget> <widget class="QWidget"> <property name="name"> <cstring>Widget5</cstring> </property> <attribute name="title"> <string>&Properties</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="1" column="0" rowspan="1" colspan="4"> <property name="name"> <cstring>Layout7_2</cstring> </property> <hbox> <property name="name"> <cstring>unnamed</cstring> </property> <property name="margin"> <number>0</number> </property> <property name="spacing"> <number>6</number> </property> <spacer> <property name="name"> <cstring>Spacer2_2</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>buttonAddProperty</cstring> </property> <property name="text"> <string>N&ew Property</string> </property> <property name="autoDefault"> <bool>true</bool> </property> <property name="toolTip" stdset="0"> <string>Add new property</string> </property> <property name="whatsThis" stdset="0"> <string><b>Add a new property to the current custom widget.</b><p>The properties must be implemented in the class using Qt's property system.</p></string> </property> </widget> <widget class="QPushButton"> <property name="name"> <cstring>buttonRemoveProperty</cstring> </property> <property name="text"> <string>Dele&te Property</string> </property> <property name="autoDefault"> <bool>true</bool> </property> <property name="toolTip" stdset="0"> <string>Delete property</string> </property> <property name="whatsThis" stdset="0"> <string>Deletes the selected property.</string> </property> </widget> </hbox> </widget> <widget class="QComboBox" row="2" column="3"> <item> <property name="text"> <string>String</string> </property> </item> <item> <property name="text"> <string>CString</string> </property> </item> <item> <property name="text"> <string>StringList</string> </property> </item> <item> <property name="text"> <string>Bool</string> </property> </item> <item> <property name="text"> <string>Int</string> </property> </item> <item> <property name="text"> <string>UInt</string> </property> </item> <item> <property name="text"> <string>Font</string> </property> </item> <item> <property name="text"> <string>Color</string> </property> </item> <item> <property name="text"> <string>Rect</string> </property> </item> <item> <property name="text"> <string>Point</string> </property> </item> <item> <property name="text"> <string>Size</string> </property> </item> <item> <property name="text"> <string>Pixmap</string> </property> </item> <item> <property name="text"> <string>Palette</string> </property> </item> <item> <property name="text"> <string>Cursor</string> </property> </item> <item> <property name="text"> <string>SizePolicy</string> </property> </item> <property name="name"> <cstring>comboType</cstring> </property> <property name="toolTip" stdset="0"> <string>Select property type</string> </property> <property name="whatsThis" stdset="0"> <string><b>Select the type of the property.</b><p>The propertiy must be implemented in the class using Qt's property system.</p><p>You can use integer types to support enumeration properties in the property editor.</p></string> </property> </widget> <widget class="QListView" row="0" column="0" rowspan="1" colspan="4"> <column> <property name="text"> <string>Property</string> </property> <property name="clickable"> <bool>true</bool> </property> <property name="resizeable"> <bool>true</bool> </property> </column> <column> <property name="text"> <string>Type</string> </property> <property name="clickable"> <bool>true</bool> </property> <property name="resizeable"> <bool>true</bool> </property> </column> <property name="name"> <cstring>listProperties</cstring> </property> <property name="allColumnsShowFocus"> <bool>true</bool> </property> <property name="showSortIndicator"> <bool>true</bool> </property> <property name="whatsThis" stdset="0"> <string><b>The list of the current widget's properties.</b><p>The properties of the custom widget can be changed in the property editor.</p></string> </property> </widget> <widget class="QLineEdit" row="2" column="1"> <property name="name"> <cstring>editProperty</cstring> </property> <property name="toolTip" stdset="0"> <string>Change property name</string> </property> <property name="whatsThis" stdset="0"> <string><b>Enter a name for the property.</b><p>The properties must be implemented in the class using Qt's property system.</p></string> </property> </widget> <widget class="QLabel" row="2" column="0"> <property name="name"> <cstring>TextLabel2_2</cstring> </property> <property name="text"> <string>P&roperty Name:</string> </property> <property name="buddy" stdset="0">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -