KItemViews
kwidgetitemdelegate.h
40 * KWidgetItemDelegate::updateItemWidgets(const QList<QWidget *>, const QStyleOptionViewItem &, const QPersistentModelIndex &) const
42 * KWidgetItemDelegate::updateItemWidgets(const QList<QWidget *> &, const QStyleOptionViewItem &, const QPersistentModelIndex &) const.
113 virtual void updateItemWidgets(const QList<QWidget *> &widgets, const QStyleOptionViewItem &option, const QPersistentModelIndex &index) const = 0;
QAbstractItemView * itemView() const
Retrieves the item view this delegate is monitoring.
Definition kwidgetitemdelegate.cpp:179
void setBlockedEventTypes(QWidget *widget, const QList< QEvent::Type > &types) const
Sets the list of event types that a widget will block.
Definition kwidgetitemdelegate.cpp:267
virtual QList< QWidget * > createItemWidgets(const QModelIndex &index) const =0
Creates the list of widgets needed for an item.
virtual void updateItemWidgets(const QList< QWidget * > &widgets, const QStyleOptionViewItem &option, const QPersistentModelIndex &index) const =0
Updates a list of widgets for its use inside of the delegate (painting or event handling).
QList< QEvent::Type > blockedEventTypes(QWidget *widget) const
Retrieves the list of blocked event types for the given widget.
Definition kwidgetitemdelegate.cpp:272
KWidgetItemDelegate(QAbstractItemView *itemView, QObject *parent=nullptr)
Creates a new ItemDelegate to be used with a given itemview.
Definition kwidgetitemdelegate.cpp:157
QPersistentModelIndex focusedIndex() const
Retrieves the currently focused index.
Definition kwidgetitemdelegate.cpp:184
QAbstractItemDelegate(QObject *parent)
QObject(QObject *parent)
Q_OBJECTQ_OBJECT
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:56:21 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:56:21 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.