KNewStuff
itemsviewbasedelegate.h
Go to the documentation of this file.
44 explicit ItemsViewBaseDelegate(QAbstractItemView* itemView, Engine* engine, QObject* parent = 0);
47 virtual void paint(QPainter * painter, const QStyleOptionViewItem & option, const QModelIndex & index) const = 0;
virtual ~ItemsViewBaseDelegate()
Definition itemsviewbasedelegate.cpp:45
void signalShowDetails(const KNS3::EntryInternal &entry)
virtual QList< QWidget * > createItemWidgets() const =0
KIcon m_iconDownloadable
Definition itemsviewbasedelegate.h:74
void slotDetailsClicked()
Definition itemsviewbasedelegate.cpp:98
virtual void updateItemWidgets(const QList< QWidget * > widgets, const QStyleOptionViewItem &option, const QPersistentModelIndex &index) const =0
virtual QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const =0
bool eventFilter(QObject *watched, QEvent *event)
Definition itemsviewbasedelegate.cpp:49
void slotInstallClicked()
Definition itemsviewbasedelegate.cpp:69
QAbstractItemView * m_itemView
Definition itemsviewbasedelegate.h:72
void slotInstallActionTriggered(QAction *action)
Definition itemsviewbasedelegate.cpp:87
virtual void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const =0
ItemsViewBaseDelegate(QAbstractItemView *itemView, Engine *engine, QObject *parent=0)
Definition itemsviewbasedelegate.cpp:31
void slotLinkClicked(const QString &url)
Definition itemsviewbasedelegate.cpp:59
QAbstractItemView * itemView() const
KWidgetItemDelegate(QAbstractItemView *itemView, QObject *parent=0)
Definition atticaprovider.cpp:36
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.13.2 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.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.