#pragma once #include #include "ui_DialogPreferences.h" class DialogPreferences : public QDialog { Q_OBJECT public: DialogPreferences(QWidget *parent = Q_NULLPTR); ~DialogPreferences(); private slots: void on_btn_ok_clicked(); void on_btn_cancel_clicked(); // OEM void on_btn_ImportLogo_clicked(); void on_btn_ImportDesktop_clicked(); void on_btn_ImportSplash_clicked(); void on_cBox_EnHid_stateChanged(int arg1); void on_cBox_EnAutoRun_stateChanged(int arg1); private: Ui::DialogPreferences ui; void setProcessAutoRun(const QString& appPath, bool flag); bool isAutoRun(const QString& appPath); };