| 1 |
/******************************************************************************** |
| 2 |
** Form generated from reading UI file 'pixmapfunction.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 PIXMAPFUNCTION_H |
| 10 |
#define PIXMAPFUNCTION_H |
| 11 |
|
| 12 |
#include <QtCore/QVariant> |
| 13 |
#include <QtGui/QIcon> |
| 14 |
#include <QtWidgets/QApplication> |
| 15 |
#include <QtWidgets/QLabel> |
| 16 |
#include <QtWidgets/QPushButton> |
| 17 |
#include <QtWidgets/QVBoxLayout> |
| 18 |
#include <QtWidgets/QWidget> |
| 19 |
|
| 20 |
QT_BEGIN_NAMESPACE |
| 21 |
|
| 22 |
class Ui_Form |
| 23 |
{ |
| 24 |
public: |
| 25 |
QVBoxLayout *verticalLayout; |
| 26 |
QLabel *label; |
| 27 |
QPushButton *pushButton; |
| 28 |
|
| 29 |
void setupUi(QWidget *Form) |
| 30 |
{ |
| 31 |
if (Form->objectName().isEmpty()) |
| 32 |
Form->setObjectName(QString::fromUtf8("Form")); |
| 33 |
Form->resize(149, 112); |
| 34 |
verticalLayout = new QVBoxLayout(Form); |
| 35 |
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout")); |
| 36 |
label = new QLabel(Form); |
| 37 |
label->setObjectName(QString::fromUtf8("label")); |
| 38 |
label->setPixmap(QPixmap(pixmapFunction("labelPixmap"))); |
| 39 |
|
| 40 |
verticalLayout->addWidget(label); |
| 41 |
|
| 42 |
pushButton = new QPushButton(Form); |
| 43 |
pushButton->setObjectName(QString::fromUtf8("pushButton")); |
| 44 |
QIcon icon; |
| 45 |
icon.addPixmap(QPixmap(pixmapFunction("buttonIconNormalOff")), QIcon::Normal, QIcon::Off); |
| 46 |
icon.addPixmap(QPixmap(pixmapFunction("buttonIconNormalOn")), QIcon::Normal, QIcon::On); |
| 47 |
icon.addPixmap(QPixmap(pixmapFunction("buttonIconDisabledOff")), QIcon::Disabled, QIcon::Off); |
| 48 |
icon.addPixmap(QPixmap(pixmapFunction("buttonIconDisabledOn")), QIcon::Disabled, QIcon::On); |
| 49 |
pushButton->setIcon(icon); |
| 50 |
|
| 51 |
verticalLayout->addWidget(pushButton); |
| 52 |
|
| 53 |
|
| 54 |
retranslateUi(Form); |
| 55 |
|
| 56 |
QMetaObject::connectSlotsByName(Form); |
| 57 |
} // setupUi |
| 58 |
|
| 59 |
void retranslateUi(QWidget *Form) |
| 60 |
{ |
| 61 |
Form->setWindowTitle(QCoreApplication::translate("Form", "Form", nullptr)); |
| 62 |
label->setText(QString()); |
| 63 |
pushButton->setText(QCoreApplication::translate("Form", "PushButton", nullptr)); |
| 64 |
} // retranslateUi |
| 65 |
|
| 66 |
}; |
| 67 |
|
| 68 |
namespace Ui { |
| 69 |
class Form: public Ui_Form {}; |
| 70 |
} // namespace Ui |
| 71 |
|
| 72 |
QT_END_NAMESPACE |
| 73 |
|
| 74 |
#endif // PIXMAPFUNCTION_H |