1/*
2*********************************************************************
3**
4** Copyright (C) 2016 The Qt Company Ltd.
5** Contact: https://www.qt.io/licensing/
6**
7** This file is part of the Qt Designer of the Qt Toolkit.
8**
9** $QT_BEGIN_LICENSE:GPL-EXCEPT$
10** Commercial License Usage
11** Licensees holding valid commercial Qt licenses may use this file in
12** accordance with the commercial license agreement provided with the
13** Software or, alternatively, in accordance with the terms contained in
14** a written agreement between you and The Qt Company. For licensing terms
15** and conditions see https://www.qt.io/terms-conditions. For further
16** information use the contact form at https://www.qt.io/contact-us.
17**
18** GNU General Public License Usage
19** Alternatively, this file may be used under the terms of the GNU
20** General Public License version 3 as published by the Free Software
21** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
22** included in the packaging of this file. Please review the following
23** information to ensure the GNU General Public License requirements will
24** be met: https://www.gnu.org/licenses/gpl-3.0.html.
25**
26** $QT_END_LICENSE$
27**
28*********************************************************************
29*/
30
31/********************************************************************************
32** Form generated from reading UI file 'paletteeditor.ui'
33**
34** Created by: Qt User Interface Compiler version 5.15.9
35**
36** WARNING! All changes made in this file will be lost when recompiling UI file!
37********************************************************************************/
38
39#ifndef UI_PALETTEEDITOR_H
40#define UI_PALETTEEDITOR_H
41
42#include <QtCore/QVariant>
43#include <QtWidgets/QApplication>
44#include <QtWidgets/QDialog>
45#include <QtWidgets/QDialogButtonBox>
46#include <QtWidgets/QGridLayout>
47#include <QtWidgets/QGroupBox>
48#include <QtWidgets/QHBoxLayout>
49#include <QtWidgets/QHeaderView>
50#include <QtWidgets/QLabel>
51#include <QtWidgets/QRadioButton>
52#include <QtWidgets/QTreeView>
53#include <QtWidgets/QVBoxLayout>
54#include "previewframe.h"
55#include "qtcolorbutton.h"
56
57QT_BEGIN_NAMESPACE
58
59namespace qdesigner_internal {
60
61class Ui_PaletteEditor
62{
63public:
64 QVBoxLayout *verticalLayout;
65 QHBoxLayout *horizontalLayout;
66 QGroupBox *advancedBox;
67 QGridLayout *gridLayout;
68 QtColorButton *buildButton;
69 QTreeView *paletteView;
70 QRadioButton *detailsRadio;
71 QRadioButton *computeRadio;
72 QLabel *label;
73 QGroupBox *GroupBox126;
74 QGridLayout *gridLayout1;
75 QRadioButton *disabledRadio;
76 QRadioButton *inactiveRadio;
77 QRadioButton *activeRadio;
78 qdesigner_internal::PreviewFrame *previewFrame;
79 QDialogButtonBox *buttonBox;
80
81 void setupUi(QDialog *qdesigner_internal__PaletteEditor)
82 {
83 if (qdesigner_internal__PaletteEditor->objectName().isEmpty())
84 qdesigner_internal__PaletteEditor->setObjectName(QString::fromUtf8(str: "qdesigner_internal__PaletteEditor"));
85 qdesigner_internal__PaletteEditor->resize(w: 918, h: 599);
86 QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
87 sizePolicy.setHorizontalStretch(0);
88 sizePolicy.setVerticalStretch(0);
89 sizePolicy.setHeightForWidth(qdesigner_internal__PaletteEditor->sizePolicy().hasHeightForWidth());
90 qdesigner_internal__PaletteEditor->setSizePolicy(sizePolicy);
91 verticalLayout = new QVBoxLayout(qdesigner_internal__PaletteEditor);
92 verticalLayout->setObjectName(QString::fromUtf8(str: "verticalLayout"));
93 horizontalLayout = new QHBoxLayout();
94 horizontalLayout->setObjectName(QString::fromUtf8(str: "horizontalLayout"));
95 advancedBox = new QGroupBox(qdesigner_internal__PaletteEditor);
96 advancedBox->setObjectName(QString::fromUtf8(str: "advancedBox"));
97 advancedBox->setMinimumSize(QSize(0, 0));
98 advancedBox->setMaximumSize(QSize(16777215, 16777215));
99 gridLayout = new QGridLayout(advancedBox);
100 gridLayout->setSpacing(6);
101 gridLayout->setObjectName(QString::fromUtf8(str: "gridLayout"));
102 gridLayout->setContentsMargins(left: 9, top: 9, right: 9, bottom: 9);
103 buildButton = new QtColorButton(advancedBox);
104 buildButton->setObjectName(QString::fromUtf8(str: "buildButton"));
105 QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Ignored);
106 sizePolicy1.setHorizontalStretch(0);
107 sizePolicy1.setVerticalStretch(0);
108 sizePolicy1.setHeightForWidth(buildButton->sizePolicy().hasHeightForWidth());
109 buildButton->setSizePolicy(sizePolicy1);
110
111 gridLayout->addWidget(buildButton, row: 0, column: 1, rowSpan: 1, columnSpan: 1);
112
113 paletteView = new QTreeView(advancedBox);
114 paletteView->setObjectName(QString::fromUtf8(str: "paletteView"));
115 paletteView->setMinimumSize(QSize(0, 200));
116
117 gridLayout->addWidget(paletteView, row: 1, column: 0, rowSpan: 1, columnSpan: 4);
118
119 detailsRadio = new QRadioButton(advancedBox);
120 detailsRadio->setObjectName(QString::fromUtf8(str: "detailsRadio"));
121
122 gridLayout->addWidget(detailsRadio, row: 0, column: 3, rowSpan: 1, columnSpan: 1);
123
124 computeRadio = new QRadioButton(advancedBox);
125 computeRadio->setObjectName(QString::fromUtf8(str: "computeRadio"));
126 computeRadio->setChecked(true);
127
128 gridLayout->addWidget(computeRadio, row: 0, column: 2, rowSpan: 1, columnSpan: 1);
129
130 label = new QLabel(advancedBox);
131 label->setObjectName(QString::fromUtf8(str: "label"));
132
133 gridLayout->addWidget(label, row: 0, column: 0, rowSpan: 1, columnSpan: 1);
134
135
136 horizontalLayout->addWidget(advancedBox);
137
138 GroupBox126 = new QGroupBox(qdesigner_internal__PaletteEditor);
139 GroupBox126->setObjectName(QString::fromUtf8(str: "GroupBox126"));
140 QSizePolicy sizePolicy2(QSizePolicy::Preferred, QSizePolicy::Expanding);
141 sizePolicy2.setHorizontalStretch(0);
142 sizePolicy2.setVerticalStretch(0);
143 sizePolicy2.setHeightForWidth(GroupBox126->sizePolicy().hasHeightForWidth());
144 GroupBox126->setSizePolicy(sizePolicy2);
145 gridLayout1 = new QGridLayout(GroupBox126);
146 gridLayout1->setSpacing(6);
147 gridLayout1->setObjectName(QString::fromUtf8(str: "gridLayout1"));
148 gridLayout1->setContentsMargins(left: 8, top: 8, right: 8, bottom: 8);
149 disabledRadio = new QRadioButton(GroupBox126);
150 disabledRadio->setObjectName(QString::fromUtf8(str: "disabledRadio"));
151
152 gridLayout1->addWidget(disabledRadio, row: 0, column: 2, rowSpan: 1, columnSpan: 1);
153
154 inactiveRadio = new QRadioButton(GroupBox126);
155 inactiveRadio->setObjectName(QString::fromUtf8(str: "inactiveRadio"));
156
157 gridLayout1->addWidget(inactiveRadio, row: 0, column: 1, rowSpan: 1, columnSpan: 1);
158
159 activeRadio = new QRadioButton(GroupBox126);
160 activeRadio->setObjectName(QString::fromUtf8(str: "activeRadio"));
161 activeRadio->setChecked(true);
162
163 gridLayout1->addWidget(activeRadio, row: 0, column: 0, rowSpan: 1, columnSpan: 1);
164
165 previewFrame = new qdesigner_internal::PreviewFrame(GroupBox126);
166 previewFrame->setObjectName(QString::fromUtf8(str: "previewFrame"));
167 sizePolicy.setHeightForWidth(previewFrame->sizePolicy().hasHeightForWidth());
168 previewFrame->setSizePolicy(sizePolicy);
169
170 gridLayout1->addWidget(previewFrame, row: 1, column: 0, rowSpan: 1, columnSpan: 3);
171
172
173 horizontalLayout->addWidget(GroupBox126);
174
175
176 verticalLayout->addLayout(layout: horizontalLayout);
177
178 buttonBox = new QDialogButtonBox(qdesigner_internal__PaletteEditor);
179 buttonBox->setObjectName(QString::fromUtf8(str: "buttonBox"));
180 buttonBox->setOrientation(Qt::Horizontal);
181 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
182
183 verticalLayout->addWidget(buttonBox);
184
185
186 retranslateUi(qdesigner_internal__PaletteEditor);
187 QObject::connect(sender: buttonBox, SIGNAL(accepted()), receiver: qdesigner_internal__PaletteEditor, SLOT(accept()));
188 QObject::connect(sender: buttonBox, SIGNAL(rejected()), receiver: qdesigner_internal__PaletteEditor, SLOT(reject()));
189
190 QMetaObject::connectSlotsByName(o: qdesigner_internal__PaletteEditor);
191 } // setupUi
192
193 void retranslateUi(QDialog *qdesigner_internal__PaletteEditor)
194 {
195 qdesigner_internal__PaletteEditor->setWindowTitle(QCoreApplication::translate(context: "qdesigner_internal::PaletteEditor", key: "Edit Palette", disambiguation: nullptr));
196 advancedBox->setTitle(QCoreApplication::translate(context: "qdesigner_internal::PaletteEditor", key: "Tune Palette", disambiguation: nullptr));
197 buildButton->setText(QString());
198 detailsRadio->setText(QCoreApplication::translate(context: "qdesigner_internal::PaletteEditor", key: "Show Details", disambiguation: nullptr));
199 computeRadio->setText(QCoreApplication::translate(context: "qdesigner_internal::PaletteEditor", key: "Compute Details", disambiguation: nullptr));
200 label->setText(QCoreApplication::translate(context: "qdesigner_internal::PaletteEditor", key: "Quick", disambiguation: nullptr));
201 GroupBox126->setTitle(QCoreApplication::translate(context: "qdesigner_internal::PaletteEditor", key: "Preview", disambiguation: nullptr));
202 disabledRadio->setText(QCoreApplication::translate(context: "qdesigner_internal::PaletteEditor", key: "Disabled", disambiguation: nullptr));
203 inactiveRadio->setText(QCoreApplication::translate(context: "qdesigner_internal::PaletteEditor", key: "Inactive", disambiguation: nullptr));
204 activeRadio->setText(QCoreApplication::translate(context: "qdesigner_internal::PaletteEditor", key: "Active", disambiguation: nullptr));
205 } // retranslateUi
206
207};
208
209} // namespace qdesigner_internal
210
211namespace qdesigner_internal {
212namespace Ui {
213 class PaletteEditor: public Ui_PaletteEditor {};
214} // namespace Ui
215} // namespace qdesigner_internal
216
217QT_END_NAMESPACE
218
219#endif // UI_PALETTEEDITOR_H
220

source code of qttools/src/designer/src/components/lib/.uic/ui_paletteeditor.h