KDEUI
kwidgetitemdelegate.h
Go to the documentation of this file.
QAbstractItemView * itemView() const
Retrieves the item view this delegate is monitoring.
Definition kwidgetitemdelegate.cpp:209
void setBlockedEventTypes(QWidget *widget, QList< QEvent::Type > types) const
Sets the list of event types that a widget will block.
Definition kwidgetitemdelegate.cpp:303
void paintWidgets(QPainter *painter, const QStyleOptionViewItem &option, const QPersistentModelIndex &index) const
Paint the widgets of the item.
Definition kwidgetitemdelegate.cpp:226
virtual QList< QWidget * > createItemWidgets() 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:308
KWidgetItemDelegate(QAbstractItemView *itemView, QObject *parent=0)
Creates a new ItemDelegate to be used with a given itemview.
Definition kwidgetitemdelegate.cpp:182
QPersistentModelIndex focusedIndex() const
Retrieves the currently focused index.
Definition kwidgetitemdelegate.cpp:214
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.