-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtabsetting.h
43 lines (34 loc) · 885 Bytes
/
tabsetting.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#pragma once
#include <QWidget>
QT_BEGIN_NAMESPACE
namespace Ui { class TabSetting; }
QT_END_NAMESPACE
class TabSetting : public QWidget
{
Q_OBJECT
public:
explicit TabSetting(QWidget *parent = nullptr);
~TabSetting();
protected:
void showEvent(QShowEvent *event) override;
private:
void initData();
void updateButton();
signals:
void moveLockFileToTrash();
void updateTimerClearLog();
void lockFileListChanged();
private slots:
void onRunOnSystemStartup(const int state);
void onHideMainWindowWhenOpen(const int state);
void onAutoStartHunter(const int state);
void onMoveToTrash(const int state);
void onAutoClearLog(const int state);
void onHoursIndexChanged(const int index);
void onLockFileListIndexChanged();
void onAdd();
void onDelete();
void onDefault();
private:
Ui::TabSetting *ui;
};