📄 customwidgeteditor.ui
字号:
<property name="whatsThis" stdset="0"> <string><p><b>Container Widget</b></p><p>If this custom widget is able to contain other widgets (children), check this checkbox.</p></string> </property> </widget> </grid> </widget> <widget class="QWidget"> <property name="name"> <cstring>Widget3</cstring> </property> <attribute name="title"> <string>Si&gnals</string> </attribute> <vbox> <property name="name"> <cstring>unnamed</cstring> </property> <property name="margin"> <number>11</number> </property> <property name="spacing"> <number>6</number> </property> <widget class="QListBox"> <property name="name"> <cstring>listSignals</cstring> </property> <property name="whatsThis" stdset="0"> <string>The list of all the signals that the selected widget can emit.</string> </property> </widget> <widget class="QLayoutWidget"> <property name="name"> <cstring>Layout40</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>Spacer1_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>buttonAddSignal</cstring> </property> <property name="text"> <string>N&ew Signal</string> </property> <property name="autoDefault"> <bool>true</bool> </property> <property name="toolTip" stdset="0"> <string>Add new signal</string> </property> <property name="whatsThis" stdset="0"> <string><b>Add a new signal for 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>buttonRemoveSignal</cstring> </property> <property name="text"> <string>Dele&te Signal</string> </property> <property name="autoDefault"> <bool>true</bool> </property> <property name="toolTip" stdset="0"> <string>Delete signal</string> </property> <property name="whatsThis" stdset="0"> <string><b>Delete the signal.</b><p>All connections using this signal will also be deleted.</p></string> </property> </widget> </hbox> </widget> <widget class="QLayoutWidget"> <property name="name"> <cstring>Layout38</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>TextLabel1</cstring> </property> <property name="text"> <string>S&ignal:</string> </property> <property name="buddy" stdset="0"> <cstring>editSignal</cstring> </property> </widget> <widget class="QLineEdit"> <property name="name"> <cstring>editSignal</cstring> </property> <property name="toolTip" stdset="0"> <string>Change signal name</string> </property> <property name="whatsThis" stdset="0"> <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 must be unique.</p></string> </property> </widget> </hbox> </widget> </vbox> </widget> <widget class="QWidget"> <property name="name"> <cstring>Widget4</cstring> </property> <attribute name="title"> <string>S&lots</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="QListView" row="0" column="0" rowspan="1" colspan="4"> <column> <property name="text"> <string>Slot</string> </property> <property name="clickable"> <bool>true</bool> </property> <property name="resizeable"> <bool>true</bool> </property> </column> <column> <property name="text"> <string>Access</string> </property> <property name="clickable"> <bool>true</bool> </property> <property name="resizeable"> <bool>true</bool> </property> </column> <property name="name"> <cstring>listSlots</cstring> </property> <property name="allColumnsShowFocus"> <bool>true</bool> </property> <property name="showSortIndicator"> <bool>true</bool> </property> <property name="whatsThis" stdset="0"> <string>The list of all the custom widget's slots.</string> </property> </widget> <widget class="QLabel" row="2" column="0"> <property name="name"> <cstring>TextLabel2</cstring> </property> <property name="text"> <string>Sl&ot:</string> </property> <property name="buddy" stdset="0"> <cstring>editSlot</cstring> </property> </widget> <widget class="QLineEdit" row="2" column="1"> <property name="name"> <cstring>editSlot</cstring> </property> <property name="toolTip" stdset="0"> <string>Change slot name</string> </property> <property name="whatsThis" stdset="0"> <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 must be unique.</p></string> </property> </widget> <widget class="QLabel" row="2" column="2"> <property name="name"> <cstring>TextLabel3</cstring> </property> <property name="text"> <string>&Access:</string> </property> <property name="buddy" stdset="0"> <cstring>comboAccess</cstring> </property> </widget> <widget class="QComboBox" row="2" column="3"> <item> <property name="text"> <string>public</string> </property> </item> <item> <property name="text"> <string>protected</string> </property> </item> <property name="name"> <cstring>comboAccess</cstring> </property> <property name="toolTip" stdset="0"> <string>Change slot access</string> </property> <property name="whatsThis" stdset="0"> <string><b>Change the slot's access policy.</b><p>You can only connect to the widget's public slots.</p></string> </property> </widget> <widget class="QLayoutWidget" row="1" column="0" rowspan="1" colspan="4"> <property name="name"> <cstring>Layout7</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</cstring> </property> <property name="orientation"> <enum>Horizontal</enum> </property> <property name="sizeType"> <enum>Expanding</enum> </property>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -