KXmlGui
kshortcutseditordelegate.cpp
24KShortcutsEditorDelegate::KShortcutsEditorDelegate(QTreeWidget *parent, bool allowLetterShortcuts)
41 QApplication::style()->drawPrimitive(isRtl ? QStyle::PE_IndicatorArrowLeft : QStyle::PE_IndicatorArrowRight, &option, &p);
92QSize KShortcutsEditorDelegate::sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const
164 editor->setCheckForConflictsAgainst(KKeySequenceWidget::LocalShortcuts | KKeySequenceWidget::GlobalShortcuts
170 connect(editor, &ShortcutEditWidget::keySequenceChanged, this, &KShortcutsEditorDelegate::keySequenceChanged);
171 connect(editor, &ShortcutEditWidget::stealShortcut, this, &KShortcutsEditorDelegate::stealShortcut);
294void KShortcutsEditorDelegate::setCheckActionCollections(const QList<KActionCollection *> &checkActionCollections)
QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const override
const QList< QKeySequence > & cut()
virtual QModelIndex index(int row, int column, const QModelIndex &parent) const const=0
virtual int rowCount(const QModelIndex &parent) const const=0
PositionAtCenter
void clicked(const QModelIndex &index)
QItemSelectionModel * selectionModel() const const
QList< QKeySequence > shortcuts() const const
QStyle * style()
applicationName
MouseButtonPress
Type type() const const
bool isRightToLeft()
bool isSectionHidden(int logicalIndex) const const
SelectCurrent
QModelIndex currentIndex() const const
virtual void select(const QItemSelection &selection, QItemSelectionModel::SelectionFlags command)
virtual void setCurrentIndex(const QModelIndex &index, QItemSelectionModel::SelectionFlags command)
int key() const const
NoMatch
SequenceMatch matches(const QKeySequence &seq) const const
const_reference at(qsizetype i) const const
bool isEmpty() const const
qsizetype size() const const
int column() const const
QVariant data(int role) const const
bool isValid() const const
const QAbstractItemModel * model() const const
int row() const const
QModelIndex sibling(int row, int column) const const
void installEventFilter(QObject *filterObj)
QVariant property(const char *name) const const
qreal devicePixelRatioF() const const
bool isEmpty() const const
PE_IndicatorArrowLeft
virtual void drawPrimitive(PrimitiveElement element, const QStyleOption *option, QPainter *painter, const QWidget *widget) const const=0
transparent
Key_Space
QFuture< ArgsType< Signal > > connect(Sender *sender, Signal signal)
void collapsed(const QModelIndex &index)
QHeaderView * header() const const
virtual void scrollTo(const QModelIndex &index, ScrollHint hint) override
NoChildren
QVariant fromValue(T &&value)
bool toBool() const const
QString toString() const const
T value() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:19:32 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:19:32 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.