forked from flameshot-org/flameshot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfigwindow.h
More file actions
43 lines (31 loc) · 847 Bytes
/
configwindow.h
File metadata and controls
43 lines (31 loc) · 847 Bytes
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
// SPDX-License-Identifier: GPL-3.0-or-later
// SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
#pragma once
#include <QTabWidget>
class FileNameEditor;
class ShortcutsWidget;
class GeneralConf;
class QFileSystemWatcher;
class VisualsEditor;
class QWidget;
class ConfigWindow : public QWidget
{
Q_OBJECT
public:
explicit ConfigWindow(QWidget* parent = nullptr);
signals:
void updateChildren();
protected:
void keyPressEvent(QKeyEvent*);
private:
QTabWidget* m_tabWidget;
FileNameEditor* m_filenameEditor;
QWidget* m_filenameEditorTab;
ShortcutsWidget* m_shortcuts;
QWidget* m_shortcutsTab;
GeneralConf* m_generalConfig;
QWidget* m_generalConfigTab;
VisualsEditor* m_visuals;
QWidget* m_visualsTab;
void initErrorIndicator(QWidget* tab, QWidget* widget);
};