KDEUI
kshortcutseditordelegate.cpp
Go to the documentation of this file.
46 KShortcutsEditorDelegate::KShortcutsEditorDelegate(QTreeWidget *parent, bool allowLetterShortcuts)
60 QApplication::style()->drawPrimitive( isRtl ? QStyle::PE_IndicatorArrowLeft : QStyle::PE_IndicatorArrowRight, &option, &p );
virtual int rowCount(const QModelIndex &parent) const =0
bool isRightToLeft()
KAction * cut(const QObject *recvr, const char *slot, QObject *parent)
Cut selected area and store it in the clipboard.
Definition: kstandardaction.cpp:294
Type type() const
virtual QModelIndex index(int row, int column, const QModelIndex &parent) const =0
Check against global shortcuts.
Definition: kkeysequencewidget.h:103
QModelIndex currentIndex() const
QItemSelectionModel * selectionModel() const
Definition: kgesture.h:152
T value() const
bool isValid() const
SequenceMatch matches(const QKeySequence &seq) const
void installEventFilter(QObject *filterObj)
bool isSectionHidden(int logicalIndex) const
virtual void select(const QModelIndex &index, QFlags< QItemSelectionModel::SelectionFlag > command)
int row() const
int key() const
Check against standard shortcuts.
Definition: kkeysequencewidget.h:102
virtual void scrollTo(const QModelIndex &index, ScrollHint hint)
QVariant fromValue(const T &value)
QKeySequence alternate() const
Returns the alternate key sequence of this shortcut.
Definition: kshortcut.cpp:139
Definition: kstandardaction.h:162
const QAbstractItemModel * model() const
QVariant data(int role) const
QStyle * style()
Definition: kgesture.h:37
QModelIndex sibling(int row, int column) const
virtual int columnCount(const QModelIndex &parent) const =0
int column() const
virtual void drawPrimitive(PrimitiveElement element, const QStyleOption *option, QPainter *painter, const QWidget *widget) const =0
void setCurrentIndex(const QModelIndex &index, QFlags< QItemSelectionModel::SelectionFlag > command)
QHeaderView * header() const
QKeySequence primary() const
Returns the primary key sequence of this shortcut.
Definition: kshortcut.cpp:134
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
virtual QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const
Re-implemented for internal reasons.
Definition: kextendableitemdelegate.cpp:178
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.