-
Notifications
You must be signed in to change notification settings - Fork 0
/
qtk3opeenrijmenudialog.h
61 lines (45 loc) · 1.29 KB
/
qtk3opeenrijmenudialog.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
#ifndef QTK3OPEENRIJMENUDIALOG_H
#define QTK3OPEENRIJMENUDIALOG_H
#include <string>
#include <vector>
#include <QDialog>
#include "connectthreeresources.h"
#include "k3opeenrijnames.h"
namespace Ui {
class QtK3OpEenRijMenuDialog;
}
namespace ribi {
namespace koer {
struct QtK3OpEenRijSelectPlayerWidget;
struct QtK3OpEenRijResources;
class QtK3OpEenRijMenuDialog : public QDialog
{
Q_OBJECT
public:
///Won't throw, as all resources are present
explicit QtK3OpEenRijMenuDialog(
const QtK3OpEenRijResources& resources,
QWidget *parent = 0
) noexcept;
QtK3OpEenRijMenuDialog(const QtK3OpEenRijMenuDialog&) = delete;
QtK3OpEenRijMenuDialog& operator=(const QtK3OpEenRijMenuDialog&) = delete;
~QtK3OpEenRijMenuDialog() noexcept;
private:
Ui::QtK3OpEenRijMenuDialog *ui;
QtK3OpEenRijSelectPlayerWidget * m_select;
const QtK3OpEenRijResources& m_resources;
private slots:
void on_button_about_clicked() noexcept;
void on_button_instructions_clicked() noexcept;
void on_button_quit_clicked() noexcept;
void on_button_start_clicked() noexcept;
};
ribi::con3::Resources Convert(
const QtK3OpEenRijResources r,
const BlackHairedGirl black,
const BlondeGirl blond,
const RedHairedGirl red
);
} //~namespace koer
} //~namespace ribi
#endif // QTK3OPEENRIJMENUDIALOG_H