📄 formsettings.ui
字号:
</property> <property name="buddy" stdset="0"> <cstring>spinSpacing</cstring> </property> </widget> <widget class="QCheckBox" row="2" column="0" rowspan="1" colspan="2"> <property name="name"> <cstring>checkLayoutFunctions</cstring> </property> <property name="text"> <string>Use Func&tions:</string> </property> <property name="toolTip" stdset="0"> <string>Use functions to get the margin and spacing</string> </property> <property name="whatsThis" stdset="0"> <string><b>Use a given function for margin and/or spacing</b><p>If you choose this option you must define functions in the line edit below which will be used in the generated code for getting the margin and spacing value. <i>Qt Designer</i> can't preview the correct margin or spacing if you use your own function. Instead, the default values will be used for preview.</string> </property> </widget> <widget class="QSpinBox" row="1" column="2"> <property name="name"> <cstring>spinSpacing</cstring> </property> <property name="value"> <number>6</number> </property> </widget> <spacer row="1" column="3"> <property name="name"> <cstring>Spacer4</cstring> </property> <property name="orientation"> <enum>Horizontal</enum> </property> <property name="sizeType"> <enum>Expanding</enum> </property> </spacer> <widget class="QLabel" row="0" column="0" rowspan="1" colspan="2"> <property name="name"> <cstring>TextLabel1_3</cstring> </property> <property name="text"> <string>Default Mar&gin:</string> </property> <property name="buddy" stdset="0"> <cstring>spinMargin</cstring> </property> </widget> <widget class="QLabel" row="4" column="0"> <property name="name"> <cstring>spaFuLabel</cstring> </property> <property name="enabled"> <bool>false</bool> </property> <property name="text"> <string>S&pacing:</string> </property> <property name="buddy" stdset="0"> <cstring>editSpacingFunction</cstring> </property> </widget> <widget class="QLabel" row="3" column="0"> <property name="name"> <cstring>marFuLabel</cstring> </property> <property name="enabled"> <bool>false</bool> </property> <property name="sizePolicy"> <sizepolicy> <hsizetype>5</hsizetype> <vsizetype>5</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text"> <string>Ma&rgin:</string> </property> <property name="buddy" stdset="0"> <cstring>editMarginFunction</cstring> </property> </widget> <spacer row="2" column="2" rowspan="1" colspan="2"> <property name="name"> <cstring>Spacer5</cstring> </property> <property name="orientation"> <enum>Horizontal</enum> </property> <property name="sizeType"> <enum>Expanding</enum> </property> </spacer> <widget class="QLineEdit" row="4" column="1" rowspan="1" colspan="3"> <property name="name"> <cstring>editSpacingFunction</cstring> </property> <property name="enabled"> <bool>false</bool> </property> <property name="toolTip" stdset="0"> <string>Specify spacing function (only the function's name, no parentheses!)</string> </property> <property name="whatsThis" stdset="0"> <string><b>Specify spacing function</b><p>Specify the function which should be used for getting the spacing in the generated code. <em>Only enter the function's name, with no parentheses.</em></string> </property> </widget> <widget class="QLineEdit" row="3" column="1" rowspan="1" colspan="3"> <property name="name"> <cstring>editMarginFunction</cstring> </property> <property name="enabled"> <bool>false</bool> </property> <property name="sizePolicy"> <sizepolicy> <hsizetype>5</hsizetype> <vsizetype>0</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="toolTip" stdset="0"> <string>Specify margin function (only the function's name, no parentheses!)</string> </property> <property name="whatsThis" stdset="0"> <string><b>Specify margin function</b><p>Specify the function which should be used for getting the margin in the generated code. <em>Only enter the function's name, with no parentheses.</em></string> </property> </widget> </grid> </widget> <widget class="QLayoutWidget" row="2" column="0" rowspan="1" colspan="2"> <property name="name"> <cstring>Layout4</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="QPushButton"> <property name="name"> <cstring>buttonHelp</cstring> </property> <property name="text"> <string>&Help</string> </property> <property name="autoDefault"> <bool>true</bool> </property> </widget> <spacer> <property name="name"> <cstring>Horizontal Spacing2</cstring> </property> <property name="orientation"> <enum>Horizontal</enum> </property> <property name="sizeType"> <enum>Expanding</enum> </property> </spacer> <widget class="QPushButton"> <property name="name"> <cstring>buttonOk</cstring> </property> <property name="text"> <string>&OK</string> </property> <property name="autoDefault"> <bool>true</bool> </property> <property name="default"> <bool>true</bool> </property> <property name="whatsThis" stdset="0"> <string>Close the dialog and apply all the changes.</string> </property> </widget> <widget class="QPushButton"> <property name="name"> <cstring>buttonCancel</cstring> </property> <property name="text"> <string>&Cancel</string> </property> <property name="autoDefault"> <bool>true</bool> </property> <property name="whatsThis" stdset="0"> <string>Close the dialog and discard any changes.</string> </property> </widget> </hbox> </widget> </grid></widget><connections> <connection> <sender>buttonCancel</sender> <signal>clicked()</signal> <receiver>FormSettingsBase</receiver> <slot>reject()</slot> </connection> <connection> <sender>buttonOk</sender> <signal>clicked()</signal> <receiver>FormSettingsBase</receiver> <slot>okClicked()</slot> </connection> <connection> <sender>radioPixmapFunction</sender> <signal>toggled(bool)</signal> <receiver>editPixmapFunction</receiver> <slot>setEnabled(bool)</slot> </connection> <connection> <sender>checkLayoutFunctions</sender> <signal>toggled(bool)</signal> <receiver>editSpacingFunction</receiver> <slot>setEnabled(bool)</slot> </connection> <connection> <sender>checkLayoutFunctions</sender> <signal>toggled(bool)</signal> <receiver>editMarginFunction</receiver> <slot>setEnabled(bool)</slot> </connection> <connection> <sender>checkLayoutFunctions</sender> <signal>toggled(bool)</signal> <receiver>marFuLabel</receiver> <slot>setEnabled(bool)</slot> </connection> <connection> <sender>checkLayoutFunctions</sender> <signal>toggled(bool)</signal> <receiver>spaFuLabel</receiver> <slot>setEnabled(bool)</slot> </connection></connections><tabstops> <tabstop>editClassName</tabstop> <tabstop>editComment</tabstop> <tabstop>editAuthor</tabstop> <tabstop>radioPixmapInline</tabstop> <tabstop>radioPixmapFunction</tabstop> <tabstop>editPixmapFunction</tabstop> <tabstop>radioProjectImageFile</tabstop> <tabstop>spinMargin</tabstop> <tabstop>spinSpacing</tabstop> <tabstop>checkLayoutFunctions</tabstop> <tabstop>editMarginFunction</tabstop> <tabstop>editSpacingFunction</tabstop> <tabstop>buttonOk</tabstop> <tabstop>buttonCancel</tabstop> <tabstop>buttonHelp</tabstop></tabstops><slots> <slot>okClicked()</slot></slots><layoutdefaults spacing="6" margin="11"/></UI>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -