paletteeditoradvancedbase.ui

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

UI
613
字号
<ui version="4.0" stdsetdef="1" >  <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>PaletteEditorAdvancedBase</class>  <widget class="QDialog" name="PaletteEditorAdvancedBase" >    <property name="objectName" >      <string notr="true" >PaletteEditorAdvancedBase</string>    </property>    <property name="enabled" >      <bool>true</bool>    </property>    <property name="geometry" >      <rect>        <x>0</x>        <y>0</y>        <width>295</width>        <height>346</height>      </rect>    </property>    <property name="windowTitle" >      <string>Tune Palette</string>    </property>    <property name="sizeGripEnabled" >      <bool>true</bool>    </property>    <property name="whatsThis" stdset="0" >      <string>&lt;b>Edit Palette&lt;/b>&lt;p>Change the palette of the current widget or form.&lt;/p>&lt;p>Use a generated palette or select colors for each color group and each color role.&lt;/p>&lt;p>The palette can be tested with different widget layouts in the preview section.&lt;/p></string>    </property>    <layout class="QVBoxLayout" >      <property name="objectName" >        <string notr="true" >unnamed</string>      </property>      <property name="margin" >        <number>11</number>      </property>      <property name="spacing" >        <number>6</number>      </property>      <item>        <layout class="QHBoxLayout" >          <property name="objectName" >            <string notr="true" >unnamed</string>          </property>          <property name="margin" >            <number>0</number>          </property>          <property name="spacing" >            <number>6</number>          </property>          <item>            <widget class="QLabel" name="TextLabel1" >              <property name="objectName" >                <string notr="true" >TextLabel1</string>              </property>              <property name="text" >                <string>Select &amp;Palette:</string>              </property>              <property name="buddy" stdset="0" >                <cstring>paletteCombo</cstring>              </property>            </widget>          </item>          <item>            <widget class="QComboBox" name="paletteCombo" >              <property name="objectName" >                <string notr="true" >paletteCombo</string>              </property>              <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>        </layout>      </item>      <item>        <widget class="Q3ButtonGroup" name="ButtonGroup1" >          <property name="objectName" >            <string notr="true" >ButtonGroup1</string>          </property>          <property name="sizePolicy" >            <sizepolicy>              <hsizetype>5</hsizetype>              <vsizetype>4</vsizetype>              <horstretch>0</horstretch>              <verstretch>0</verstretch>            </sizepolicy>          </property>          <property name="title" >            <string>Auto</string>          </property>          <layout class="QVBoxLayout" >            <property name="objectName" >              <string notr="true" >unnamed</string>            </property>            <property name="margin" >              <number>11</number>            </property>            <property name="spacing" >              <number>6</number>            </property>            <item>              <widget class="QCheckBox" name="checkBuildInactive" >                <property name="objectName" >                  <string notr="true" >checkBuildInactive</string>                </property>                <property name="text" >                  <string>Build inactive palette from active</string>                </property>                <property name="checked" >                  <bool>true</bool>                </property>              </widget>            </item>            <item>              <widget class="QCheckBox" name="checkBuildDisabled" >                <property name="objectName" >                  <string notr="true" >checkBuildDisabled</string>                </property>                <property name="text" >                  <string>Build disabled palette from active</string>                </property>                <property name="checked" >                  <bool>true</bool>                </property>              </widget>            </item>          </layout>        </widget>      </item>      <item>        <widget class="Q3GroupBox" name="groupCentral" >          <property name="objectName" >            <string notr="true" >groupCentral</string>          </property>          <property name="title" >            <string>Central color &amp;roles</string>          </property>          <layout class="QVBoxLayout" >            <property name="objectName" >              <string notr="true" >unnamed</string>            </property>            <property name="margin" >              <number>11</number>            </property>            <property name="spacing" >              <number>6</number>            </property>            <item>              <widget class="QComboBox" name="comboCentral" >                <property name="objectName" >                  <string notr="true" >comboCentral</string>                </property>                <property name="toolTip" stdset="0" >                  <string>Choose central color role</string>                </property>                <property name="whatsThis" stdset="0" >                  <string>&lt;b>Select a color role.&lt;/b>&lt;p>Available central roles are: &lt;ul> &lt;li>Window - general background color.&lt;/li> &lt;li>WindowText - general foreground color. &lt;/li> &lt;li>Base - used as background color for e.g. text entry widgets, usually white or another light color. &lt;/li> &lt;li>Text - the foreground color used with Base. Usually this is the same as WindowText, in what case it must provide good contrast both with Window and Base. &lt;/li> &lt;li>Button - general button background color, where buttons need a background different from Window, as in the Macintosh style. &lt;/li> &lt;li>ButtonText - a foreground color used with the Button color. &lt;/li> &lt;li>Highlight - a color to indicate a selected or highlighted item. &lt;/li> &lt;li>HighlightedText - a text color that contrasts to Highlight. &lt;/li> &lt;li>BrightText - a text color that is very different from WindowText and contrasts well with e.g. black. &lt;/li> &lt;/ul> &lt;/p></string>                </property>                <item>                  <property name="text" >                    <string>Window</string>                  </property>                </item>                <item>                  <property name="text" >                    <string>WindowText</string>                  </property>                </item>                <item>                  <property name="text" >                    <string>Button</string>                  </property>                </item>                <item>                  <property name="text" >                    <string>Base</string>                  </property>                </item>                <item>                  <property name="text" >                    <string>Text</string>                  </property>                </item>                <item>                  <property name="text" >                    <string>BrightText</string>                  </property>                </item>                <item>                  <property name="text" >                    <string>ButtonText</string>                  </property>                </item>                <item>                  <property name="text" >                    <string>Highlight</string>                  </property>                </item>                <item>                  <property name="text" >                    <string>HighlightedText</string>                  </property>                </item>              </widget>            </item>            <item>              <layout class="QHBoxLayout" >                <property name="objectName" >                  <string notr="true" >unnamed</string>                </property>                <property name="margin" >                  <number>0</number>                </property>                <property name="spacing" >                  <number>6</number>                </property>                <item>                  <spacer name="Horizontal_Spacing1" >                    <property name="sizeHint" >                      <size>                        <width>20</width>                        <height>20</height>                      </size>                    </property>                    <property name="sizeType" >                      <enum>Expanding</enum>                    </property>                    <property name="orientation" >                      <enum>Horizontal</enum>                    </property>                  </spacer>                </item>                <item>                  <widget class="QLabel" name="labelCentral" >                    <property name="objectName" >                      <string notr="true" >labelCentral</string>                    </property>                    <property name="sizePolicy" >                      <sizepolicy>                        <hsizetype>1</hsizetype>                        <vsizetype>1</vsizetype>                        <horstretch>0</horstretch>                        <verstretch>0</verstretch>                      </sizepolicy>                    </property>                    <property name="minimumSize" >                      <size>                        <width>0</width>                        <height>0</height>                      </size>                    </property>                    <property name="text" >                      <string>&amp;Select Color:</string>                    </property>                    <property name="buddy" stdset="0" >                      <cstring>buttonCentral</cstring>                    </property>                  </widget>                </item>                <item>

⌨️ 快捷键说明

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