qnetdice

annotate src/mainwin.h @ 3:2e57c80653af

more stuff
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 23 Dec 2013 06:09:25 +0200
parents 0e9c16d77e47
children
rev   line source
nuclear@1 1 #ifndef MAINWIN_H_
nuclear@1 2 #define MAINWIN_H_
nuclear@0 3
nuclear@0 4 #include <QMainWindow>
nuclear@1 5 #include <QVBoxLayout>
nuclear@1 6 #include "rollwidget.h"
nuclear@0 7
nuclear@0 8 namespace Ui {
nuclear@0 9 class MainWindow;
nuclear@0 10 }
nuclear@0 11
nuclear@1 12 class MainWindow : public QMainWindow {
nuclear@1 13 Q_OBJECT
nuclear@1 14 private:
nuclear@1 15 Ui::MainWindow *ui;
nuclear@1 16 QVBoxLayout *dicebox;
nuclear@1 17
nuclear@1 18 private slots:
nuclear@1 19 void roll_all();
nuclear@1 20 void add_dice();
nuclear@1 21 void clear_dice();
nuclear@1 22
nuclear@1 23 void start_client();
nuclear@1 24 void start_server();
nuclear@0 25
nuclear@0 26 public:
nuclear@1 27 explicit MainWindow(QWidget *parent = 0);
nuclear@1 28 ~MainWindow();
nuclear@0 29 };
nuclear@0 30
nuclear@1 31 #endif // MAINWIN_H_