📄 customwidgeteditor.ui
字号:
</property> <property stdset="1"> <name>value</name> <number>-1</number> </property> <property> <name>toolTip</name> <string>Size hint height</string> </property> <property> <name>whatsThis</name> <string><b>Set the sizehint for the selected widget.</b><p>The sizehint provides the recommended size for the widget. Enter a sizehint of -1/-1 if no size is recommended.</p></string> </property> </widget> <widget row="4" column="1" > <class>QComboBox</class> <item> <property> <name>text</name> <string>Fixed</string> </property> </item> <item> <property> <name>text</name> <string>Minimum</string> </property> </item> <item> <property> <name>text</name> <string>Maximum</string> </property> </item> <item> <property> <name>text</name> <string>Preferred</string> </property> </item> <item> <property> <name>text</name> <string>MinimumExpanding</string> </property> </item> <item> <property> <name>text</name> <string>Expanding</string> </property> </item> <property stdset="1"> <name>name</name> <cstring>sizeHor</cstring> </property> <property> <name>toolTip</name> <string>Vertical Sizepolicy</string> </property> <property> <name>whatsThis</name> <string>Choose the verical sizepolicy for the widget here</string> </property> </widget> <spacer row="6" column="2" > <property> <name>name</name> <cstring>Spacer1</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="5" column="1" > <class>QCheckBox</class> <property stdset="1"> <name>name</name> <cstring>checkContainer</cstring> </property> <property stdset="1"> <name>text</name> <string>Container Wid&get</string> </property> <property> <name>toolTip</name> <string>Container Widget</string> </property> <property> <name>whatsThis</name> <string><p><b>Container Widget</b></p><p>If this customwidget should be able to contain other widgets (children), check this checkbox.</p></string> </property> </widget> </grid> </widget> <widget> <class>QWidget</class> <property stdset="1"> <name>name</name> <cstring>Widget3</cstring> </property> <attribute> <name>title</name> <string>&Signals</string> </attribute> <vbox> <property stdset="1"> <name>margin</name> <number>11</number> </property> <property stdset="1"> <name>spacing</name> <number>6</number> </property> <widget> <class>QListBox</class> <property stdset="1"> <name>name</name> <cstring>listSignals</cstring> </property> <property> <name>whatsThis</name> <string>The list of all signals the selected widget can emit.</string> </property> </widget> <widget> <class>QLayoutWidget</class> <property stdset="1"> <name>name</name> <cstring>Layout40</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>Spacer1_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>buttonAddSignal</cstring> </property> <property stdset="1"> <name>text</name> <string>N&ew Signal</string> </property> <property stdset="1"> <name>autoDefault</name> <bool>true</bool> </property> <property> <name>toolTip</name> <string>Add new signal</string> </property> <property> <name>whatsThis</name> <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 has to be unique.</p></string> </property> </widget> <widget> <class>QPushButton</class> <property stdset="1"> <name>name</name> <cstring>buttonRemoveSignal</cstring> </property> <property stdset="1"> <name>text</name> <string>De&lete Signal</string> </property> <property stdset="1"> <name>autoDefault</name> <bool>true</bool> </property> <property> <name>toolTip</name> <string>Delete signal</string> </property> <property> <name>whatsThis</name> <string><b>Delete the signal.</b><p>All connections using this signal will be deleted, too.</p></string> </property> </widget> </hbox> </widget> <widget> <class>QLayoutWidget</class> <property stdset="1"> <name>name</name> <cstring>Layout38</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>TextLabel1</cstring> </property> <property stdset="1"> <name>text</name> <string>S&ignal:</string> </property> <property> <name>buddy</name> <cstring>editSignal</cstring> </property> </widget> <widget> <class>QLineEdit</class> <property stdset="1"> <name>name</name> <cstring>editSignal</cstring> </property> <property> <name>toolTip</name> <string>Change signal 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> </hbox> </widget> </vbox> </widget> <widget> <class>QWidget</class> <property stdset="1"> <name>name</name> <cstring>Widget4</cstring> </property> <attribute> <name>title</name> <string>S&lots</string> </attribute> <grid>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -