?? resizedialog.ui
字號:
<!DOCTYPE UI><UI version="3.2" stdsetdef="1"><class>ResizeDialog</class><widget class="QDialog"> <property name="name"> <cstring>ResizeDialog</cstring> </property> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>201</width> <height>108</height> </rect> </property> <property name="caption"> <string>Image Pro</string> </property> <vbox> <property name="name"> <cstring>unnamed</cstring> </property> <property name="resizeMode"> <enum>Fixed</enum> </property> <widget class="QLabel"> <property name="name"> <cstring>mainLabel</cstring> </property> <property name="text"> <string>Enter new size:</string> </property> </widget> <widget class="QLayoutWidget"> <property name="name"> <cstring>sizeLayout</cstring> </property> <hbox> <property name="name"> <cstring>unnamed</cstring> </property> <widget class="QSpinBox"> <property name="name"> <cstring>widthSpinBox</cstring> </property> <property name="sizePolicy"> <sizepolicy> <hsizetype>3</hsizetype> <vsizetype>0</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="maxValue"> <number>10000</number> </property> </widget> <widget class="QLabel"> <property name="name"> <cstring>xLabel</cstring> </property> <property name="text"> <string>x</string> </property> <property name="alignment"> <set>AlignCenter</set> </property> </widget> <widget class="QSpinBox"> <property name="name"> <cstring>heightSpinBox</cstring> </property> <property name="sizePolicy"> <sizepolicy> <hsizetype>3</hsizetype> <vsizetype>0</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="maxValue"> <number>10000</number> </property> </widget> </hbox> </widget> <widget class="QLayoutWidget"> <property name="name"> <cstring>buttonLayout</cstring> </property> <hbox> <property name="name"> <cstring>unnamed</cstring> </property> <spacer> <property name="name"> <cstring>spacer1</cstring> </property> <property name="orientation"> <enum>Horizontal</enum> </property> <property name="sizeType"> <enum>Expanding</enum> </property> <property name="sizeHint"> <size> <width>0</width> <height>21</height> </size> </property> </spacer> <widget class="QPushButton"> <property name="name"> <cstring>okButton</cstring> </property> <property name="text"> <string>OK</string> </property> <property name="default"> <bool>true</bool> </property> </widget> <widget class="QPushButton"> <property name="name"> <cstring>cancelButton</cstring> </property> <property name="text"> <string>Cancel</string> </property> </widget> </hbox> </widget> </vbox></widget><connections> <connection> <sender>okButton</sender> <signal>clicked()</signal> <receiver>ResizeDialog</receiver> <slot>accept()</slot> </connection> <connection> <sender>cancelButton</sender> <signal>clicked()</signal> <receiver>ResizeDialog</receiver> <slot>reject()</slot> </connection></connections><layoutdefaults spacing="6" margin="11"/></UI>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -