1 #ifndef CSV_DOC_STARTUP_H 2 #define CSV_DOC_STARTUP_H 3 4 #include <QWidget> 5 6 class QGridLayout; 7 class QString; 8 class QPushButton; 9 class QWidget; 10 class QIcon; 11 12 namespace CSVDoc 13 { 14 class StartupDialogue : public QWidget 15 { 16 Q_OBJECT 17 18 private: 19 20 int mWidth; 21 int mColumn; 22 QGridLayout *mLayout; 23 24 QPushButton *addButton (const QString& label, const QIcon& icon); 25 26 QWidget *createButtons(); 27 28 QWidget *createTools(); 29 30 public: 31 32 StartupDialogue(); 33 34 signals: 35 36 void createGame(); 37 38 void createAddon(); 39 40 void loadDocument(); 41 42 void editConfig(); 43 }; 44 } 45 46 #endif 47