121 lines
4.9 KiB
C
Raw Normal View History

2012-08-14 18:00:48 -04:00
/********************************************************************************
** Form generated from reading UI file 'gui.ui'
**
2014-04-21 21:48:04 -04:00
** Created by: Qt User Interface Compiler version 5.1.1
2012-08-14 18:00:48 -04:00
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/
#ifndef UI_GUI_H
#define UI_GUI_H
#include <QtCore/QVariant>
2013-10-10 20:01:51 -04:00
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QDialog>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QPushButton>
2012-08-14 18:00:48 -04:00
QT_BEGIN_NAMESPACE
class Ui_Gui
{
public:
QPushButton *m_pauseButton;
QPushButton *m_quitButton;
QLabel *m_philoLabel_0;
QLabel *m_philoLabel_1;
QLabel *m_philoLabel_2;
QLabel *m_philoLabel_3;
QLabel *m_philoLabel_4;
QLabel *label;
QLabel *m_epoolLabel;
void setupUi(QDialog *Gui)
{
if (Gui->objectName().isEmpty())
2013-10-10 20:01:51 -04:00
Gui->setObjectName(QStringLiteral("Gui"));
2012-08-14 18:00:48 -04:00
Gui->resize(338, 360);
QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
sizePolicy.setHorizontalStretch(0);
sizePolicy.setVerticalStretch(0);
sizePolicy.setHeightForWidth(Gui->sizePolicy().hasHeightForWidth());
Gui->setSizePolicy(sizePolicy);
QIcon icon;
2013-10-10 20:01:51 -04:00
icon.addFile(QStringLiteral("res/qp.ico"), QSize(), QIcon::Normal, QIcon::Off);
2012-08-14 18:00:48 -04:00
Gui->setWindowIcon(icon);
m_pauseButton = new QPushButton(Gui);
2013-10-10 20:01:51 -04:00
m_pauseButton->setObjectName(QStringLiteral("m_pauseButton"));
2012-08-14 18:00:48 -04:00
m_pauseButton->setGeometry(QRect(130, 150, 81, 41));
m_pauseButton->setCursor(QCursor(Qt::PointingHandCursor));
m_pauseButton->setAutoFillBackground(false);
QIcon icon1;
2013-10-10 20:01:51 -04:00
icon1.addFile(QStringLiteral(":/res/EK-BTN_UP.png"), QSize(), QIcon::Normal, QIcon::Off);
2012-08-14 18:00:48 -04:00
m_pauseButton->setIcon(icon1);
m_pauseButton->setIconSize(QSize(43, 45));
m_quitButton = new QPushButton(Gui);
2013-10-10 20:01:51 -04:00
m_quitButton->setObjectName(QStringLiteral("m_quitButton"));
2012-08-14 18:00:48 -04:00
m_quitButton->setGeometry(QRect(230, 320, 101, 31));
m_philoLabel_0 = new QLabel(Gui);
2013-10-10 20:01:51 -04:00
m_philoLabel_0->setObjectName(QStringLiteral("m_philoLabel_0"));
2012-08-14 18:00:48 -04:00
m_philoLabel_0->setGeometry(QRect(130, 20, 80, 74));
m_philoLabel_0->setPixmap(QPixmap(QString::fromUtf8(":/res/thinking.png")));
m_philoLabel_1 = new QLabel(Gui);
2013-10-10 20:01:51 -04:00
m_philoLabel_1->setObjectName(QStringLiteral("m_philoLabel_1"));
2012-08-14 18:00:48 -04:00
m_philoLabel_1->setGeometry(QRect(240, 100, 80, 74));
m_philoLabel_1->setPixmap(QPixmap(QString::fromUtf8(":/res/thinking.png")));
m_philoLabel_2 = new QLabel(Gui);
2013-10-10 20:01:51 -04:00
m_philoLabel_2->setObjectName(QStringLiteral("m_philoLabel_2"));
2012-08-14 18:00:48 -04:00
m_philoLabel_2->setGeometry(QRect(190, 230, 80, 74));
m_philoLabel_2->setPixmap(QPixmap(QString::fromUtf8(":/res/thinking.png")));
m_philoLabel_3 = new QLabel(Gui);
2013-10-10 20:01:51 -04:00
m_philoLabel_3->setObjectName(QStringLiteral("m_philoLabel_3"));
2012-08-14 18:00:48 -04:00
m_philoLabel_3->setGeometry(QRect(60, 230, 80, 74));
m_philoLabel_3->setPixmap(QPixmap(QString::fromUtf8(":/res/thinking.png")));
m_philoLabel_4 = new QLabel(Gui);
2013-10-10 20:01:51 -04:00
m_philoLabel_4->setObjectName(QStringLiteral("m_philoLabel_4"));
2012-08-14 18:00:48 -04:00
m_philoLabel_4->setGeometry(QRect(10, 100, 80, 74));
m_philoLabel_4->setPixmap(QPixmap(QString::fromUtf8(":/res/thinking.png")));
label = new QLabel(Gui);
2013-10-10 20:01:51 -04:00
label->setObjectName(QStringLiteral("label"));
2012-08-14 18:00:48 -04:00
label->setGeometry(QRect(20, 320, 51, 16));
m_epoolLabel = new QLabel(Gui);
2013-10-10 20:01:51 -04:00
m_epoolLabel->setObjectName(QStringLiteral("m_epoolLabel"));
2012-08-14 18:00:48 -04:00
m_epoolLabel->setGeometry(QRect(70, 320, 51, 16));
QWidget::setTabOrder(m_pauseButton, m_quitButton);
retranslateUi(Gui);
QObject::connect(m_quitButton, SIGNAL(clicked()), Gui, SLOT(onQuit()));
QObject::connect(m_pauseButton, SIGNAL(pressed()), Gui, SLOT(onPausePressed()));
QObject::connect(m_pauseButton, SIGNAL(released()), Gui, SLOT(onPauseReleased()));
QObject::connect(Gui, SIGNAL(finished(int)), Gui, SLOT(onQuit()));
QMetaObject::connectSlotsByName(Gui);
} // setupUi
void retranslateUi(QDialog *Gui)
{
2013-10-10 20:01:51 -04:00
Gui->setWindowTitle(QApplication::translate("Gui", "Dialog", 0));
m_pauseButton->setText(QApplication::translate("Gui", "SERVING", 0));
m_quitButton->setText(QApplication::translate("Gui", "Quit", 0));
2012-08-14 18:00:48 -04:00
m_philoLabel_0->setText(QString());
m_philoLabel_1->setText(QString());
m_philoLabel_2->setText(QString());
m_philoLabel_3->setText(QString());
m_philoLabel_4->setText(QString());
2013-10-10 20:01:51 -04:00
label->setText(QApplication::translate("Gui", "MPool[0]:", 0));
m_epoolLabel->setText(QApplication::translate("Gui", "?", 0));
2012-08-14 18:00:48 -04:00
} // retranslateUi
};
namespace Ui {
class Gui: public Ui_Gui {};
} // namespace Ui
QT_END_NAMESPACE
#endif // UI_GUI_H