Your warranties manager
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

34 lines
620 B

  1. #ifndef SETTINGSDIALOG_H
  2. #define SETTINGSDIALOG_H
  3. #include <QDialog>
  4. #include <QSettings>
  5. namespace Ui {
  6. class SettingsDialog;
  7. }
  8. class SettingsDialog : public QDialog
  9. {
  10. Q_OBJECT
  11. public:
  12. explicit SettingsDialog(QWidget *parent = 0);
  13. ~SettingsDialog();
  14. private slots:
  15. void on_btnChangeSavePlace_clicked();
  16. void on_buttonBox_accepted();
  17. signals:
  18. void dontSaveOnQuit(); // Signal indiquant à la fenêtre principale de ne pas enregistrer à la fermeture.
  19. private:
  20. Ui::SettingsDialog *ui;
  21. QSettings *settings;
  22. QString savePlace;
  23. bool replaceFile;
  24. };
  25. #endif // SETTINGSDIALOG_H