11#ifndef KEYBOARDTHEMEDIALOG_H
12#define KEYBOARDTHEMEDIALOG_H
21#include <QDialogButtonBox>
22#include <QTableWidgetItem>
24#include "Models/KeyboardMap.h"
25#include "Stores/KeyboardStore.h"
47 Ui::KeyboardTheme *ui;
49 QMap<QString, KeyboardMap> themes;
51 QStringList functionList;
63 QString restoreThemeName;
64 QMap<QString, KeyboardMap> restoreThemes;
65 int restoreThemeIndex;
67 void setTheme(
const QString &themeName);
71 void themesApplied(
const QString &themeName);
75 void handleThemeChanged(
const QString &name);
77 void validateThemeName(
const QString &name);
79 void createNewTheme();
87 void truncateShortcut();
89 void handleSpecialKey(
const QString &symbolic);
90 void populateKeySequence(
int row,
const QString &functionName,
const QStringList &keyList);
Definition KeyboardStore.h:21
Definition KeyboardMap.h:26