firstrundialog.h 733 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #ifndef FIRSTRUNDIALOG_H
  2. #define FIRSTRUNDIALOG_H
  3. #include <QDialog>
  4. #include <QButtonGroup>
  5. #include <QMessageBox>
  6. namespace Ui {
  7. class FirstRunDialog;
  8. }
  9. class FirstRunDialog : public QDialog
  10. {
  11. Q_OBJECT
  12. public:
  13. explicit FirstRunDialog(QWidget *parent = nullptr);
  14. ~FirstRunDialog();
  15. private slots:
  16. void on_previousPushButton_clicked();
  17. void on_nextPushButton_clicked();
  18. void on_themeGroup_toggled(int id);
  19. private:
  20. Ui::FirstRunDialog *ui;
  21. // [G]: finish is the old signal.
  22. // finishSetup does something with template of database which
  23. // goes over my head but everything works for now. Better naming needed
  24. bool finishSetup();
  25. void finish();
  26. };
  27. #endif // FIRSTRUNDIALOG_H