| 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 autotests 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 'qtgradientviewdialog.ui' |
| 33 |
** |
| 34 |
** Created by: Qt User Interface Compiler version 5.12.0 |
| 35 |
** |
| 36 |
** WARNING! All changes made in this file will be lost when recompiling UI file! |
| 37 |
********************************************************************************/ |
| 38 |
|
| 39 |
#ifndef QTGRADIENTVIEWDIALOG_H |
| 40 |
#define QTGRADIENTVIEWDIALOG_H |
| 41 |
|
| 42 |
#include <QtCore/QVariant> |
| 43 |
#include <QtWidgets/QApplication> |
| 44 |
#include <QtWidgets/QDialog> |
| 45 |
#include <QtWidgets/QDialogButtonBox> |
| 46 |
#include <QtWidgets/QVBoxLayout> |
| 47 |
#include "qtgradientview.h" |
| 48 |
|
| 49 |
QT_BEGIN_NAMESPACE |
| 50 |
|
| 51 |
class Ui_QtGradientViewDialog |
| 52 |
{ |
| 53 |
public: |
| 54 |
QVBoxLayout *vboxLayout; |
| 55 |
QtGradientView *gradientView; |
| 56 |
QDialogButtonBox *buttonBox; |
| 57 |
|
| 58 |
void setupUi(QDialog *QtGradientViewDialog) |
| 59 |
{ |
| 60 |
if (QtGradientViewDialog->objectName().isEmpty()) |
| 61 |
QtGradientViewDialog->setObjectName(QString::fromUtf8("QtGradientViewDialog")); |
| 62 |
QtGradientViewDialog->resize(178, 72); |
| 63 |
vboxLayout = new QVBoxLayout(QtGradientViewDialog); |
| 64 |
vboxLayout->setObjectName(QString::fromUtf8("vboxLayout")); |
| 65 |
gradientView = new QtGradientView(QtGradientViewDialog); |
| 66 |
gradientView->setObjectName(QString::fromUtf8("gradientView")); |
| 67 |
QSizePolicy sizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding); |
| 68 |
sizePolicy.setHorizontalStretch(0); |
| 69 |
sizePolicy.setVerticalStretch(0); |
| 70 |
sizePolicy.setHeightForWidth(gradientView->sizePolicy().hasHeightForWidth()); |
| 71 |
gradientView->setSizePolicy(sizePolicy); |
| 72 |
|
| 73 |
vboxLayout->addWidget(gradientView); |
| 74 |
|
| 75 |
buttonBox = new QDialogButtonBox(QtGradientViewDialog); |
| 76 |
buttonBox->setObjectName(QString::fromUtf8("buttonBox")); |
| 77 |
buttonBox->setOrientation(Qt::Horizontal); |
| 78 |
buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok); |
| 79 |
|
| 80 |
vboxLayout->addWidget(buttonBox); |
| 81 |
|
| 82 |
|
| 83 |
retranslateUi(QtGradientViewDialog); |
| 84 |
QObject::connect(buttonBox, SIGNAL(accepted()), QtGradientViewDialog, SLOT(accept())); |
| 85 |
QObject::connect(buttonBox, SIGNAL(rejected()), QtGradientViewDialog, SLOT(reject())); |
| 86 |
|
| 87 |
QMetaObject::connectSlotsByName(QtGradientViewDialog); |
| 88 |
} // setupUi |
| 89 |
|
| 90 |
void retranslateUi(QDialog *QtGradientViewDialog) |
| 91 |
{ |
| 92 |
QtGradientViewDialog->setWindowTitle(QCoreApplication::translate("QtGradientViewDialog", "Select Gradient", nullptr)); |
| 93 |
} // retranslateUi |
| 94 |
|
| 95 |
}; |
| 96 |
|
| 97 |
namespace Ui { |
| 98 |
class QtGradientViewDialog: public Ui_QtGradientViewDialog {}; |
| 99 |
} // namespace Ui |
| 100 |
|
| 101 |
QT_END_NAMESPACE |
| 102 |
|
| 103 |
#endif // QTGRADIENTVIEWDIALOG_H |