-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathui_start.h
More file actions
103 lines (91 loc) · 6.19 KB
/
ui_start.h
File metadata and controls
103 lines (91 loc) · 6.19 KB
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
/********************************************************************************
** Form generated from reading UI file 'start.ui'
**
** Created by: Qt User Interface Compiler version 5.12.1
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/
#ifndef UI_START_H
#define UI_START_H
#include <QtCore/QVariant>
#include <QtWidgets/QApplication>
#include <QtWidgets/QDialog>
#include <QtWidgets/QTextBrowser>
#include <QtWidgets/QToolButton>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
QT_BEGIN_NAMESPACE
class Ui_start
{
public:
QWidget *verticalLayoutWidget;
QVBoxLayout *startLable;
QTextBrowser *rules;
QToolButton *toolButton;
void setupUi(QDialog *start)
{
if (start->objectName().isEmpty())
start->setObjectName(QString::fromUtf8("start"));
start->setEnabled(true);
start->resize(650, 650);
QPalette palette;
QBrush brush(QColor(255, 255, 255, 255));
brush.setStyle(Qt::SolidPattern);
palette.setBrush(QPalette::Active, QPalette::Base, brush);
QBrush brush1(QColor(255, 255, 197, 255));
brush1.setStyle(Qt::SolidPattern);
palette.setBrush(QPalette::Active, QPalette::Window, brush1);
palette.setBrush(QPalette::Inactive, QPalette::Base, brush);
palette.setBrush(QPalette::Inactive, QPalette::Window, brush1);
palette.setBrush(QPalette::Disabled, QPalette::Base, brush1);
palette.setBrush(QPalette::Disabled, QPalette::Window, brush1);
start->setPalette(palette);
QFont font;
font.setFamily(QString::fromUtf8("Arial"));
font.setPointSize(10);
start->setFont(font);
verticalLayoutWidget = new QWidget(start);
verticalLayoutWidget->setObjectName(QString::fromUtf8("verticalLayoutWidget"));
verticalLayoutWidget->setGeometry(QRect(230, 80, 151, 51));
startLable = new QVBoxLayout(verticalLayoutWidget);
startLable->setObjectName(QString::fromUtf8("startLable"));
startLable->setContentsMargins(0, 0, 0, 0);
rules = new QTextBrowser(start);
rules->setObjectName(QString::fromUtf8("rules"));
rules->setGeometry(QRect(150, 160, 341, 361));
toolButton = new QToolButton(start);
toolButton->setObjectName(QString::fromUtf8("toolButton"));
toolButton->setGeometry(QRect(544, 30, 61, 21));
toolButton->setStyleSheet(QString::fromUtf8("QPushButton\n"
"{\n"
" color: red;\n"
"}"));
retranslateUi(start);
QMetaObject::connectSlotsByName(start);
} // setupUi
void retranslateUi(QDialog *start)
{
start->setWindowTitle(QApplication::translate("start", "Dialog", nullptr));
rules->setHtml(QApplication::translate("start", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:'Arial'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600; color:#000000;\">Rules</span></p>\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; color:#000000;\"><br /></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" color:#000000;\">Italian draughts is a variant of the draughts family played mainly in Italy and Northern Africa. It is a two-handed game played on a board consisting of si"
"xty-four squares, thirty-two white and thirty-two black. There are twenty-four pieces: twelve white and twelve black. The board is placed so that the rightmost square on both sides of the board is black.</span></p>\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; color:#000000;\"><br /></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" color:#000000;\">White always moves first, and players alternate moving. Men (called pedine\342\200\224a single man is called pedina) move one square diagonally forward. Should they reach the file farthest from the player to which they belong, they become kings. Kings can move forward or back one square, again only diagonally.</span></p>\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; color"
":#000000;\"><br /></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" color:#000000;\">Capturing is mandatory in Italian draughts. Should a man be found neighbouring an opposing piece behind which is an empty position, the player is compelled to attain this empty position and remove the opposing man from the board. Men may only capture diagonally forward. Kings move, as well as capture, backwards.</span></p>\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; color:#000000;\"><br /></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" color:#000000;\">A player wins when he has succeeded in capturing all of his opponent's pieces, or if his opponent resigns, or there are no possible moves left.</span></p></body></html>", nullptr));
toolButton->setText(QApplication::translate("start", "Settings", nullptr));
} // retranslateUi
};
namespace Ui {
class start: public Ui_start {};
} // namespace Ui
QT_END_NAMESPACE
#endif // UI_START_H