qnetdice
view src/mainwin.h @ 4:7d28bef3fbca
ops, forgot to add +1 to random numbers in roll.cc to make them 1-based
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 23 Dec 2013 17:40:34 +0200 |
parents | 0e9c16d77e47 |
children |
line source
1 #ifndef MAINWIN_H_
2 #define MAINWIN_H_
4 #include <QMainWindow>
5 #include <QVBoxLayout>
6 #include "rollwidget.h"
8 namespace Ui {
9 class MainWindow;
10 }
12 class MainWindow : public QMainWindow {
13 Q_OBJECT
14 private:
15 Ui::MainWindow *ui;
16 QVBoxLayout *dicebox;
18 private slots:
19 void roll_all();
20 void add_dice();
21 void clear_dice();
23 void start_client();
24 void start_server();
26 public:
27 explicit MainWindow(QWidget *parent = 0);
28 ~MainWindow();
29 };
31 #endif // MAINWIN_H_