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 tools applications of the Qt Toolkit.
8**
9** $QT_BEGIN_LICENSE:LGPL$
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 Lesser General Public License Usage
19** Alternatively, this file may be used under the terms of the GNU Lesser
20** General Public License version 3 as published by the Free Software
21** Foundation and appearing in the file LICENSE.LGPL3 included in the
22** packaging of this file. Please review the following information to
23** ensure the GNU Lesser General Public License version 3 requirements
24** will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
25**
26** GNU General Public License Usage
27** Alternatively, this file may be used under the terms of the GNU
28** General Public License version 2.0 or (at your option) the GNU General
29** Public license version 3 or any later version approved by the KDE Free
30** Qt Foundation. The licenses are as published by the Free Software
31** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
32** included in the packaging of this file. Please review the following
33** information to ensure the GNU General Public License requirements will
34** be met: https://www.gnu.org/licenses/gpl-2.0.html and
35** https://www.gnu.org/licenses/gpl-3.0.html.
36**
37** $QT_END_LICENSE$
38**
39*********************************************************************
40*/
41
42/********************************************************************************
43** Form generated from reading UI file 'qtgradientdialog.ui'
44**
45** Created by: Qt User Interface Compiler version 5.15.9
46**
47** WARNING! All changes made in this file will be lost when recompiling UI file!
48********************************************************************************/
49
50#ifndef UI_QTGRADIENTDIALOG_H
51#define UI_QTGRADIENTDIALOG_H
52
53#include <QtCore/QVariant>
54#include <QtWidgets/QApplication>
55#include <QtWidgets/QDialog>
56#include <QtWidgets/QDialogButtonBox>
57#include <QtWidgets/QVBoxLayout>
58#include "qtgradienteditor.h"
59
60QT_BEGIN_NAMESPACE
61
62class Ui_QtGradientDialog
63{
64public:
65 QVBoxLayout *vboxLayout;
66 QtGradientEditor *gradientEditor;
67 QDialogButtonBox *buttonBox;
68
69 void setupUi(QDialog *QtGradientDialog)
70 {
71 if (QtGradientDialog->objectName().isEmpty())
72 QtGradientDialog->setObjectName(QString::fromUtf8(str: "QtGradientDialog"));
73 QtGradientDialog->resize(w: 178, h: 81);
74 vboxLayout = new QVBoxLayout(QtGradientDialog);
75 vboxLayout->setObjectName(QString::fromUtf8(str: "vboxLayout"));
76 gradientEditor = new QtGradientEditor(QtGradientDialog);
77 gradientEditor->setObjectName(QString::fromUtf8(str: "gradientEditor"));
78 QSizePolicy sizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding);
79 sizePolicy.setHorizontalStretch(0);
80 sizePolicy.setVerticalStretch(0);
81 sizePolicy.setHeightForWidth(gradientEditor->sizePolicy().hasHeightForWidth());
82 gradientEditor->setSizePolicy(sizePolicy);
83
84 vboxLayout->addWidget(gradientEditor);
85
86 buttonBox = new QDialogButtonBox(QtGradientDialog);
87 buttonBox->setObjectName(QString::fromUtf8(str: "buttonBox"));
88 buttonBox->setOrientation(Qt::Horizontal);
89 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok);
90
91 vboxLayout->addWidget(buttonBox);
92
93
94 retranslateUi(QtGradientDialog);
95 QObject::connect(sender: buttonBox, SIGNAL(accepted()), receiver: QtGradientDialog, SLOT(accept()));
96 QObject::connect(sender: buttonBox, SIGNAL(rejected()), receiver: QtGradientDialog, SLOT(reject()));
97
98 QMetaObject::connectSlotsByName(o: QtGradientDialog);
99 } // setupUi
100
101 void retranslateUi(QDialog *QtGradientDialog)
102 {
103 QtGradientDialog->setWindowTitle(QCoreApplication::translate(context: "QtGradientDialog", key: "Edit Gradient", disambiguation: nullptr));
104 } // retranslateUi
105
106};
107
108namespace Ui {
109 class QtGradientDialog: public Ui_QtGradientDialog {};
110} // namespace Ui
111
112QT_END_NAMESPACE
113
114#endif // UI_QTGRADIENTDIALOG_H
115

source code of qttools/src/designer/src/lib/.uic/ui_qtgradientdialog.h