nuclear@1: #ifndef MAINWIN_H_ nuclear@1: #define MAINWIN_H_ nuclear@0: nuclear@0: #include nuclear@1: #include nuclear@1: #include "rollwidget.h" nuclear@0: nuclear@0: namespace Ui { nuclear@0: class MainWindow; nuclear@0: } nuclear@0: nuclear@1: class MainWindow : public QMainWindow { nuclear@1: Q_OBJECT nuclear@1: private: nuclear@1: Ui::MainWindow *ui; nuclear@1: QVBoxLayout *dicebox; nuclear@1: nuclear@1: private slots: nuclear@1: void roll_all(); nuclear@1: void add_dice(); nuclear@1: void clear_dice(); nuclear@1: nuclear@1: void start_client(); nuclear@1: void start_server(); nuclear@0: nuclear@0: public: nuclear@1: explicit MainWindow(QWidget *parent = 0); nuclear@1: ~MainWindow(); nuclear@0: }; nuclear@0: nuclear@1: #endif // MAINWIN_H_