campo-sirio/libraries/html2pdf/qt/tests/auto/uic3/baseline/paletteeditoradvancedbase.ui.4
Alessandro Bonazzi 8c43d5cf2f Patch level : 12.00
Files correlati     : cg0.exe cg0700a.msk cg0700b.msk cg3.exe cg4.exe

Bug                 :

Commento:
Merge 1.0 libraries
2025-04-06 00:42:21 +02:00

623 lines
24 KiB
Groff

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0" stdsetdef="1">
<author></author>
<comment>*********************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the autotests of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance with the commercial license agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and The Qt Company. For licensing terms
** and conditions see http://www.qt.io/terms-conditions. For further
** information use the contact form at http://www.qt.io/contact-us.
**
** GNU Lesser General Public License Usage
** Alternatively, this file may be used under the terms of the GNU Lesser
** General Public License version 2.1 or version 3 as published by the Free
** Software Foundation and appearing in the file LICENSE.LGPLv21 and
** LICENSE.LGPLv3 included in the packaging of this file. Please review the
** following information to ensure the GNU Lesser General Public License
** requirements will be met: https://www.gnu.org/licenses/lgpl.html and
** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
**
** As a special exception, The Qt Company gives you certain additional
** rights. These rights are described in The Qt Company LGPL Exception
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
**
** GNU General Public License Usage
** Alternatively, this file may be used under the terms of the GNU
** General Public License version 3.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 the GNU General Public License version 3.0 requirements will be
** met: http://www.gnu.org/copyleft/gpl.html.
**
** $QT_END_LICENSE$
**
*********************************************************************</comment>
<exportmacro></exportmacro>
<class>PaletteEditorAdvancedBase</class>
<widget class="QDialog" name="PaletteEditorAdvancedBase">
<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&gt;Edit Palette&lt;/b&gt;&lt;p&gt;Change the palette of the current widget or form.&lt;/p&gt;&lt;p&gt;Use a generated palette or select colors for each color group and each color role.&lt;/p&gt;&lt;p&gt;The palette can be tested with different widget layouts in the preview section.&lt;/p&gt;</string>
</property>
<layout class="QVBoxLayout">
<property name="margin">
<number>11</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<item>
<layout class="QHBoxLayout">
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<item>
<widget class="QLabel" name="TextLabel1">
<property name="text">
<string>Select &amp;Palette:</string>
</property>
<property name="buddy" stdset="0">
<cstring>paletteCombo</cstring>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
</widget>
</item>
<item>
<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>
</layout>
</item>
<item>
<widget class="Q3ButtonGroup" name="ButtonGroup1">
<property name="sizePolicy">
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>4</vsizetype>
</sizepolicy>
</property>
<property name="title">
<string>Auto</string>
</property>
<layout class="QVBoxLayout">
<property name="margin">
<number>11</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<item>
<widget class="QCheckBox" name="checkBuildInactive">
<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="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="title">
<string>Central color &amp;roles</string>
</property>
<layout class="QVBoxLayout">
<property name="margin">
<number>11</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<item>
<widget class="QComboBox" name="comboCentral">
<property name="toolTip" stdset="0">
<string>Choose central color role</string>
</property>
<property name="whatsThis" stdset="0">
<string>&lt;b&gt;Select a color role.&lt;/b&gt;&lt;p&gt;Available central roles are: &lt;ul&gt; &lt;li&gt;Background - general background color.&lt;/li&gt; &lt;li&gt;Foreground - general foreground color. &lt;/li&gt; &lt;li&gt;Base - used as background color for e.g. text entry widgets, usually white or another light color. &lt;/li&gt; &lt;li&gt;Text - the forground color used with Base. Usually this is the same as the Foreground, in what case it must provide good contrast both with Background and Base. &lt;/li&gt; &lt;li&gt;Button - general button background color, where buttons need a background different from Background, as in the Macintosh style. &lt;/li&gt; &lt;li&gt;ButtonText - a foreground color used with the Button color. &lt;/li&gt; &lt;li&gt;Highlight - a color to indicate a selected or highlighted item. &lt;/li&gt; &lt;li&gt;HighlightedText - a text color that contrasts to Highlight. &lt;/li&gt; &lt;li&gt;BrightText - a text color that is very different from Foreground and contrasts well with e.g. black. &lt;/li&gt; &lt;/ul&gt; &lt;/p&gt;</string>
</property>
<item>
<property name="text">
<string>Background</string>
</property>
</item>
<item>
<property name="text">
<string>Foreground</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>HighlightText</string>
</property>
</item>
<item>
<property name="text">
<string>Link</string>
</property>
</item>
<item>
<property name="text">
<string>LinkVisited</string>
</property>
</item>
</widget>
</item>
<item>
<layout class="QHBoxLayout">
<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>QSizePolicy::Expanding</enum>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="labelCentral">
<property name="sizePolicy">
<sizepolicy>
<hsizetype>1</hsizetype>
<vsizetype>1</vsizetype>
</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>
<property name="wordWrap">
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="ColorButton" name="buttonCentral">
<property name="sizePolicy">
<sizepolicy>
<hsizetype>0</hsizetype>
<vsizetype>0</vsizetype>
</sizepolicy>
</property>
<property name="focusPolicy">
<enum>Qt::TabFocus</enum>
</property>
<property name="toolTip" stdset="0">
<string>Choose a color</string>
</property>
<property name="whatsThis" stdset="0">
<string>Choose a color for the selected central color role.</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item>
<widget class="Q3GroupBox" name="groupEffect">
<property name="title">
<string>3-D shadow &amp;effects</string>
</property>
<layout class="QVBoxLayout">
<property name="margin">
<number>11</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<item>
<layout class="QHBoxLayout">
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<item>
<widget class="QCheckBox" name="checkBuildEffect">
<property name="text">
<string>Build &amp;from button color</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="toolTip" stdset="0">
<string>Generate shadings</string>
</property>
<property name="whatsThis" stdset="0">
<string>Check to let 3D-effect colors be calculated from button-color.</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboEffect">
<property name="toolTip" stdset="0">
<string>Choose 3D-effect color role</string>
</property>
<property name="whatsThis" stdset="0">
<string>&lt;b&gt;Select a color role.&lt;/b&gt;&lt;p&gt;Available effect roles are: &lt;ul&gt; &lt;li&gt;Light - lighter than Button color. &lt;/li&gt; &lt;li&gt;Midlight - between Button and Light. &lt;/li&gt; &lt;li&gt;Mid - between Button and Dark. &lt;/li&gt; &lt;li&gt;Dark - darker than Button. &lt;/li&gt; &lt;li&gt;Shadow - a very dark color. &lt;/li&gt; &lt;/ul&gt;</string>
</property>
<item>
<property name="text">
<string>Light</string>
</property>
</item>
<item>
<property name="text">
<string>Midlight</string>
</property>
</item>
<item>
<property name="text">
<string>Mid</string>
</property>
</item>
<item>
<property name="text">
<string>Dark</string>
</property>
</item>
<item>
<property name="text">
<string>Shadow</string>
</property>
</item>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout">
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<item>
<spacer name="Horizontal_Spacing3">
<property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="labelEffect">
<property name="sizePolicy">
<sizepolicy>
<hsizetype>1</hsizetype>
<vsizetype>1</vsizetype>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>Select Co&amp;lor:</string>
</property>
<property name="buddy" stdset="0">
<cstring>buttonEffect</cstring>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="ColorButton" name="buttonEffect">
<property name="sizePolicy">
<sizepolicy>
<hsizetype>0</hsizetype>
<vsizetype>0</vsizetype>
</sizepolicy>
</property>
<property name="focusPolicy">
<enum>Qt::TabFocus</enum>
</property>
<property name="toolTip" stdset="0">
<string>Choose a color</string>
</property>
<property name="whatsThis" stdset="0">
<string>Choose a color for the selected effect color role.</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item>
<layout class="QHBoxLayout">
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<item>
<spacer name="Horizontal_Spacing2">
<property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="buttonOk">
<property name="text">
<string>OK</string>
</property>
<property name="autoDefault">
<bool>true</bool>
</property>
<property name="default">
<bool>true</bool>
</property>
<property name="whatsThis" stdset="0">
<string>Close dialog and apply all changes.</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="buttonCancel">
<property name="text">
<string>Cancel</string>
</property>
<property name="autoDefault">
<bool>true</bool>
</property>
<property name="whatsThis" stdset="0">
<string>Close dialog and discard all changes.</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>ColorButton</class>
<extends>QWidget</extends>
<header location="local">colorbutton.h</header>
<sizehint>
<width>40</width>
<height>25</height>
</sizehint>
<container>0</container>
<sizepolicy>
<hordata>5</hordata>
<verdata>5</verdata>
</sizepolicy>
<pixmap>image0</pixmap>
<properties>
<property type="Color">color</property>
<property type="Pixmap">pixmap</property>
</properties>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>buttonOk</tabstop>
<tabstop>buttonCancel</tabstop>
<tabstop>paletteCombo</tabstop>
<tabstop>checkBuildInactive</tabstop>
<tabstop>checkBuildDisabled</tabstop>
<tabstop>comboCentral</tabstop>
<tabstop>buttonCentral</tabstop>
<tabstop>checkBuildEffect</tabstop>
<tabstop>comboEffect</tabstop>
<tabstop>buttonEffect</tabstop>
</tabstops>
<images>
<image name="image0">
<data format="XPM.GZ" length="646">789c6dd2c10ac2300c00d07bbf2234b7229d1be245fc04c5a3201e4615f430059d0711ff5ddb2e6bb236ec90eed134cb5a19d8ef36602af5ecdbfeeac05dda0798d3abebde87e3faa374d3807fa0d633a52d38d8de6f679fe33fc776e196f53cd010188256a3600a292882096246517815ca99884606e18044a3a40d91824820924265a7923a2e8bcd05f33db1173e002913175f2a6be6d3294871a2d95fa00e8a94ee017b69d339d90df1e77c57ea072ede6758</data>
</image>
</images>
<connections>
<connection>
<sender>buttonOk</sender>
<signal>clicked()</signal>
<receiver>PaletteEditorAdvancedBase</receiver>
<slot>accept()</slot>
</connection>
<connection>
<sender>buttonCancel</sender>
<signal>clicked()</signal>
<receiver>PaletteEditorAdvancedBase</receiver>
<slot>reject()</slot>
</connection>
<connection>
<sender>paletteCombo</sender>
<signal>activated(int)</signal>
<receiver>PaletteEditorAdvancedBase</receiver>
<slot>paletteSelected(int)</slot>
</connection>
<connection>
<sender>comboCentral</sender>
<signal>activated(int)</signal>
<receiver>PaletteEditorAdvancedBase</receiver>
<slot>onCentral(int)</slot>
</connection>
<connection>
<sender>buttonCentral</sender>
<signal>clicked()</signal>
<receiver>PaletteEditorAdvancedBase</receiver>
<slot>onChooseCentralColor()</slot>
</connection>
<connection>
<sender>buttonEffect</sender>
<signal>clicked()</signal>
<receiver>PaletteEditorAdvancedBase</receiver>
<slot>onChooseEffectColor()</slot>
</connection>
<connection>
<sender>comboEffect</sender>
<signal>activated(int)</signal>
<receiver>PaletteEditorAdvancedBase</receiver>
<slot>onEffect(int)</slot>
</connection>
<connection>
<sender>checkBuildEffect</sender>
<signal>toggled(bool)</signal>
<receiver>PaletteEditorAdvancedBase</receiver>
<slot>onToggleBuildEffects(bool)</slot>
</connection>
<connection>
<sender>checkBuildEffect</sender>
<signal>toggled(bool)</signal>
<receiver>comboEffect</receiver>
<slot>setDisabled(bool)</slot>
</connection>
<connection>
<sender>checkBuildEffect</sender>
<signal>toggled(bool)</signal>
<receiver>buttonEffect</receiver>
<slot>setDisabled(bool)</slot>
</connection>
<connection>
<sender>checkBuildInactive</sender>
<signal>toggled(bool)</signal>
<receiver>PaletteEditorAdvancedBase</receiver>
<slot>onToggleBuildInactive(bool)</slot>
</connection>
<connection>
<sender>checkBuildDisabled</sender>
<signal>toggled(bool)</signal>
<receiver>PaletteEditorAdvancedBase</receiver>
<slot>onToggleBuildDisabled(bool)</slot>
</connection>
</connections>
</ui>