-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathui_MainWindow.h
180 lines (139 loc) · 6.11 KB
/
ui_MainWindow.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
#ifndef UI_MAINWINDOW_H
#define UI_MAINWINDOW_H
#include <QtCore/QVariant>
#include <QAction>
#include <QApplication>
#include <QButtonGroup>
#include <QHBoxLayout>
#include <QHeaderView>
#include <QLabel>
#include <QMainWindow>
#include <QPushButton>
#include <QSpacerItem>
#include <QVBoxLayout>
#include <QWidget>
QT_BEGIN_NAMESPACE
class Ui_MainWindow
{
public:
QWidget *centralWidget;
QWidget *verticalLayoutWidget;
QVBoxLayout *verticalLayout;
QHBoxLayout *horizontalLayout;
QPushButton *modeMenu;
QPushButton *play;
QPushButton *changeSequence;
QPushButton *changeWords;
QPushButton *clearTraining;
QPushButton *prefs;
QLabel *helpBar;
QHBoxLayout *horizontalLayout_5;
QLabel *letter;
QLabel *WPM;
QHBoxLayout *forModes;
QHBoxLayout *horizontalLayout_6;
QLabel *label_2;
QSpacerItem *verticalSpacer;
QPushButton *homeButton;
QPushButton *helpButton;
void setupUi(QMainWindow *MainWindow)
{
if (MainWindow->objectName().isEmpty())
MainWindow->setObjectName(QString::fromUtf8("MainWindow"));
MainWindow->resize(800, 300);
MainWindow->setMinimumSize(QSize(0, 300));
centralWidget = new QWidget(MainWindow);
centralWidget->setObjectName(QString::fromUtf8("centralWidget"));
verticalLayoutWidget = new QWidget(centralWidget);
verticalLayoutWidget->setObjectName(QString::fromUtf8("verticalLayoutWidget"));
verticalLayoutWidget->setGeometry(QRect(10, 10, 781, 281));
verticalLayout = new QVBoxLayout(verticalLayoutWidget);
verticalLayout->setSpacing(6);
verticalLayout->setContentsMargins(11, 11, 11, 11);
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
verticalLayout->setContentsMargins(0, 0, 0, 0);
horizontalLayout = new QHBoxLayout();
horizontalLayout->setSpacing(6);
horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
modeMenu = new QPushButton(verticalLayoutWidget);
modeMenu->setObjectName(QString::fromUtf8("modeMenu"));
horizontalLayout->addWidget(modeMenu);
play = new QPushButton(verticalLayoutWidget);
play->setObjectName(QString::fromUtf8("play"));
horizontalLayout->addWidget(play);
changeSequence = new QPushButton(verticalLayoutWidget);
changeSequence->setObjectName(QString::fromUtf8("changeSequence"));
horizontalLayout->addWidget(changeSequence);
changeWords = new QPushButton(verticalLayoutWidget);
changeWords->setObjectName(QString::fromUtf8("changeWords"));
horizontalLayout->addWidget(changeWords);
clearTraining = new QPushButton(verticalLayoutWidget);
clearTraining->setObjectName(QString::fromUtf8("clearTraining"));
horizontalLayout->addWidget(clearTraining);
prefs = new QPushButton(verticalLayoutWidget);
prefs->setObjectName(QString::fromUtf8("prefs"));
horizontalLayout->addWidget(prefs);
verticalLayout->addLayout(horizontalLayout);
helpBar = new QLabel(verticalLayoutWidget);
helpBar->setObjectName(QString::fromUtf8("helpBar"));
QFont font;
font.setPointSize(14);
font.setItalic(false);
helpBar->setFont(font);
helpBar->setWordWrap(true);
verticalLayout->addWidget(helpBar);
horizontalLayout_5 = new QHBoxLayout();
horizontalLayout_5->setSpacing(6);
horizontalLayout_5->setObjectName(QString::fromUtf8("horizontalLayout_5")); letter = new QLabel(verticalLayoutWidget);
letter->setObjectName(QString::fromUtf8("letter"));
QFont font1;
font1.setPointSize(24);
font1.setBold(true);
font1.setWeight(QFont::Weight(75));
letter->setFont(font1);
horizontalLayout_5->addWidget(letter);
WPM = new QLabel(verticalLayoutWidget);
WPM->setObjectName(QString::fromUtf8("WPM"));
WPM->setFont(font1);
horizontalLayout_5->addWidget(WPM);
verticalLayout->addLayout(horizontalLayout_5);
forModes = new QHBoxLayout();
forModes->setSpacing(6);
forModes->setObjectName(QString::fromUtf8("forModes"));
forModes->setSizeConstraint(QLayout::SetNoConstraint);
verticalLayout->addLayout(forModes);
horizontalLayout_6 = new QHBoxLayout();
horizontalLayout_6->setSpacing(6);
horizontalLayout_6->setObjectName(QString::fromUtf8("horizontalLayout_6"));
label_2 = new QLabel(verticalLayoutWidget);
label_2->setObjectName(QString::fromUtf8("label_2"));
QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Preferred);
sizePolicy.setHeightForWidth(label_2->sizePolicy().hasHeightForWidth());
label_2->setSizePolicy(sizePolicy);
label_2->setMinimumSize(QSize(200, 0));
horizontalLayout_6->addWidget(label_2);
verticalLayout->addLayout(horizontalLayout_6);
verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
verticalLayout->addItem(verticalSpacer);
MainWindow->setCentralWidget(centralWidget);
retranslateUi(MainWindow);
QMetaObject::connectSlotsByName(MainWindow);
} // setupUi
void retranslateUi(QMainWindow *MainWindow)
{
MainWindow->setWindowTitle(QApplication::translate("MainWindow", "Cute CW", 0));
modeMenu->setText(QApplication::translate("MainWindow", "Mode", 0));
play->setText(QApplication::translate("MainWindow", "Play", 0));
changeSequence->setText(QApplication::translate("MainWindow", "Sequence", 0));
changeWords->setText(QApplication::translate("MainWindow", "Change Words", 0));
clearTraining->setText(QApplication::translate("MainWindow", "Clear Training", 0));
prefs->setText(QApplication::translate("MainWindow", "Preferences", 0));
helpBar->setText(QString());
label_2->setText(QApplication::translate("MainWindow", "Average WPM:", 0));
} // retranslateUi
};
namespace Ui {
class MainWindow: public Ui_MainWindow {};
} // namespace Ui
QT_END_NAMESPACE
#endif // UI_MAINWINDOW_H