mainwindowbase.ui

来自「奇趣公司比较新的qt/emd版本」· UI 代码 · 共 1,213 行 · 第 1/3 页

UI
1,213
字号
<ui version="4.0" > <author></author>  <comment>************************************************************************* Copyright (C) 1992-2007 Trolltech ASA. All rights reserved.**** This file is part of the tools applications of the Qt Toolkit.**** This file may be used under the terms of the GNU General Public** License version 2.0 as published by the Free Software Foundation** and appearing in the file LICENSE.GPL included in the packaging of** this file.  Please review the following information to ensure GNU** General Public Licensing requirements will be met:** http://trolltech.com/products/qt/licenses/licensing/opensource/**** If you are unsure which license is appropriate for your use, please** review the following information:** http://trolltech.com/products/qt/licenses/licensing/licensingoverview** or contact the sales department at sales@trolltech.com.**** In addition, as a special exception, Trolltech gives you certain** additional rights. These rights are described in the Trolltech GPL** Exception version 1.0, which can be found at** http://www.trolltech.com/products/qt/gplexception/ and in the file** GPL_EXCEPTION.txt in this package.**** In addition, as a special exception, Trolltech, as the sole copyright** holder for Qt Designer, grants users of the Qt/Eclipse Integration** plug-in the right for the Qt/Eclipse Integration to link to** functionality provided by Qt Designer and its related libraries.**** Trolltech reserves all rights not expressly granted herein.**** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.***********************************************************************</comment> <exportmacro></exportmacro> <class>MainWindowBase</class> <widget class="Q3MainWindow" name="MainWindowBase" >  <property name="geometry" >   <rect>    <x>0</x>    <y>0</y>    <width>724</width>    <height>615</height>   </rect>  </property>  <property name="windowTitle" >   <string>Qt Configuration</string>  </property>  <widget class="QWidget" name="widget" >   <property name="geometry" >    <rect>     <x>0</x>     <y>28</y>     <width>724</width>     <height>587</height>    </rect>   </property>   <layout class="QHBoxLayout" >    <property name="margin" >     <number>8</number>    </property>    <property name="spacing" >     <number>4</number>    </property>    <item>     <widget class="QTextEdit" name="helpview" >      <property name="minimumSize" >       <size>        <width>200</width>        <height>0</height>       </size>      </property>      <property name="readOnly" >        <bool>true</bool>      </property>     </widget>    </item>    <item>     <widget class="QTabWidget" name="TabWidget3" >      <widget class="QWidget" name="tab1" >       <attribute name="title" >        <string>Appearance</string>       </attribute>       <layout class="QVBoxLayout" >        <property name="margin" >         <number>4</number>        </property>        <property name="spacing" >         <number>4</number>        </property>        <item>         <widget class="QGroupBox" name="GroupBox40" >          <property name="title" >           <string>GUI Style</string>          </property>          <layout class="QHBoxLayout" >           <property name="margin" >            <number>8</number>           </property>           <property name="spacing" >            <number>4</number>           </property>           <item>            <widget class="QLabel" name="gstylebuddy" >             <property name="text" >              <string>Select GUI &amp;Style:</string>             </property>             <property name="buddy" >              <cstring>gstylecombo</cstring>             </property>            </widget>           </item>           <item>            <widget class="QComboBox" name="gstylecombo" />           </item>          </layout>         </widget>        </item>        <item>         <widget class="QGroupBox" name="groupAutoPalette" >          <property name="sizePolicy" >           <sizepolicy>            <hsizetype>5</hsizetype>            <vsizetype>4</vsizetype>            <horstretch>0</horstretch>            <verstretch>0</verstretch>           </sizepolicy>          </property>          <property name="title" >           <string>Build Palette</string>          </property>          <layout class="QHBoxLayout" >           <property name="margin" >            <number>8</number>           </property>           <property name="spacing" >            <number>4</number>           </property>           <item>            <widget class="QLabel" name="labelMainColor" >             <property name="text" >              <string>&amp;3-D Effects:</string>             </property>             <property name="buddy" >              <cstring>buttonMainColor</cstring>             </property>            </widget>           </item>           <item>            <widget class="ColorButton" name="buttonMainColor" />           </item>           <item>            <widget class="QLabel" name="labelMainColor2" >             <property name="sizePolicy" >              <sizepolicy>               <hsizetype>1</hsizetype>               <vsizetype>1</vsizetype>               <horstretch>0</horstretch>               <verstretch>0</verstretch>              </sizepolicy>             </property>             <property name="minimumSize" >              <size>               <width>50</width>               <height>0</height>              </size>             </property>             <property name="lineWidth" >              <number>1</number>             </property>             <property name="midLineWidth" >              <number>0</number>             </property>             <property name="text" >              <string>Window Back&amp;ground:</string>             </property>             <property name="alignment" >              <set>Qt::AlignVCenter</set>             </property>             <property name="margin" >              <number>0</number>             </property>             <property name="buddy" >              <cstring>buttonMainColor2</cstring>             </property>            </widget>           </item>           <item>            <widget class="ColorButton" name="buttonMainColor2" />           </item>           <item>            <spacer>             <property name="orientation" >              <enum>Qt::Horizontal</enum>             </property>             <property name="sizeType" >              <enum>QSizePolicy::Expanding</enum>             </property>             <property name="sizeHint" >              <size>               <width>70</width>               <height>20</height>              </size>             </property>            </spacer>           </item>           <item>            <widget class="QPushButton" name="btnAdvanced" >             <property name="text" >              <string>&amp;Tune Palette...</string>             </property>            </widget>           </item>          </layout>         </widget>        </item>        <item>         <widget class="QGroupBox" name="GroupBox126" >          <property name="sizePolicy" >           <sizepolicy>            <hsizetype>5</hsizetype>            <vsizetype>7</vsizetype>            <horstretch>0</horstretch>            <verstretch>0</verstretch>           </sizepolicy>          </property>          <property name="title" >           <string>Preview</string>          </property>          <layout class="QGridLayout" >           <property name="margin" >            <number>8</number>           </property>           <property name="spacing" >            <number>4</number>           </property>           <item row="0" column="0" >            <widget class="QLabel" name="TextLabel1" >             <property name="text" >              <string>Select &amp;Palette:</string>             </property>             <property name="buddy" >              <cstring>paletteCombo</cstring>             </property>            </widget>           </item>           <item row="0" column="1" >            <widget class="QComboBox" name="paletteCombo" >             <item>              <property name="text" >               <string>Active Palette</string>              </property>             </item>             <item>              <property name="text" >               <string>Inactive Palette</string>              </property>             </item>             <item>              <property name="text" >               <string>Disabled Palette</string>              </property>             </item>            </widget>           </item>           <item row="1" column="0" colspan="2" >            <widget class="PreviewFrame" name="previewFrame" >             <property name="sizePolicy" >              <sizepolicy>               <hsizetype>7</hsizetype>               <vsizetype>7</vsizetype>               <horstretch>0</horstretch>               <verstretch>0</verstretch>              </sizepolicy>             </property>             <property name="minimumSize" >              <size>               <width>410</width>               <height>260</height>              </size>             </property>            </widget>           </item>          </layout>         </widget>        </item>       </layout>      </widget>      <widget class="QWidget" name="tab2" >       <attribute name="title" >        <string>Fonts</string>       </attribute>       <layout class="QVBoxLayout" >        <property name="margin" >         <number>8</number>        </property>        <property name="spacing" >         <number>4</number>        </property>        <item>         <widget class="QGroupBox" name="GroupBox1" >          <property name="title" >           <string>Default Font</string>          </property>          <layout class="QGridLayout" >           <property name="margin" >            <number>8</number>           </property>           <property name="spacing" >            <number>4</number>           </property>           <item row="1" column="1" >            <widget class="QComboBox" name="stylecombo" >             <property name="autoCompletion" >              <bool>true</bool>             </property>             <property name="duplicatesEnabled" >              <bool>false</bool>             </property>            </widget>           </item>           <item row="0" column="1" >            <widget class="QComboBox" name="familycombo" >             <property name="autoCompletion" >              <bool>true</bool>             </property>             <property name="duplicatesEnabled" >              <bool>false</bool>             </property>            </widget>           </item>           <item row="2" column="1" >            <widget class="QComboBox" name="psizecombo" >             <property name="editable" >              <bool>true</bool>             </property>             <property name="autoCompletion" >              <bool>true</bool>             </property>             <property name="duplicatesEnabled" >              <bool>false</bool>             </property>            </widget>           </item>           <item row="1" column="0" >            <widget class="QLabel" name="stylebuddy" >             <property name="text" >              <string>&amp;Style:</string>             </property>             <property name="buddy" >              <cstring>stylecombo</cstring>             </property>            </widget>           </item>           <item row="2" column="0" >            <widget class="QLabel" name="psizebuddy" >             <property name="text" >              <string>&amp;Point Size:</string>             </property>             <property name="buddy" >              <cstring>psizecombo</cstring>             </property>            </widget>           </item>           <item row="0" column="0" >            <widget class="QLabel" name="familybuddy" >             <property name="text" >              <string>F&amp;amily:</string>             </property>             <property name="buddy" >              <cstring>familycombo</cstring>             </property>            </widget>           </item>           <item row="3" column="0" colspan="2" >            <widget class="QLineEdit" name="samplelineedit" >             <property name="text" >              <string>Sample Text</string>             </property>             <property name="alignment" >              <set>Qt::AlignHCenter</set>             </property>            </widget>           </item>          </layout>         </widget>        </item>        <item>         <widget class="QGroupBox" name="GroupBox2" >          <property name="title" >           <string>Font Substitution</string>          </property>          <layout class="QVBoxLayout" >           <property name="margin" >            <number>8</number>           </property>           <property name="spacing" >            <number>4</number>           </property>           <item>            <layout class="QHBoxLayout" >             <property name="margin" >

⌨️ 快捷键说明

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