DialogPreferences.h 638 B

1234567891011121314151617181920212223242526272829303132333435
  1. #pragma once
  2. #include <QDialog>
  3. #include "ui_DialogPreferences.h"
  4. class DialogPreferences : public QDialog
  5. {
  6. Q_OBJECT
  7. public:
  8. DialogPreferences(QWidget *parent = Q_NULLPTR);
  9. ~DialogPreferences();
  10. private slots:
  11. void on_btn_ok_clicked();
  12. void on_btn_cancel_clicked();
  13. // OEM
  14. void on_btn_ImportLogo_clicked();
  15. void on_btn_ImportDesktop_clicked();
  16. void on_btn_ImportSplash_clicked();
  17. void on_cBox_EnHid_stateChanged(int arg1);
  18. void on_cBox_EnAutoRun_stateChanged(int arg1);
  19. private:
  20. Ui::DialogPreferences ui;
  21. void setProcessAutoRun(const QString& appPath, bool flag);
  22. bool isAutoRun(const QString& appPath);
  23. };