?? options.ui
字號:
</property> <property name="bottomMargin" > <number>0</number> </property> <item> <widget class="QToolButton" name="text" > <property name="text" > <string>...</string> </property> </widget> </item> <item> <spacer> <property name="orientation" > <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" > <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> </layout> </item> </layout> </item> </layout> </item> </layout> </widget> <widget class="QWidget" name="tab" > <attribute name="title" > <string>Syntax highlighting</string> </attribute> <layout class="QGridLayout" > <property name="leftMargin" > <number>9</number> </property> <property name="topMargin" > <number>9</number> </property> <property name="rightMargin" > <number>9</number> </property> <property name="bottomMargin" > <number>9</number> </property> <property name="horizontalSpacing" > <number>6</number> </property> <property name="verticalSpacing" > <number>6</number> </property> <item row="1" column="1" > <spacer> <property name="orientation" > <enum>Qt::Vertical</enum> </property> <property name="sizeHint" > <size> <width>20</width> <height>40</height> </size> </property> </spacer> </item> <item row="0" column="1" > <layout class="QHBoxLayout" > <property name="spacing" > <number>6</number> </property> <property name="leftMargin" > <number>0</number> </property> <property name="topMargin" > <number>0</number> </property> <property name="rightMargin" > <number>0</number> </property> <property name="bottomMargin" > <number>0</number> </property> <item> <layout class="QVBoxLayout" > <property name="spacing" > <number>6</number> </property> <property name="leftMargin" > <number>0</number> </property> <property name="topMargin" > <number>0</number> </property> <property name="rightMargin" > <number>0</number> </property> <property name="bottomMargin" > <number>0</number> </property> <item> <widget class="QLabel" name="label_9" > <property name="text" > <string>Function/method names :</string> </property> </widget> </item> <item> <widget class="QLabel" name="label_4" > <property name="text" > <string>Preprocessor :</string> </property> </widget> </item> <item> <widget class="QLabel" name="label_6" > <property name="text" > <string>Qt words :</string> </property> </widget> </item> <item> <widget class="QLabel" name="label_10" > <property name="text" > <string>Keywords :</string> </property> </widget> </item> <item> <widget class="QLabel" name="label_5" > <property name="text" > <string>Single comments :</string> </property> </widget> </item> <item> <widget class="QLabel" name="label_7" > <property name="text" > <string>Multiline comments :</string> </property> </widget> </item> <item> <widget class="QLabel" name="label_8" > <property name="text" > <string>Quotation strings :</string> </property> </widget> </item> </layout> </item> <item> <layout class="QVBoxLayout" > <property name="spacing" > <number>6</number> </property> <property name="leftMargin" > <number>0</number> </property> <property name="topMargin" > <number>0</number> </property> <property name="rightMargin" > <number>0</number> </property> <property name="bottomMargin" > <number>0</number> </property> <item> <widget class="QToolButton" name="methods" > <property name="text" > <string>...</string> </property> </widget> </item> <item> <widget class="QToolButton" name="preprocessor" > <property name="text" > <string>...</string> </property> </widget> </item> <item> <widget class="QToolButton" name="qtWords" > <property name="text" > <string>...</string> </property> </widget> </item> <item> <widget class="QToolButton" name="keywords" > <property name="text" > <string>...</string> </property> </widget> </item> <item> <widget class="QToolButton" name="singleComment" > <property name="text" > <string>...</string> </property> </widget> </item> <item> <widget class="QToolButton" name="multilinesComment" > <property name="text" > <string>...</string> </property> </widget> </item> <item> <widget class="QToolButton" name="quotation" > <property name="text" > <string>...</string> </property> </widget> </item> </layout> </item> </layout> </item> <item rowspan="2" row="0" column="0" > <widget class="QTextEdit" name="textEdit" > <property name="font" > <font> <family>MS Shell Dlg 2</family> <pointsize>9</pointsize> <weight>50</weight> <italic>false</italic> <bold>false</bold> <underline>false</underline> <strikeout>false</strikeout> </font> </property> <property name="lineWrapMode" > <enum>QTextEdit::NoWrap</enum> </property> <property name="readOnly" > <bool>true</bool> </property> <property name="html" > <string><html><head><meta name="qrichtext" content="1" /><style type="text/css">p, li { white-space: pre-wrap; }</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:9pt; font-weight:400; font-style:normal;"><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS'; font-size:8pt;"><span style=" font-size:10pt;">/*</span></p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS'; font-size:10pt;">* Multi-line</p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS'; font-size:10pt;">* comments </p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS'; font-size:10pt;">*/</p><p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS'; font-size:10pt;"></p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS'; font-size:10pt;">#include &lt;QApplication&gt;</p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS'; font-size:10pt;">// Single line comments </p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS'; font-size:10pt;">int main(int argc, char *argv[])</p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS'; font-size:10pt;">{</p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS'; font-size:10pt;"> QApplication app(argc, argv);</p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS'; font-size:10pt;"> QString chaine = "between quotations";</p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS'; font-size:10pt;"> QDialog *main = new QDialog;</p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS'; font-size:10pt;"> main-&gt;show();</p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS'; font-size:10pt;"> return app.exec();</p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS'; font-size:10pt;">}</p></body></html></string> </property> </widget> </item> </layout> </widget> </widget> </item> <item row="1" column="0" > <layout class="QHBoxLayout" > <property name="spacing" > <number>6</number> </property> <property name="leftMargin" > <number>0</number> </property> <property name="topMargin" > <number>0</number> </property> <property name="rightMargin" > <number>0</number> </property> <property name="bottomMargin" > <number>0</number> </property> <item> <widget class="QDialogButtonBox" name="buttonBox" > <property name="orientation" > <enum>Qt::Horizontal</enum> </property> <property name="standardButtons" > <set>QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok|QDialogButtonBox::RestoreDefaults</set> </property> </widget> </item> </layout> </item> </layout> </widget> <resources> <include location="../resources/resources.qrc" /> </resources> <connections> <connection> <sender>groupHighlightCurrentLine</sender> <signal>toggled(bool)</signal> <receiver>lineColor</receiver> <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel" > <x>110</x> <y>63</y> </hint> <hint type="destinationlabel" > <x>110</x> <y>63</y> </hint> </hints> </connection> <connection> <sender>showTreeClasses</sender> <signal>toggled(bool)</signal> <receiver>interval</receiver> <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel" > <x>84</x> <y>170</y> </hint> <hint type="destinationlabel" > <x>393</x> <y>169</y> </hint> </hints> </connection> <connection> <sender>match</sender> <signal>toggled(bool)</signal> <receiver>matching</receiver> <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel" > <x>110</x> <y>63</y> </hint> <hint type="destinationlabel" > <x>110</x> <y>63</y> </hint> </hints> </connection> <connection> <sender>buttonBox</sender> <signal>accepted()</signal> <receiver>Options</receiver> <slot>accept()</slot> <hints> <hint type="sourcelabel" > <x>317</x> <y>494</y> </hint> <hint type="destinationlabel" > <x>314</x> <y>473</y> </hint> </hints> </connection> <connection> <sender>buttonBox</sender> <signal>rejected()</signal> <receiver>Options</receiver> <slot>reject()</slot> <hints> <hint type="sourcelabel" > <x>209</x> <y>491</y> </hint> <hint type="destinationlabel" > <x>201</x> <y>474</y> </hint> </hints> </connection> </connections></ui>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -