📄 paletteeditor.ui
字号:
<ui version="4.0" > <author></author> <comment>************************************************************************* Copyright (C) 1992-2006 Trolltech ASA. All rights reserved.**** This file is part of the Qt Designer 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://www.trolltech.com/products/qt/opensource.html**** If you are unsure which license is appropriate for your use, please** review the following information:** http://www.trolltech.com/products/qt/licensing.html or contact the** sales department at sales@trolltech.com.**** 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>PaletteEditor</class> <widget class="QDialog" name="PaletteEditor" > <property name="geometry" > <rect> <x>0</x> <y>0</y> <width>337</width> <height>433</height> </rect> </property> <property name="sizePolicy" > <sizepolicy> <hsizetype>7</hsizetype> <vsizetype>7</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="windowTitle" > <string>Edit Palette</string> </property> <layout class="QVBoxLayout" > <property name="margin" > <number>8</number> </property> <property name="spacing" > <number>6</number> </property> <item> <widget class="QGroupBox" name="advancedBox" > <property name="minimumSize" > <size> <width>0</width> <height>0</height> </size> </property> <property name="maximumSize" > <size> <width>16777215</width> <height>16777215</height> </size> </property> <property name="title" > <string>Tune Palette</string> </property> <layout class="QGridLayout" > <property name="margin" > <number>8</number> </property> <property name="spacing" > <number>6</number> </property> <item row="0" column="0" > <widget class="QLabel" name="label" > <property name="text" > <string>Quick</string> </property> </widget> </item> <item row="0" column="1" > <widget class="qdesigner_internal::StyledButton" name="buildButton" > <property name="sizePolicy" > <sizepolicy> <hsizetype>0</hsizetype> <vsizetype>0</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="focusPolicy" > <enum>Qt::StrongFocus</enum> </property> <property name="toolTip" > <string>Choose a color</string> </property> <property name="whatsThis" > <string>Choose the effect-color for the generated palette.</string> </property> </widget> </item> <item row="0" column="2" > <widget class="QRadioButton" name="computeRadio" > <property name="text" > <string>Compute Details</string> </property> <property name="checked" > <bool>true</bool> </property> </widget> </item> <item row="0" column="3" > <widget class="QRadioButton" name="detailsRadio" > <property name="text" > <string>Show Details</string> </property> </widget> </item> <item row="1" column="0" colspan="4" > <widget class="QTreeView" name="paletteView" > <property name="minimumSize" > <size> <width>0</width> <height>200</height> </size> </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>6</number> </property> <item row="0" column="2" > <widget class="QRadioButton" name="disabledRadio" > <property name="text" > <string>Disabled</string> </property> </widget> </item> <item row="0" column="1" > <widget class="QRadioButton" name="inactiveRadio" > <property name="text" > <string>Inactive</string> </property> </widget> </item> <item row="0" column="0" > <widget class="QRadioButton" name="activeRadio" > <property name="text" > <string>Active</string> </property> <property name="checked" > <bool>true</bool> </property> </widget> </item> <item row="1" column="0" colspan="3" > <widget class="qdesigner_internal::PreviewFrame" name="previewFrame" > <property name="sizePolicy" > <sizepolicy> <hsizetype>7</hsizetype> <vsizetype>7</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> </widget> </item> </layout> </widget> </item> <item> <layout class="QHBoxLayout" > <property name="margin" > <number>0</number> </property> <property name="spacing" > <number>6</number> </property> <item> <widget class="QPushButton" name="buttonHelp" > <property name="text" > <string>&Help</string> </property> <property name="autoDefault" > <bool>true</bool> </property> </widget> </item> <item> <spacer> <property name="orientation" > <enum>Qt::Horizontal</enum> </property> <property name="sizeType" > <enum>QSizePolicy::Expanding</enum> </property> <property name="sizeHint" > <size> <width>20</width> <height>20</height> </size> </property> </spacer> </item> <item> <widget class="QPushButton" name="buttonOk" > <property name="whatsThis" > <string>Close the dialog and apply all the changes.</string> </property> <property name="text" > <string>OK</string> </property> <property name="autoDefault" > <bool>true</bool> </property> <property name="default" > <bool>true</bool> </property> </widget> </item> <item> <widget class="QPushButton" name="buttonCancel" > <property name="whatsThis" > <string>Close the dialog and discard any changes.</string> </property> <property name="text" > <string>Cancel</string> </property> <property name="autoDefault" > <bool>true</bool> </property> </widget> </item> </layout> </item> </layout> </widget> <pixmapfunction></pixmapfunction> <customwidgets> <customwidget> <class>qdesigner_internal::StyledButton</class> <extends></extends> <header>styledbutton.h</header> <container>0</container> <pixmap></pixmap> </customwidget> <customwidget> <class>qdesigner_internal::PreviewFrame</class> <extends></extends> <header>previewframe.h</header> <container>0</container> <pixmap></pixmap> </customwidget> </customwidgets> <tabstops> <tabstop>buildButton</tabstop> <tabstop>buttonHelp</tabstop> <tabstop>buttonOk</tabstop> <tabstop>buttonCancel</tabstop> </tabstops> <resources/> <connections> <connection> <sender>buttonCancel</sender> <signal>clicked()</signal> <receiver>PaletteEditor</receiver> <slot>reject()</slot> <hints> <hint type="sourcelabel" > <x>390</x> <y>430</y> </hint> <hint type="destinationlabel" > <x>409</x> <y>444</y> </hint> </hints> </connection> <connection> <sender>buttonOk</sender> <signal>clicked()</signal> <receiver>PaletteEditor</receiver> <slot>accept()</slot> <hints> <hint type="sourcelabel" > <x>304</x> <y>423</y> </hint> <hint type="destinationlabel" > <x>208</x> <y>419</y> </hint> </hints> </connection> </connections></ui>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -