mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2024-11-24 04:20:46 +08:00
124 lines
4.4 KiB
C
124 lines
4.4 KiB
C
|
/********************************************************************************
|
||
|
** Form generated from reading UI file 'qtgradientview.ui'
|
||
|
**
|
||
|
** Created by: Qt User Interface Compiler version 6.0.0
|
||
|
**
|
||
|
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
||
|
********************************************************************************/
|
||
|
|
||
|
#ifndef QTGRADIENTVIEW_H
|
||
|
#define QTGRADIENTVIEW_H
|
||
|
|
||
|
#include <QtCore/QVariant>
|
||
|
#include <QtWidgets/QApplication>
|
||
|
#include <QtWidgets/QHBoxLayout>
|
||
|
#include <QtWidgets/QListWidget>
|
||
|
#include <QtWidgets/QSpacerItem>
|
||
|
#include <QtWidgets/QToolButton>
|
||
|
#include <QtWidgets/QVBoxLayout>
|
||
|
#include <QtWidgets/QWidget>
|
||
|
|
||
|
QT_BEGIN_NAMESPACE
|
||
|
|
||
|
class Ui_QtGradientView
|
||
|
{
|
||
|
public:
|
||
|
QVBoxLayout *vboxLayout;
|
||
|
QHBoxLayout *hboxLayout;
|
||
|
QToolButton *newButton;
|
||
|
QToolButton *editButton;
|
||
|
QToolButton *renameButton;
|
||
|
QToolButton *removeButton;
|
||
|
QSpacerItem *spacerItem;
|
||
|
QListWidget *listWidget;
|
||
|
|
||
|
void setupUi(QWidget *QtGradientView)
|
||
|
{
|
||
|
if (QtGradientView->objectName().isEmpty())
|
||
|
QtGradientView->setObjectName("QtGradientView");
|
||
|
QtGradientView->resize(484, 228);
|
||
|
vboxLayout = new QVBoxLayout(QtGradientView);
|
||
|
vboxLayout->setObjectName("vboxLayout");
|
||
|
vboxLayout->setContentsMargins(0, 0, 0, 0);
|
||
|
hboxLayout = new QHBoxLayout();
|
||
|
hboxLayout->setObjectName("hboxLayout");
|
||
|
newButton = new QToolButton(QtGradientView);
|
||
|
newButton->setObjectName("newButton");
|
||
|
QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Minimum);
|
||
|
sizePolicy.setHorizontalStretch(0);
|
||
|
sizePolicy.setVerticalStretch(0);
|
||
|
sizePolicy.setHeightForWidth(newButton->sizePolicy().hasHeightForWidth());
|
||
|
newButton->setSizePolicy(sizePolicy);
|
||
|
newButton->setToolButtonStyle(Qt::ToolButtonTextBesideIcon);
|
||
|
newButton->setAutoRaise(true);
|
||
|
|
||
|
hboxLayout->addWidget(newButton);
|
||
|
|
||
|
editButton = new QToolButton(QtGradientView);
|
||
|
editButton->setObjectName("editButton");
|
||
|
sizePolicy.setHeightForWidth(editButton->sizePolicy().hasHeightForWidth());
|
||
|
editButton->setSizePolicy(sizePolicy);
|
||
|
editButton->setToolButtonStyle(Qt::ToolButtonTextBesideIcon);
|
||
|
editButton->setAutoRaise(true);
|
||
|
|
||
|
hboxLayout->addWidget(editButton);
|
||
|
|
||
|
renameButton = new QToolButton(QtGradientView);
|
||
|
renameButton->setObjectName("renameButton");
|
||
|
sizePolicy.setHeightForWidth(renameButton->sizePolicy().hasHeightForWidth());
|
||
|
renameButton->setSizePolicy(sizePolicy);
|
||
|
renameButton->setToolButtonStyle(Qt::ToolButtonTextBesideIcon);
|
||
|
renameButton->setAutoRaise(true);
|
||
|
|
||
|
hboxLayout->addWidget(renameButton);
|
||
|
|
||
|
removeButton = new QToolButton(QtGradientView);
|
||
|
removeButton->setObjectName("removeButton");
|
||
|
sizePolicy.setHeightForWidth(removeButton->sizePolicy().hasHeightForWidth());
|
||
|
removeButton->setSizePolicy(sizePolicy);
|
||
|
removeButton->setToolButtonStyle(Qt::ToolButtonTextBesideIcon);
|
||
|
removeButton->setAutoRaise(true);
|
||
|
|
||
|
hboxLayout->addWidget(removeButton);
|
||
|
|
||
|
spacerItem = new QSpacerItem(71, 26, QSizePolicy::Expanding, QSizePolicy::Minimum);
|
||
|
|
||
|
hboxLayout->addItem(spacerItem);
|
||
|
|
||
|
|
||
|
vboxLayout->addLayout(hboxLayout);
|
||
|
|
||
|
listWidget = new QListWidget(QtGradientView);
|
||
|
listWidget->setObjectName("listWidget");
|
||
|
|
||
|
vboxLayout->addWidget(listWidget);
|
||
|
|
||
|
QWidget::setTabOrder(listWidget, newButton);
|
||
|
QWidget::setTabOrder(newButton, editButton);
|
||
|
QWidget::setTabOrder(editButton, renameButton);
|
||
|
QWidget::setTabOrder(renameButton, removeButton);
|
||
|
|
||
|
retranslateUi(QtGradientView);
|
||
|
|
||
|
QMetaObject::connectSlotsByName(QtGradientView);
|
||
|
} // setupUi
|
||
|
|
||
|
void retranslateUi(QWidget *QtGradientView)
|
||
|
{
|
||
|
QtGradientView->setWindowTitle(QCoreApplication::translate("QtGradientView", "Gradient View", nullptr));
|
||
|
newButton->setText(QCoreApplication::translate("QtGradientView", "New...", nullptr));
|
||
|
editButton->setText(QCoreApplication::translate("QtGradientView", "Edit...", nullptr));
|
||
|
renameButton->setText(QCoreApplication::translate("QtGradientView", "Rename", nullptr));
|
||
|
removeButton->setText(QCoreApplication::translate("QtGradientView", "Remove", nullptr));
|
||
|
} // retranslateUi
|
||
|
|
||
|
};
|
||
|
|
||
|
namespace Ui {
|
||
|
class QtGradientView: public Ui_QtGradientView {};
|
||
|
} // namespace Ui
|
||
|
|
||
|
QT_END_NAMESPACE
|
||
|
|
||
|
#endif // QTGRADIENTVIEW_H
|