29 lines
654 B
C++
29 lines
654 B
C++
// For license of this file, see <project-root-folder>/LICENSE.md.
|
|
|
|
#ifndef SETTINGSSHORTCUTS_H
|
|
#define SETTINGSSHORTCUTS_H
|
|
|
|
#include "gui/settings/settingspanel.h"
|
|
|
|
#include "ui_settingsshortcuts.h"
|
|
|
|
class SettingsShortcuts : public SettingsPanel {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit SettingsShortcuts(Settings* settings, QWidget* parent = nullptr);
|
|
virtual ~SettingsShortcuts();
|
|
|
|
virtual QString title() const;
|
|
virtual void loadSettings();
|
|
virtual void saveSettings();
|
|
|
|
private:
|
|
Ui::SettingsShortcuts* m_ui;
|
|
};
|
|
|
|
inline QString SettingsShortcuts::title() const {
|
|
return tr("Keyboard shortcuts");
|
|
}
|
|
|
|
#endif // SETTINGSSHORTCUTS_H
|