Files
libpigpio/ui_QtGPIOMain.h
2025-08-05 22:33:23 +02:00

106 lines
3.7 KiB
C++

/********************************************************************************
** Form generated from reading UI file 'QtGPIOMain.ui'
**
** Created by: Qt User Interface Compiler version 5.15.2
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/
#ifndef UI_QTGPIOMAIN_H
#define UI_QTGPIOMAIN_H
#include <QtCore/QVariant>
#include <QtGui/QIcon>
#include <QtWidgets/QApplication>
#include <QtWidgets/QDial>
#include <QtWidgets/QFrame>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QLCDNumber>
#include <QtWidgets/QMainWindow>
#include <QtWidgets/QMenuBar>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QStatusBar>
#include <QtWidgets/QWidget>
QT_BEGIN_NAMESPACE
class Ui_QtGPIOMain
{
public:
QWidget *centralwidget;
QHBoxLayout *horizontalLayout;
QFrame *_frame;
QPushButton *_LED;
QDial *_dial;
QLCDNumber *_display;
QMenuBar *menubar;
QStatusBar *statusbar;
void setupUi(QMainWindow *QtGPIOMain)
{
if (QtGPIOMain->objectName().isEmpty())
QtGPIOMain->setObjectName(QString::fromUtf8("QtGPIOMain"));
QtGPIOMain->resize(473, 342);
centralwidget = new QWidget(QtGPIOMain);
centralwidget->setObjectName(QString::fromUtf8("centralwidget"));
centralwidget->setStyleSheet(QString::fromUtf8(""));
horizontalLayout = new QHBoxLayout(centralwidget);
horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
_frame = new QFrame(centralwidget);
_frame->setObjectName(QString::fromUtf8("_frame"));
_frame->setStyleSheet(QString::fromUtf8("background: grey"));
_frame->setFrameShape(QFrame::NoFrame);
_frame->setFrameShadow(QFrame::Sunken);
_frame->setLineWidth(10);
_frame->setMidLineWidth(10);
_LED = new QPushButton(_frame);
_LED->setObjectName(QString::fromUtf8("_LED"));
_LED->setGeometry(QRect(50, 60, 91, 81));
_LED->setStyleSheet(QString::fromUtf8("background: grey"));
QIcon icon;
icon.addFile(QString::fromUtf8(":/images/Green.png"), QSize(), QIcon::Normal, QIcon::Off);
icon.addFile(QString::fromUtf8(":/images/Red.png"), QSize(), QIcon::Normal, QIcon::On);
_LED->setIcon(icon);
_LED->setIconSize(QSize(64, 64));
_LED->setCheckable(false);
_LED->setFlat(true);
_dial = new QDial(_frame);
_dial->setObjectName(QString::fromUtf8("_dial"));
_dial->setGeometry(QRect(130, 60, 80, 80));
_display = new QLCDNumber(_frame);
_display->setObjectName(QString::fromUtf8("_display"));
_display->setGeometry(QRect(250, 90, 131, 41));
_display->setStyleSheet(QString::fromUtf8("background:lightgrey"));
horizontalLayout->addWidget(_frame);
QtGPIOMain->setCentralWidget(centralwidget);
menubar = new QMenuBar(QtGPIOMain);
menubar->setObjectName(QString::fromUtf8("menubar"));
menubar->setGeometry(QRect(0, 0, 473, 26));
QtGPIOMain->setMenuBar(menubar);
statusbar = new QStatusBar(QtGPIOMain);
statusbar->setObjectName(QString::fromUtf8("statusbar"));
QtGPIOMain->setStatusBar(statusbar);
retranslateUi(QtGPIOMain);
QMetaObject::connectSlotsByName(QtGPIOMain);
} // setupUi
void retranslateUi(QMainWindow *QtGPIOMain)
{
QtGPIOMain->setWindowTitle(QCoreApplication::translate("QtGPIOMain", "libPiGPio Widget Demo", nullptr));
_LED->setText(QString());
} // retranslateUi
};
namespace Ui {
class QtGPIOMain: public Ui_QtGPIOMain {};
} // namespace Ui
QT_END_NAMESPACE
#endif // UI_QTGPIOMAIN_H