qnetdice

view src/mainwin.h @ 1:92377189a5c6

moving along
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 22 Dec 2013 04:08:50 +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_