mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2024-11-30 07:46:51 +08:00
75 lines
2.2 KiB
C
75 lines
2.2 KiB
C
|
/********************************************************************************
|
||
|
** Form generated from reading UI file 'pixmapfunction.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 PIXMAPFUNCTION_H
|
||
|
#define PIXMAPFUNCTION_H
|
||
|
|
||
|
#include <QtCore/QVariant>
|
||
|
#include <QtGui/QIcon>
|
||
|
#include <QtWidgets/QApplication>
|
||
|
#include <QtWidgets/QLabel>
|
||
|
#include <QtWidgets/QPushButton>
|
||
|
#include <QtWidgets/QVBoxLayout>
|
||
|
#include <QtWidgets/QWidget>
|
||
|
|
||
|
QT_BEGIN_NAMESPACE
|
||
|
|
||
|
class Ui_Form
|
||
|
{
|
||
|
public:
|
||
|
QVBoxLayout *verticalLayout;
|
||
|
QLabel *label;
|
||
|
QPushButton *pushButton;
|
||
|
|
||
|
void setupUi(QWidget *Form)
|
||
|
{
|
||
|
if (Form->objectName().isEmpty())
|
||
|
Form->setObjectName("Form");
|
||
|
Form->resize(149, 112);
|
||
|
verticalLayout = new QVBoxLayout(Form);
|
||
|
verticalLayout->setObjectName("verticalLayout");
|
||
|
label = new QLabel(Form);
|
||
|
label->setObjectName("label");
|
||
|
label->setPixmap(QPixmap(pixmapFunction("labelPixmap")));
|
||
|
|
||
|
verticalLayout->addWidget(label);
|
||
|
|
||
|
pushButton = new QPushButton(Form);
|
||
|
pushButton->setObjectName("pushButton");
|
||
|
QIcon icon;
|
||
|
icon.addPixmap(QPixmap(pixmapFunction("buttonIconNormalOff")), QIcon::Normal, QIcon::Off);
|
||
|
icon.addPixmap(QPixmap(pixmapFunction("buttonIconNormalOn")), QIcon::Normal, QIcon::On);
|
||
|
icon.addPixmap(QPixmap(pixmapFunction("buttonIconDisabledOff")), QIcon::Disabled, QIcon::Off);
|
||
|
icon.addPixmap(QPixmap(pixmapFunction("buttonIconDisabledOn")), QIcon::Disabled, QIcon::On);
|
||
|
pushButton->setIcon(icon);
|
||
|
|
||
|
verticalLayout->addWidget(pushButton);
|
||
|
|
||
|
|
||
|
retranslateUi(Form);
|
||
|
|
||
|
QMetaObject::connectSlotsByName(Form);
|
||
|
} // setupUi
|
||
|
|
||
|
void retranslateUi(QWidget *Form)
|
||
|
{
|
||
|
Form->setWindowTitle(QCoreApplication::translate("Form", "Form", nullptr));
|
||
|
label->setText(QString());
|
||
|
pushButton->setText(QCoreApplication::translate("Form", "PushButton", nullptr));
|
||
|
} // retranslateUi
|
||
|
|
||
|
};
|
||
|
|
||
|
namespace Ui {
|
||
|
class Form: public Ui_Form {};
|
||
|
} // namespace Ui
|
||
|
|
||
|
QT_END_NAMESPACE
|
||
|
|
||
|
#endif // PIXMAPFUNCTION_H
|