| 1 |
/******************************************************************************** |
| 2 |
** Form generated from reading UI file 'qtgradientview.ui' |
| 3 |
** |
| 4 |
** Created by: Qt User Interface Compiler version 5.12.0 |
| 5 |
** |
| 6 |
** WARNING! All changes made in this file will be lost when recompiling UI file! |
| 7 |
********************************************************************************/ |
| 8 |
|
| 9 |
#ifndef QTGRADIENTVIEW_H |
| 10 |
#define QTGRADIENTVIEW_H |
| 11 |
|
| 12 |
#include <QtCore/QVariant> |
| 13 |
#include <QtWidgets/QApplication> |
| 14 |
#include <QtWidgets/QHBoxLayout> |
| 15 |
#include <QtWidgets/QListWidget> |
| 16 |
#include <QtWidgets/QSpacerItem> |
| 17 |
#include <QtWidgets/QToolButton> |
| 18 |
#include <QtWidgets/QVBoxLayout> |
| 19 |
#include <QtWidgets/QWidget> |
| 20 |
|
| 21 |
QT_BEGIN_NAMESPACE |
| 22 |
|
| 23 |
class Ui_QtGradientView |
| 24 |
{ |
| 25 |
public: |
| 26 |
QVBoxLayout *vboxLayout; |
| 27 |
QHBoxLayout *hboxLayout; |
| 28 |
QToolButton *newButton; |
| 29 |
QToolButton *editButton; |
| 30 |
QToolButton *renameButton; |
| 31 |
QToolButton *removeButton; |
| 32 |
QSpacerItem *spacerItem; |
| 33 |
QListWidget *listWidget; |
| 34 |
|
| 35 |
void setupUi(QWidget *QtGradientView) |
| 36 |
{ |
| 37 |
if (QtGradientView->objectName().isEmpty()) |
| 38 |
QtGradientView->setObjectName(QString::fromUtf8("QtGradientView")); |
| 39 |
QtGradientView->resize(484, 228); |
| 40 |
vboxLayout = new QVBoxLayout(QtGradientView); |
| 41 |
vboxLayout->setObjectName(QString::fromUtf8("vboxLayout")); |
| 42 |
vboxLayout->setContentsMargins(0, 0, 0, 0); |
| 43 |
hboxLayout = new QHBoxLayout(); |
| 44 |
hboxLayout->setObjectName(QString::fromUtf8("hboxLayout")); |
| 45 |
newButton = new QToolButton(QtGradientView); |
| 46 |
newButton->setObjectName(QString::fromUtf8("newButton")); |
| 47 |
QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Minimum); |
| 48 |
sizePolicy.setHorizontalStretch(0); |
| 49 |
sizePolicy.setVerticalStretch(0); |
| 50 |
sizePolicy.setHeightForWidth(newButton->sizePolicy().hasHeightForWidth()); |
| 51 |
newButton->setSizePolicy(sizePolicy); |
| 52 |
newButton->setToolButtonStyle(Qt::ToolButtonTextBesideIcon); |
| 53 |
newButton->setAutoRaise(true); |
| 54 |
|
| 55 |
hboxLayout->addWidget(newButton); |
| 56 |
|
| 57 |
editButton = new QToolButton(QtGradientView); |
| 58 |
editButton->setObjectName(QString::fromUtf8("editButton")); |
| 59 |
sizePolicy.setHeightForWidth(editButton->sizePolicy().hasHeightForWidth()); |
| 60 |
editButton->setSizePolicy(sizePolicy); |
| 61 |
editButton->setToolButtonStyle(Qt::ToolButtonTextBesideIcon); |
| 62 |
editButton->setAutoRaise(true); |
| 63 |
|
| 64 |
hboxLayout->addWidget(editButton); |
| 65 |
|
| 66 |
renameButton = new QToolButton(QtGradientView); |
| 67 |
renameButton->setObjectName(QString::fromUtf8("renameButton")); |
| 68 |
sizePolicy.setHeightForWidth(renameButton->sizePolicy().hasHeightForWidth()); |
| 69 |
renameButton->setSizePolicy(sizePolicy); |
| 70 |
renameButton->setToolButtonStyle(Qt::ToolButtonTextBesideIcon); |
| 71 |
renameButton->setAutoRaise(true); |
| 72 |
|
| 73 |
hboxLayout->addWidget(renameButton); |
| 74 |
|
| 75 |
removeButton = new QToolButton(QtGradientView); |
| 76 |
removeButton->setObjectName(QString::fromUtf8("removeButton")); |
| 77 |
sizePolicy.setHeightForWidth(removeButton->sizePolicy().hasHeightForWidth()); |
| 78 |
removeButton->setSizePolicy(sizePolicy); |
| 79 |
removeButton->setToolButtonStyle(Qt::ToolButtonTextBesideIcon); |
| 80 |
removeButton->setAutoRaise(true); |
| 81 |
|
| 82 |
hboxLayout->addWidget(removeButton); |
| 83 |
|
| 84 |
spacerItem = new QSpacerItem(71, 26, QSizePolicy::Expanding, QSizePolicy::Minimum); |
| 85 |
|
| 86 |
hboxLayout->addItem(spacerItem); |
| 87 |
|
| 88 |
|
| 89 |
vboxLayout->addLayout(hboxLayout); |
| 90 |
|
| 91 |
listWidget = new QListWidget(QtGradientView); |
| 92 |
listWidget->setObjectName(QString::fromUtf8("listWidget")); |
| 93 |
|
| 94 |
vboxLayout->addWidget(listWidget); |
| 95 |
|
| 96 |
QWidget::setTabOrder(listWidget, newButton); |
| 97 |
QWidget::setTabOrder(newButton, editButton); |
| 98 |
QWidget::setTabOrder(editButton, renameButton); |
| 99 |
QWidget::setTabOrder(renameButton, removeButton); |
| 100 |
|
| 101 |
retranslateUi(QtGradientView); |
| 102 |
|
| 103 |
QMetaObject::connectSlotsByName(QtGradientView); |
| 104 |
} // setupUi |
| 105 |
|
| 106 |
void retranslateUi(QWidget *QtGradientView) |
| 107 |
{ |
| 108 |
QtGradientView->setWindowTitle(QCoreApplication::translate("QtGradientView", "Gradient View", nullptr)); |
| 109 |
newButton->setText(QCoreApplication::translate("QtGradientView", "New...", nullptr)); |
| 110 |
editButton->setText(QCoreApplication::translate("QtGradientView", "Edit...", nullptr)); |
| 111 |
renameButton->setText(QCoreApplication::translate("QtGradientView", "Rename", nullptr)); |
| 112 |
removeButton->setText(QCoreApplication::translate("QtGradientView", "Remove", nullptr)); |
| 113 |
} // retranslateUi |
| 114 |
|
| 115 |
}; |
| 116 |
|
| 117 |
namespace Ui { |
| 118 |
class QtGradientView: public Ui_QtGradientView {}; |
| 119 |
} // namespace Ui |
| 120 |
|
| 121 |
QT_END_NAMESPACE |
| 122 |
|
| 123 |
#endif // QTGRADIENTVIEW_H |