📄 editorconfigdialog.ui
字号:
<ui version="4.0" > <class>EditorConfigDialog</class> <widget class="QDialog" name="EditorConfigDialog" > <property name="geometry" > <rect> <x>0</x> <y>0</y> <width>360</width> <height>319</height> </rect> </property> <property name="windowTitle" > <string>Configure Editor</string> </property> <layout class="QVBoxLayout" name="verticalLayout" > <item> <widget class="QTabWidget" name="tabWidget" > <property name="currentIndex" > <number>1</number> </property> <widget class="QWidget" name="tab" > <attribute name="title" > <string>Display</string> </attribute> <layout class="QVBoxLayout" name="verticalLayout_4" > <item> <widget class="QGroupBox" name="groupBox" > <property name="title" > <string>Default Font</string> </property> <layout class="QVBoxLayout" name="verticalLayout_3" > <item> <layout class="QHBoxLayout" name="horizontalLayout_3" > <item> <widget class="QLabel" name="label" > <property name="text" > <string>Family</string> </property> </widget> </item> <item> <spacer name="horizontalSpacer_2" > <property name="orientation" > <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0" > <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> <item> <widget class="QFontComboBox" name="fontFamilyCombo_" /> </item> </layout> </item> <item> <layout class="QHBoxLayout" name="horizontalLayout_4" > <item> <widget class="QLabel" name="label_3" > <property name="text" > <string>Size</string> </property> </widget> </item> <item> <spacer name="horizontalSpacer_3" > <property name="orientation" > <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0" > <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> <item> <widget class="QSpinBox" name="fontSizeSpin_" /> </item> </layout> </item> <item> <layout class="QHBoxLayout" name="horizontalLayout_2" > <item> <widget class="QCheckBox" name="fontBoldCheck_" > <property name="text" > <string>Bold</string> </property> </widget> </item> <item> <widget class="QCheckBox" name="fontItalicCheck_" > <property name="text" > <string>Italic</string> </property> </widget> </item> </layout> </item> </layout> </widget> </item> <item> <widget class="QCheckBox" name="hlCurLineCheck_" > <property name="text" > <string>Highlight current line</string> </property> </widget> </item> <item> <spacer name="verticalSpacer_2" > <property name="orientation" > <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0" > <size> <width>20</width> <height>41</height> </size> </property> </spacer> </item> </layout> </widget> <widget class="QWidget" name="tab_2" > <attribute name="title" > <string>Indentation</string> </attribute> <layout class="QVBoxLayout" name="verticalLayout_2" > <item> <widget class="QCheckBox" name="indentTabsCheck_" > <property name="text" > <string>Indent with tabs</string> </property> </widget> </item> <item> <widget class="QWidget" native="1" name="widget" > <layout class="QHBoxLayout" name="horizontalLayout" > <item> <widget class="QLabel" name="label_2" > <property name="text" > <string>Tab Width</string> </property> </widget> </item> <item> <spacer name="horizontalSpacer" > <property name="orientation" > <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0" > <size> <width>173</width> <height>20</height> </size> </property> </spacer> </item> <item> <widget class="QSpinBox" name="tabWidthSpin_" /> </item> </layout> </widget> </item> <item> <spacer name="verticalSpacer" > <property name="orientation" > <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0" > <size> <width>20</width> <height>132</height> </size> </property> </spacer> </item> </layout> </widget> </widget> </item> <item> <widget class="QDialogButtonBox" name="buttonBox" > <property name="orientation" > <enum>Qt::Horizontal</enum> </property> <property name="standardButtons" > <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> </property> </widget> </item> </layout> </widget> <resources/> <connections> <connection> <sender>buttonBox</sender> <signal>accepted()</signal> <receiver>EditorConfigDialog</receiver> <slot>accept()</slot> <hints> <hint type="sourcelabel" > <x>227</x> <y>295</y> </hint> <hint type="destinationlabel" > <x>157</x> <y>274</y> </hint> </hints> </connection> <connection> <sender>buttonBox</sender> <signal>rejected()</signal> <receiver>EditorConfigDialog</receiver> <slot>reject()</slot> <hints> <hint type="sourcelabel" > <x>295</x> <y>301</y> </hint> <hint type="destinationlabel" > <x>286</x> <y>274</y> </hint> </hints> </connection> <connection> <sender>indentTabsCheck_</sender> <signal>toggled(bool)</signal> <receiver>widget</receiver> <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel" > <x>49</x> <y>59</y> </hint> <hint type="destinationlabel" > <x>166</x> <y>101</y> </hint> </hints> </connection> </connections></ui>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -