📄 customwidgeteditor.ui
字号:
</property> <property name="spacing"> <number>6</number> </property> <widget class="QLineEdit"> <property name="name"> <cstring>editHeader</cstring> </property> <property name="toolTip" stdset="0"> <string>Enter filename</string> </property> <property name="whatsThis" stdset="0"> <string><b>Change the header file's name for the selected custom widget.</b><p>The header file will be included by forms using the widget.</p></string> </property> </widget> <widget class="QPushButton"> <property name="name"> <cstring>buttonChooseHeader</cstring> </property> <property name="maximumSize"> <size> <width>30</width> <height>22</height> </size> </property> <property name="text"> <string>...</string> </property> <property name="toolTip" stdset="0"> <string>Choose headerfile</string> </property> <property name="whatsThis" stdset="0"> <string>Look for the header file using a filedialog.</string> </property> </widget> <widget class="QComboBox"> <item> <property name="text"> <string>Global</string> </property> </item> <item> <property name="text"> <string>Local</string> </property> </item> <property name="name"> <cstring>localGlobalCombo</cstring> </property> <property name="toolTip" stdset="0"> <string>Select access</string> </property> <property name="whatsThis" stdset="0"> <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 class="QLineEdit" row="0" column="1" rowspan="1" colspan="2"> <property name="name"> <cstring>editClass</cstring> </property> <property name="toolTip" stdset="0"> <string>Change classname</string> </property> <property name="whatsThis" stdset="0"> <string><b>Enter the classname for the selected custom widget.</b><p>A class of that name must be defined in the header file.</p></string> </property> </widget> <widget class="QLabel" row="1" column="0"> <property name="name"> <cstring>Label11</cstring> </property> <property name="text"> <string>Heade&rfile:</string> </property> <property name="buddy" stdset="0"> <cstring>editHeader</cstring> </property> </widget> <widget class="QLabel" row="0" column="0"> <property name="name"> <cstring>Label10</cstring> </property> <property name="text"> <string>Cl&ass:</string> </property> <property name="buddy" stdset="0"> <cstring>editClass</cstring> </property> </widget> <widget class="QLabel" row="2" column="0"> <property name="name"> <cstring>Label2</cstring> </property> <property name="text"> <string>Pixmap:</string> </property> </widget> <widget class="QLabel" row="3" column="0"> <property name="name"> <cstring>Label7</cstring> </property> <property name="text"> <string>Si&ze Hint:</string> </property> <property name="buddy" stdset="0"> <cstring>spinWidth</cstring> </property> </widget> <widget class="QLabel" row="4" column="0"> <property name="name"> <cstring>TextLabel1_2</cstring> </property> <property name="text"> <string>Size P&olicy</string> </property> <property name="buddy" stdset="0"> <cstring>sizeHor</cstring> </property> </widget> <widget class="QComboBox" row="4" column="2"> <item> <property name="text"> <string>Fixed</string> </property> </item> <item> <property name="text"> <string>Minimum</string> </property> </item> <item> <property name="text"> <string>Maximum</string> </property> </item> <item> <property name="text"> <string>Preferred</string> </property> </item> <item> <property name="text"> <string>MinimumExpanding</string> </property> </item> <item> <property name="text"> <string>Expanding</string> </property> </item> <property name="name"> <cstring>sizeVer</cstring> </property> <property name="toolTip" stdset="0"> <string>Horizontal Sizepolicy</string> </property> <property name="whatsThis" stdset="0"> <string>Choose the horizontal size policy</string> </property> </widget> <widget class="QSpinBox" row="3" column="1"> <property name="name"> <cstring>spinWidth</cstring> </property> <property name="maxValue"> <number>32767</number> </property> <property name="minValue"> <number>-1</number> </property> <property name="value"> <number>-1</number> </property> <property name="toolTip" stdset="0"> <string>Size hint width</string> </property> <property name="whatsThis" stdset="0"> <string><b>Set the size hint for the selected widget.</b><p>The size hint provides the recommended size for the widget. Enter a sizehint of -1/-1 if no size is recommended.</p></string> </property> </widget> <widget class="QSpinBox" row="3" column="2"> <property name="name"> <cstring>spinHeight</cstring> </property> <property name="maxValue"> <number>32767</number> </property> <property name="minValue"> <number>-1</number> </property> <property name="value"> <number>-1</number> </property> <property name="toolTip" stdset="0"> <string>Size hint height</string> </property> <property name="whatsThis" stdset="0"> <string><b>Set the size hint for the selected widget.</b><p>The size hint provides the recommended size for the widget. Enter a sizehint of -1/-1 if no size is recommended.</p></string> </property> </widget> <widget class="QComboBox" row="4" column="1"> <item> <property name="text"> <string>Fixed</string> </property> </item> <item> <property name="text"> <string>Minimum</string> </property> </item> <item> <property name="text"> <string>Maximum</string> </property> </item> <item> <property name="text"> <string>Preferred</string> </property> </item> <item> <property name="text"> <string>MinimumExpanding</string> </property> </item> <item> <property name="text"> <string>Expanding</string> </property> </item> <property name="name"> <cstring>sizeHor</cstring> </property> <property name="toolTip" stdset="0"> <string>Vertical Sizepolicy</string> </property> <property name="whatsThis" stdset="0"> <string>Choose the verical size policy for the widget</string> </property> </widget> <spacer row="6" column="2"> <property name="name"> <cstring>Spacer1</cstring> </property> <property name="orientation"> <enum>Vertical</enum> </property> <property name="sizeType"> <enum>Expanding</enum> </property> <property name="sizeHint"> <size> <width>20</width> <height>20</height> </size> </property> </spacer> <widget class="QCheckBox" row="5" column="1"> <property name="name"> <cstring>checkContainer</cstring> </property> <property name="text"> <string>Con&tainer Widget</string> </property> <property name="toolTip" stdset="0"> <string>Container Widget</string> </property>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -