9#ifndef KISSHORTCUTSDIALOG_P_H
10#define KISSHORTCUTSDIALOG_P_H
16#include <kextendableitemdelegate.h>
17#include <klocalizedstring.h>
18#include <kmessagebox.h>
20#include <QKeySequence>
110 QSize
sizeHint(
const QStyleOptionViewItem &option,
const QModelIndex &index)
const override;
148 void stealShortcut(
const QKeySequence &seq, QAction *action);
169 ShortcutEditWidget(QWidget *viewport,
const QKeySequence &defaultSeq,
const QKeySequence &activeSeq,
170 bool allowLetterShortcuts);
QKeySequence alternateSequence(const QList< QKeySequence > &sequences)
QKeySequence primarySequence(const QList< QKeySequence > &sequences)
A container for a set of QAction objects.
KisShortcutsDialogPrivate(KisShortcutsDialog *q)
QHash< QString, KisKActionCollection * > m_collections
void changeShortcutScheme(const QString &scheme)
KisShortcutsEditor * m_shortcutsEditor
KisKShortcutSchemesEditor * m_schemeEditor
void keySequenceChanged(const QKeySequence &)
void hiddenBySearchLine(QTreeWidgetItem *, bool)
void itemCollapsed(QModelIndex index)
KisShortcutsEditorDelegate(QTreeWidget *parent, bool allowLetterShortcuts)
QList< KisKActionCollection * > m_checkActionCollections
List of actionCollections to check for conflicts.
QPersistentModelIndex m_editingIndex
QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const override
void stealShortcut(const QKeySequence &seq, QAction *action)
bool m_allowLetterShortcuts
void setCheckActionCollections(const QList< KisKActionCollection * > checkActionCollections)
void itemActivated(QModelIndex index)
bool eventFilter(QObject *, QEvent *) override
void shortcutChanged(QVariant, const QModelIndex &)
Widget for configuration of KAccel and KGlobalAccel.