preferences.ui

来自「qt-x11-free-3.0.3.tar.gz minigui图形界面工具」· UI 代码 · 共 503 行 · 第 1/2 页

UI
503
字号
<!DOCTYPE UI><UI version="3.0" stdsetdef="1"><class>PreferencesBase</class><include location="global" impldecl="in declaration">qmap.h</include><include location="local" impldecl="in declaration">conf.h</include><include location="local" impldecl="in declaration">dlldefs.h</include><include location="global" impldecl="in implementation">qpalette.h</include><include location="global" impldecl="in implementation">qlineedit.h</include><include location="global" impldecl="in implementation">qpixmap.h</include><include location="global" impldecl="in implementation">qcombobox.h</include><include location="global" impldecl="in implementation">qfontdatabase.h</include><include location="local" impldecl="in implementation">editor.h</include><include location="global" impldecl="in implementation">qpushbutton.h</include><include location="global" impldecl="in implementation">qcheckbox.h</include><include location="global" impldecl="in implementation">qcolordialog.h</include><include location="global" impldecl="in implementation">qsettings.h</include><variable>QString path;</variable><variable>QMap&lt;QString, ConfigStyle&gt; styles;</variable><variable>ConfigStyle currentStyle;</variable><variable>QString currentElement;</variable><exportmacro>EDITOR_EXPORT</exportmacro><widget class="QWidget">    <property name="name">        <cstring>PreferencesBase</cstring>    </property>    <property name="geometry">        <rect>            <x>0</x>            <y>0</y>            <width>358</width>            <height>311</height>        </rect>    </property>    <property name="caption">        <string>Form1</string>    </property>    <vbox>        <property name="name">            <cstring>unnamed</cstring>        </property>        <property name="margin">            <number>11</number>        </property>        <property name="spacing">            <number>6</number>        </property>        <widget class="QGroupBox">            <property name="name">                <cstring>GroupBox2</cstring>            </property>            <property name="frameShape">                <enum>Box</enum>            </property>            <property name="frameShadow">                <enum>Sunken</enum>            </property>            <property name="title">                <string>S&amp;yntax Highlighting</string>            </property>            <grid>                <property name="name">                    <cstring>unnamed</cstring>                </property>                <property name="margin">                    <number>11</number>                </property>                <property name="spacing">                    <number>6</number>                </property>                <widget class="QLabel" row="0" column="0">                    <property name="name">                        <cstring>TextLabel1</cstring>                    </property>                    <property name="frameShape">                        <enum>MShape</enum>                    </property>                    <property name="frameShadow">                        <enum>MShadow</enum>                    </property>                    <property name="text">                        <string>&amp;Element:</string>                    </property>                    <property name="buddy" stdset="0">                        <cstring>listElements</cstring>                    </property>                </widget>                <widget class="QLayoutWidget" row="1" column="1" rowspan="3" colspan="1">                    <property name="name">                        <cstring>Layout1</cstring>                    </property>                    <grid>                        <property name="name">                            <cstring>unnamed</cstring>                        </property>                        <property name="margin">                            <number>0</number>                        </property>                        <property name="spacing">                            <number>6</number>                        </property>                        <widget class="QCheckBox" row="2" column="0" rowspan="1" colspan="2">                            <property name="name">                                <cstring>checkBold</cstring>                            </property>                            <property name="text">                                <string>&amp;Bold</string>                            </property>                        </widget>                        <widget class="QToolButton" row="5" column="1">                            <property name="name">                                <cstring>buttonColor</cstring>                            </property>                            <property name="sizePolicy">                                <sizepolicy>                                    <hsizetype>1</hsizetype>                                    <vsizetype>0</vsizetype>                                </sizepolicy>                            </property>                            <property name="text">                                <string>...</string>                            </property>                        </widget>                        <widget class="QComboBox" row="0" column="1">                            <property name="name">                                <cstring>comboFamily</cstring>                            </property>                            <property name="editable">                                <bool>true</bool>                            </property>                        </widget>                        <widget class="QLabel" row="0" column="0">                            <property name="name">                                <cstring>TextLabel2</cstring>                            </property>                            <property name="text">                                <string>&amp;Family:</string>                            </property>                            <property name="buddy" stdset="0">                                <cstring>comboFamily</cstring>                            </property>                        </widget>                        <widget class="QCheckBox" row="4" column="0" rowspan="1" colspan="2">                            <property name="name">                                <cstring>checkUnderline</cstring>                            </property>                            <property name="text">                                <string>&amp;Underline</string>                            </property>                        </widget>                        <widget class="QSpinBox" row="1" column="1">                            <property name="name">                                <cstring>spinSize</cstring>                            </property>                            <property name="minValue">                                <number>1</number>                            </property>                        </widget>                        <widget class="QCheckBox" row="3" column="0" rowspan="1" colspan="2">                            <property name="name">                                <cstring>checkItalic</cstring>                            </property>                            <property name="text">                                <string>&amp;Italic</string>                            </property>                        </widget>                        <widget class="QLabel" row="5" column="0">                            <property name="name">                                <cstring>TextLabel4</cstring>                            </property>                            <property name="text">                                <string>Co&amp;lor:</string>                            </property>                            <property name="buddy" stdset="0">                                <cstring>buttonColor</cstring>                            </property>                        </widget>                        <widget class="QLabel" row="1" column="0">                            <property name="name">                                <cstring>TextLabel3</cstring>                            </property>                            <property name="text">                                <string>&amp;Size:</string>                            </property>                            <property name="buddy" stdset="0">                                <cstring>spinSize</cstring>                            </property>                        </widget>                    </grid>                </widget>                <widget class="QListBox" row="1" column="0">                    <item>                        <property name="text">                            <string>Comment</string>                        </property>                    </item>                    <item>                        <property name="text">                            <string>Number</string>                        </property>                    </item>                    <item>                        <property name="text">                            <string>String</string>                        </property>                    </item>                    <item>                        <property name="text">                            <string>Type</string>                        </property>                    </item>                    <item>                        <property name="text">                            <string>Keyword</string>                        </property>                    </item>                    <item>                        <property name="text">                            <string>Preprocessor</string>                        </property>                    </item>                    <item>                        <property name="text">                            <string>Label</string>                        </property>                    </item>                    <item>                        <property name="text">                            <string>Standard</string>                        </property>                    </item>                    <property name="name">                        <cstring>listElements</cstring>                    </property>                </widget>                <widget class="QLabel" row="2" column="0">                    <property name="name">                        <cstring>TextLabel2_2</cstring>                    </property>                    <property name="text">                        <string>&amp;Preview:</string>                    </property>                    <property name="buddy" stdset="0">                        <cstring>editPreview</cstring>                    </property>                </widget>                <widget class="QLineEdit" row="3" column="0">                    <property name="name">                        <cstring>editPreview</cstring>                    </property>                    <property name="text">                        <string>Some Text</string>                    </property>                </widget>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?