📄 convertdialog.ui
字号:
<ui version="4.0" > <author></author> <comment></comment> <exportmacro></exportmacro> <class>ConvertDialog</class> <widget class="QDialog" name="ConvertDialog" > <property name="windowTitle" > <string>Image Converter</string> </property> <layout class="QGridLayout" > <item row="0" column="0" > <widget class="QLabel" name="sourceFileLabel" > <property name="sizePolicy" > <sizepolicy> <hsizetype>0</hsizetype> <vsizetype>5</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="frameShape" > <enum>QFrame::NoFrame</enum> </property> <property name="frameShadow" > <enum>QFrame::Plain</enum> </property> <property name="text" > <string>&Source File:</string> </property> <property name="buddy" > <cstring>sourceFileEdit</cstring> </property> </widget> </item> <item row="1" column="0" > <widget class="QLabel" name="targetFormatLabel" > <property name="sizePolicy" > <sizepolicy> <hsizetype>0</hsizetype> <vsizetype>5</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text" > <string>&Target Format:</string> </property> <property name="buddy" > <cstring>targetFormatComboBox</cstring> </property> </widget> </item> <item row="0" column="1" colspan="2" > <widget class="QLineEdit" name="sourceFileEdit" /> </item> <item row="1" column="1" > <widget class="QComboBox" name="targetFormatComboBox" > <property name="sizePolicy" > <sizepolicy> <hsizetype>0</hsizetype> <vsizetype>0</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <item> <property name="text" > <string>BMP</string> </property> </item> <item> <property name="text" > <string>EPS</string> </property> </item> <item> <property name="text" > <string>GIF</string> </property> </item> <item> <property name="text" > <string>JPEG</string> </property> </item> <item> <property name="text" > <string>PNG</string> </property> </item> <item> <property name="text" > <string>TIFF</string> </property> </item> </widget> </item> <item row="1" column="2" colspan="2" > <spacer> <property name="orientation" > <enum>Qt::Horizontal</enum> </property> <property name="sizeType" > <enum>QSizePolicy::Expanding</enum> </property> <property name="sizeHint" > <size> <width>20</width> <height>20</height> </size> </property> </spacer> </item> <item row="0" column="3" > <widget class="QPushButton" name="browseButton" > <property name="sizePolicy" > <sizepolicy> <hsizetype>0</hsizetype> <vsizetype>0</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text" > <string>&Browse</string> </property> <property name="shortcut" > <string>Alt+B</string> </property> </widget> </item> <item row="4" column="0" colspan="4" > <layout class="QHBoxLayout" > <item> <spacer> <property name="orientation" > <enum>Qt::Horizontal</enum> </property> <property name="sizeType" > <enum>QSizePolicy::Expanding</enum> </property> <property name="sizeHint" > <size> <width>20</width> <height>20</height> </size> </property> </spacer> </item> <item> <widget class="QPushButton" name="convertButton" > <property name="text" > <string>&Convert</string> </property> <property name="shortcut" > <string>Alt+C</string> </property> <property name="default" > <bool>true</bool> </property> </widget> </item> <item> <widget class="QPushButton" name="quitButton" > <property name="text" > <string>&Quit</string> </property> <property name="shortcut" > <string>Alt+Q</string> </property> </widget> </item> </layout> </item> <item row="2" column="0" colspan="4" > <widget class="QGroupBox" name="optionsGroupBox" > <property name="title" > <string>Options</string> </property> <layout class="QHBoxLayout" > <item> <widget class="QCheckBox" name="enhanceCheckBox" > <property name="text" > <string>&Enhance</string> </property> <property name="shortcut" > <string>Alt+E</string> </property> </widget> </item> <item> <widget class="QCheckBox" name="monochromeCheckBox" > <property name="text" > <string>&Monochrome</string> </property> <property name="shortcut" > <string>Alt+M</string> </property> </widget> </item> </layout> </widget> </item> <item row="3" column="0" colspan="4" > <widget class="QTextEdit" name="outputTextEdit" > <property name="readOnly" > <bool>true</bool> </property> </widget> </item> </layout> </widget> <pixmapfunction></pixmapfunction> <tabstops> <tabstop>sourceFileEdit</tabstop> <tabstop>browseButton</tabstop> <tabstop>targetFormatComboBox</tabstop> <tabstop>enhanceCheckBox</tabstop> <tabstop>monochromeCheckBox</tabstop> <tabstop>outputTextEdit</tabstop> <tabstop>convertButton</tabstop> <tabstop>quitButton</tabstop> </tabstops> <resources/> <connections> <connection> <sender>quitButton</sender> <signal>clicked()</signal> <receiver>ConvertDialog</receiver> <slot>accept()</slot> <hints> <hint type="sourcelabel" > <x>392</x> <y>332</y> </hint> <hint type="destinationlabel" > <x>395</x> <y>356</y> </hint> </hints> </connection> </connections></ui>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -