📄 customwidgeteditor.ui
字号:
<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="1" colspan="4" > <class>QListView</class> <column> <property> <name>text</name> <string>Slot</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>Access</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>listSlots</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>The list of all slots of the selected custom widget.</string> </property> </widget> <widget row="2" column="0" > <class>QLabel</class> <property stdset="1"> <name>name</name> <cstring>TextLabel2</cstring> </property> <property stdset="1"> <name>text</name> <string>&Slot:</string> </property> <property> <name>buddy</name> <cstring>editSlot</cstring> </property> </widget> <widget row="2" column="1" > <class>QLineEdit</class> <property stdset="1"> <name>name</name> <cstring>editSlot</cstring> </property> <property> <name>toolTip</name> <string>Change slot name</string> </property> <property> <name>whatsThis</name> <string><b>Change the name of the selected slot.</b><p>An argument list should be provided in the signal's name, and the name has to be unique.</p></string> </property> </widget> <widget row="2" column="2" > <class>QLabel</class> <property stdset="1"> <name>name</name> <cstring>TextLabel3</cstring> </property> <property stdset="1"> <name>text</name> <string>&Access:</string> </property> <property> <name>buddy</name> <cstring>comboAccess</cstring> </property> </widget> <widget row="2" column="3" > <class>QComboBox</class> <item> <property> <name>text</name> <string>public</string> </property> </item> <item> <property> <name>text</name> <string>protected</string> </property> </item> <property stdset="1"> <name>name</name> <cstring>comboAccess</cstring> </property> <property> <name>toolTip</name> <string>Change slot access</string> </property> <property> <name>whatsThis</name> <string><b>Change the access policy of the slot.</b><p>You can only connect to public slots of the widget.</p></string> </property> </widget> <widget row="1" column="0" rowspan="1" colspan="4" > <class>QLayoutWidget</class> <property stdset="1"> <name>name</name> <cstring>Layout7</cstring> </property> <hbox> <property stdset="1"> <name>margin</name> <number>0</number> </property> <property stdset="1"> <name>spacing</name> <number>6</number> </property> <spacer> <property> <name>name</name> <cstring>Spacer2</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>buttonAddSlot</cstring> </property> <property stdset="1"> <name>text</name> <string>N&ew Slot</string> </property> <property stdset="1"> <name>autoDefault</name> <bool>true</bool> </property> <property> <name>toolTip</name> <string>Add new slot</string> </property> <property> <name>whatsThis</name> <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 has to be unique.</p></string> </property> </widget> <widget> <class>QPushButton</class> <property stdset="1"> <name>name</name> <cstring>buttonRemoveSlot</cstring> </property> <property stdset="1"> <name>text</name> <string>Dele&te Slot</string> </property> <property stdset="1"> <name>autoDefault</name> <bool>true</bool> </property> <property> <name>toolTip</name> <string>Delete slot</string> </property> <property> <name>whatsThis</name> <string><b>Delete the slot.</b><p>All connections using this slot will be deleted, too.</p></string> </property> </widget> </hbox> </widget> </grid> </widget> <widget> <class>QWidget</class> <property stdset="1"> <name>name</name> <cstring>Widget5</cstring> </property> <attribute> <name>title</name> <string>&Properties</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="1" column="0" rowspan="1" colspan="4" > <class>QLayoutWidget</class> <property stdset="1"> <name>name</name> <cstring>Layout7_2</cstring> </property> <hbox> <property stdset="1"> <name>margin</name> <number>0</number> </property> <property stdset="1"> <name>spacing</name> <number>6</number> </property> <spacer> <property> <name>name</name> <cstring>Spacer2_2</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>buttonAddProperty</cstring> </property> <property stdset="1"> <name>text</name> <string>N&ew Property</string> </property> <property stdset="1"> <name>autoDefault</name> <bool>true</bool> </property>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -