📄 customwidgeteditor.ui
字号:
<string>...</string> </property> <property stdset="1"> <name>maximumSize</name> <size> <width>30</width> <height>22</height> </size> </property> <property> <name>toolTip</name> <string>Select a Pixmap</string> </property> <property> <name>whatsThis</name> <string><b>Select a pixmap-file.</b><p>The pixmap will be used to represent the widget in forms.</b></string> </property> </widget> </hbox> </widget> <widget row="1" column="1" rowspan="1" colspan="2" > <class>QLayoutWidget</class> <property stdset="1"> <name>name</name> <cstring>Layout5</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>QLineEdit</class> <property stdset="1"> <name>name</name> <cstring>editHeader</cstring> </property> <property> <name>toolTip</name> <string>Enter filename</string> </property> <property> <name>whatsThis</name> <string><b>Change the headerfile's name for the selected custom widget.</b><p>The headerfile will be included by forms using the widget.</p></string> </property> </widget> <widget> <class>QPushButton</class> <property stdset="1"> <name>name</name> <cstring>buttonChooseHeader</cstring> </property> <property stdset="1"> <name>text</name> <string>...</string> </property> <property stdset="1"> <name>maximumSize</name> <size> <width>30</width> <height>22</height> </size> </property> <property> <name>toolTip</name> <string>Choose headerfile</string> </property> <property> <name>whatsThis</name> <string>Look for the headerfile in a filedialog.</string> </property> </widget> <widget> <class>QComboBox</class> <item> <property> <name>text</name> <string>Global</string> </property> </item> <item> <property> <name>text</name> <string>Local</string> </property> </item> <property stdset="1"> <name>name</name> <cstring>localGlobalCombo</cstring> </property> <property> <name>toolTip</name> <string>Select access</string> </property> <property> <name>whatsThis</name> <string><b>Change how the include file will be included.</b><p>Global include-files will be included using &lt;&gt;-brackets, while local files will included using quotation marks.</p></string> </property> </widget> </hbox> </widget> <widget row="0" column="1" rowspan="1" colspan="2" > <class>QLineEdit</class> <property stdset="1"> <name>name</name> <cstring>editClass</cstring> </property> <property> <name>toolTip</name> <string>Change classname</string> </property> <property> <name>whatsThis</name> <string><b>Enter the classname for the selected customwidget.</b><p>A class of that name has to be defined in the headerfile.</p></string> </property> </widget> <widget row="1" column="0" > <class>QLabel</class> <property stdset="1"> <name>name</name> <cstring>Label11</cstring> </property> <property stdset="1"> <name>text</name> <string>Heade&rfile:</string> </property> <property> <name>buddy</name> <cstring>editHeader</cstring> </property> </widget> <widget row="0" column="0" > <class>QLabel</class> <property stdset="1"> <name>name</name> <cstring>Label10</cstring> </property> <property stdset="1"> <name>text</name> <string>Cl&ass:</string> </property> <property> <name>buddy</name> <cstring>editClass</cstring> </property> </widget> <widget row="2" column="0" > <class>QLabel</class> <property stdset="1"> <name>name</name> <cstring>Label2</cstring> </property> <property stdset="1"> <name>text</name> <string>Pixmap:</string> </property> </widget> <widget row="3" column="0" > <class>QLabel</class> <property stdset="1"> <name>name</name> <cstring>Label7</cstring> </property> <property stdset="1"> <name>text</name> <string>S&ize Hint:</string> </property> <property> <name>buddy</name> <cstring>spinWidth</cstring> </property> </widget> <widget row="4" column="0" > <class>QLabel</class> <property stdset="1"> <name>name</name> <cstring>TextLabel1_2</cstring> </property> <property stdset="1"> <name>text</name> <string>Size &Policy</string> </property> <property> <name>buddy</name> <cstring>sizeHor</cstring> </property> </widget> <widget row="4" column="2" > <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>sizeVer</cstring> </property> <property> <name>toolTip</name> <string>Horizontal Sizepolicy</string> </property> <property> <name>whatsThis</name> <string>Choose the horizontal sizepolicy here</string> </property> </widget> <widget row="3" column="1" > <class>QSpinBox</class> <property stdset="1"> <name>name</name> <cstring>spinWidth</cstring> </property> <property stdset="1"> <name>minValue</name> <number>-1</number> </property> <property stdset="1"> <name>maxValue</name> <number>32767</number> </property> <property stdset="1"> <name>value</name> <number>-1</number> </property> <property> <name>toolTip</name> <string>Size hint width</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="3" column="2" > <class>QSpinBox</class> <property stdset="1"> <name>name</name> <cstring>spinHeight</cstring> </property> <property stdset="1"> <name>maxValue</name> <number>32767</number> </property> <property stdset="1"> <name>minValue</name> <number>-1</number>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -