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 'qtgradientviewdialog.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_QTGRADIENTVIEWDIALOG_H |
51 | #define UI_QTGRADIENTVIEWDIALOG_H |
52 | |
53 | #include <QtCore/QVariant> |
54 | #include <QtWidgets/QApplication> |
55 | #include <QtWidgets/QDialog> |
56 | #include <QtWidgets/QDialogButtonBox> |
57 | #include <QtWidgets/QVBoxLayout> |
58 | #include "qtgradientview.h" |
59 | |
60 | QT_BEGIN_NAMESPACE |
61 | |
62 | class Ui_QtGradientViewDialog |
63 | { |
64 | public: |
65 | QVBoxLayout *vboxLayout; |
66 | QtGradientView *gradientView; |
67 | QDialogButtonBox *buttonBox; |
68 | |
69 | void setupUi(QDialog *QtGradientViewDialog) |
70 | { |
71 | if (QtGradientViewDialog->objectName().isEmpty()) |
72 | QtGradientViewDialog->setObjectName(QString::fromUtf8(str: "QtGradientViewDialog" )); |
73 | QtGradientViewDialog->resize(w: 178, h: 72); |
74 | vboxLayout = new QVBoxLayout(QtGradientViewDialog); |
75 | vboxLayout->setObjectName(QString::fromUtf8(str: "vboxLayout" )); |
76 | gradientView = new QtGradientView(QtGradientViewDialog); |
77 | gradientView->setObjectName(QString::fromUtf8(str: "gradientView" )); |
78 | QSizePolicy sizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding); |
79 | sizePolicy.setHorizontalStretch(0); |
80 | sizePolicy.setVerticalStretch(0); |
81 | sizePolicy.setHeightForWidth(gradientView->sizePolicy().hasHeightForWidth()); |
82 | gradientView->setSizePolicy(sizePolicy); |
83 | |
84 | vboxLayout->addWidget(gradientView); |
85 | |
86 | buttonBox = new QDialogButtonBox(QtGradientViewDialog); |
87 | buttonBox->setObjectName(QString::fromUtf8(str: "buttonBox" )); |
88 | buttonBox->setOrientation(Qt::Horizontal); |
89 | buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok); |
90 | |
91 | vboxLayout->addWidget(buttonBox); |
92 | |
93 | |
94 | retranslateUi(QtGradientViewDialog); |
95 | QObject::connect(sender: buttonBox, SIGNAL(accepted()), receiver: QtGradientViewDialog, SLOT(accept())); |
96 | QObject::connect(sender: buttonBox, SIGNAL(rejected()), receiver: QtGradientViewDialog, SLOT(reject())); |
97 | |
98 | QMetaObject::connectSlotsByName(o: QtGradientViewDialog); |
99 | } // setupUi |
100 | |
101 | void retranslateUi(QDialog *QtGradientViewDialog) |
102 | { |
103 | QtGradientViewDialog->setWindowTitle(QCoreApplication::translate(context: "QtGradientViewDialog" , key: "Select Gradient" , disambiguation: nullptr)); |
104 | } // retranslateUi |
105 | |
106 | }; |
107 | |
108 | namespace Ui { |
109 | class QtGradientViewDialog: public Ui_QtGradientViewDialog {}; |
110 | } // namespace Ui |
111 | |
112 | QT_END_NAMESPACE |
113 | |
114 | #endif // UI_QTGRADIENTVIEWDIALOG_H |
115 | |