| 1 |
/******************************************************************************** |
| 2 |
** Form generated from reading UI file 'tetrixwindow.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 TETRIXWINDOW_H |
| 10 |
#define TETRIXWINDOW_H |
| 11 |
|
| 12 |
#include <QtCore/QVariant> |
| 13 |
#include <QtWidgets/QApplication> |
| 14 |
#include <QtWidgets/QGridLayout> |
| 15 |
#include <QtWidgets/QLCDNumber> |
| 16 |
#include <QtWidgets/QLabel> |
| 17 |
#include <QtWidgets/QPushButton> |
| 18 |
#include <QtWidgets/QVBoxLayout> |
| 19 |
#include <QtWidgets/QWidget> |
| 20 |
#include "tetrixboard.h" |
| 21 |
|
| 22 |
QT_BEGIN_NAMESPACE |
| 23 |
|
| 24 |
class Ui_TetrixWindow |
| 25 |
{ |
| 26 |
public: |
| 27 |
QVBoxLayout *vboxLayout; |
| 28 |
QGridLayout *gridLayout; |
| 29 |
QPushButton *startButton; |
| 30 |
QLCDNumber *linesLcd; |
| 31 |
QLabel *linesRemovedLabel; |
| 32 |
QPushButton *pauseButton; |
| 33 |
QLCDNumber *scoreLcd; |
| 34 |
TetrixBoard *board; |
| 35 |
QLabel *levelLabel; |
| 36 |
QLabel *nextLabel; |
| 37 |
QLCDNumber *levelLcd; |
| 38 |
QLabel *scoreLabel; |
| 39 |
QLabel *nextPieceLabel; |
| 40 |
QPushButton *quitButton; |
| 41 |
|
| 42 |
void setupUi(QWidget *TetrixWindow) |
| 43 |
{ |
| 44 |
if (TetrixWindow->objectName().isEmpty()) |
| 45 |
TetrixWindow->setObjectName(QString::fromUtf8("TetrixWindow")); |
| 46 |
TetrixWindow->resize(537, 475); |
| 47 |
vboxLayout = new QVBoxLayout(TetrixWindow); |
| 48 |
#ifndef Q_OS_MAC |
| 49 |
vboxLayout->setSpacing(6); |
| 50 |
#endif |
| 51 |
#ifndef Q_OS_MAC |
| 52 |
vboxLayout->setContentsMargins(9, 9, 9, 9); |
| 53 |
#endif |
| 54 |
vboxLayout->setObjectName(QString::fromUtf8("vboxLayout")); |
| 55 |
gridLayout = new QGridLayout(); |
| 56 |
#ifndef Q_OS_MAC |
| 57 |
gridLayout->setSpacing(6); |
| 58 |
#endif |
| 59 |
#ifndef Q_OS_MAC |
| 60 |
gridLayout->setContentsMargins(0, 0, 0, 0); |
| 61 |
#endif |
| 62 |
gridLayout->setObjectName(QString::fromUtf8("gridLayout")); |
| 63 |
startButton = new QPushButton(TetrixWindow); |
| 64 |
startButton->setObjectName(QString::fromUtf8("startButton")); |
| 65 |
startButton->setFocusPolicy(Qt::NoFocus); |
| 66 |
|
| 67 |
gridLayout->addWidget(startButton, 4, 0, 1, 1); |
| 68 |
|
| 69 |
linesLcd = new QLCDNumber(TetrixWindow); |
| 70 |
linesLcd->setObjectName(QString::fromUtf8("linesLcd")); |
| 71 |
linesLcd->setSegmentStyle(QLCDNumber::Filled); |
| 72 |
|
| 73 |
gridLayout->addWidget(linesLcd, 3, 2, 1, 1); |
| 74 |
|
| 75 |
linesRemovedLabel = new QLabel(TetrixWindow); |
| 76 |
linesRemovedLabel->setObjectName(QString::fromUtf8("linesRemovedLabel")); |
| 77 |
linesRemovedLabel->setAlignment(Qt::AlignBottom|Qt::AlignHCenter); |
| 78 |
|
| 79 |
gridLayout->addWidget(linesRemovedLabel, 2, 2, 1, 1); |
| 80 |
|
| 81 |
pauseButton = new QPushButton(TetrixWindow); |
| 82 |
pauseButton->setObjectName(QString::fromUtf8("pauseButton")); |
| 83 |
pauseButton->setFocusPolicy(Qt::NoFocus); |
| 84 |
|
| 85 |
gridLayout->addWidget(pauseButton, 5, 2, 1, 1); |
| 86 |
|
| 87 |
scoreLcd = new QLCDNumber(TetrixWindow); |
| 88 |
scoreLcd->setObjectName(QString::fromUtf8("scoreLcd")); |
| 89 |
scoreLcd->setSegmentStyle(QLCDNumber::Filled); |
| 90 |
|
| 91 |
gridLayout->addWidget(scoreLcd, 1, 2, 1, 1); |
| 92 |
|
| 93 |
board = new TetrixBoard(TetrixWindow); |
| 94 |
board->setObjectName(QString::fromUtf8("board")); |
| 95 |
board->setFocusPolicy(Qt::StrongFocus); |
| 96 |
board->setFrameShape(QFrame::Panel); |
| 97 |
board->setFrameShadow(QFrame::Sunken); |
| 98 |
|
| 99 |
gridLayout->addWidget(board, 0, 1, 6, 1); |
| 100 |
|
| 101 |
levelLabel = new QLabel(TetrixWindow); |
| 102 |
levelLabel->setObjectName(QString::fromUtf8("levelLabel")); |
| 103 |
levelLabel->setAlignment(Qt::AlignBottom|Qt::AlignHCenter); |
| 104 |
|
| 105 |
gridLayout->addWidget(levelLabel, 2, 0, 1, 1); |
| 106 |
|
| 107 |
nextLabel = new QLabel(TetrixWindow); |
| 108 |
nextLabel->setObjectName(QString::fromUtf8("nextLabel")); |
| 109 |
nextLabel->setAlignment(Qt::AlignBottom|Qt::AlignHCenter); |
| 110 |
|
| 111 |
gridLayout->addWidget(nextLabel, 0, 0, 1, 1); |
| 112 |
|
| 113 |
levelLcd = new QLCDNumber(TetrixWindow); |
| 114 |
levelLcd->setObjectName(QString::fromUtf8("levelLcd")); |
| 115 |
levelLcd->setSegmentStyle(QLCDNumber::Filled); |
| 116 |
|
| 117 |
gridLayout->addWidget(levelLcd, 3, 0, 1, 1); |
| 118 |
|
| 119 |
scoreLabel = new QLabel(TetrixWindow); |
| 120 |
scoreLabel->setObjectName(QString::fromUtf8("scoreLabel")); |
| 121 |
scoreLabel->setAlignment(Qt::AlignBottom|Qt::AlignHCenter); |
| 122 |
|
| 123 |
gridLayout->addWidget(scoreLabel, 0, 2, 1, 1); |
| 124 |
|
| 125 |
nextPieceLabel = new QLabel(TetrixWindow); |
| 126 |
nextPieceLabel->setObjectName(QString::fromUtf8("nextPieceLabel")); |
| 127 |
nextPieceLabel->setFrameShape(QFrame::Box); |
| 128 |
nextPieceLabel->setFrameShadow(QFrame::Raised); |
| 129 |
nextPieceLabel->setAlignment(Qt::AlignCenter); |
| 130 |
|
| 131 |
gridLayout->addWidget(nextPieceLabel, 1, 0, 1, 1); |
| 132 |
|
| 133 |
quitButton = new QPushButton(TetrixWindow); |
| 134 |
quitButton->setObjectName(QString::fromUtf8("quitButton")); |
| 135 |
quitButton->setFocusPolicy(Qt::NoFocus); |
| 136 |
|
| 137 |
gridLayout->addWidget(quitButton, 4, 2, 1, 1); |
| 138 |
|
| 139 |
|
| 140 |
vboxLayout->addLayout(gridLayout); |
| 141 |
|
| 142 |
|
| 143 |
retranslateUi(TetrixWindow); |
| 144 |
|
| 145 |
QMetaObject::connectSlotsByName(TetrixWindow); |
| 146 |
} // setupUi |
| 147 |
|
| 148 |
void retranslateUi(QWidget *TetrixWindow) |
| 149 |
{ |
| 150 |
TetrixWindow->setWindowTitle(QCoreApplication::translate("TetrixWindow", "Tetrix", nullptr)); |
| 151 |
startButton->setText(QCoreApplication::translate("TetrixWindow", "&Start", nullptr)); |
| 152 |
linesRemovedLabel->setText(QCoreApplication::translate("TetrixWindow", "LINES REMOVED", nullptr)); |
| 153 |
pauseButton->setText(QCoreApplication::translate("TetrixWindow", "&Pause", nullptr)); |
| 154 |
levelLabel->setText(QCoreApplication::translate("TetrixWindow", "LEVEL", nullptr)); |
| 155 |
nextLabel->setText(QCoreApplication::translate("TetrixWindow", "NEXT", nullptr)); |
| 156 |
scoreLabel->setText(QCoreApplication::translate("TetrixWindow", "SCORE", nullptr)); |
| 157 |
nextPieceLabel->setText(QString()); |
| 158 |
quitButton->setText(QCoreApplication::translate("TetrixWindow", "&Quit", nullptr)); |
| 159 |
} // retranslateUi |
| 160 |
|
| 161 |
}; |
| 162 |
|
| 163 |
namespace Ui { |
| 164 |
class TetrixWindow: public Ui_TetrixWindow {}; |
| 165 |
} // namespace Ui |
| 166 |
|
| 167 |
QT_END_NAMESPACE |
| 168 |
|
| 169 |
#endif // TETRIXWINDOW_H |