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