KDEUI
kwidgetitemdelegatepool.cpp
Go to the documentation of this file.
57 KWidgetItemDelegateEventListener(KWidgetItemDelegatePoolPrivate *poolPrivate, QObject *parent = 0)
98 if (const QAbstractProxyModel *proxyModel = qobject_cast<const QAbstractProxyModel*>(idx.model())) {
111 // ### KDE5 This sets a property on the delegate because we can't add an argument to createItemWidgets
144 const QAbstractProxyModel *proxyModel = qobject_cast<const QAbstractProxyModel*>(d->delegate->d->model);
173 kWarning() << "User of KWidgetItemDelegate should not delete widgets created by createItemWidgets!";
180 if (dynamic_cast<QInputEvent*>(event) && !poolPrivate->delegate->blockedEventTypes(widget).contains(event->type())) {
void clear()
qreal rotation() const
Type type() const
qreal pressure() const
const QPoint & globalPos() const
Qt::MouseButtons buttons() const
virtual void setVisible(bool visible)
Qt::MouseButtons buttons() const
const QAbstractItemModel * model() const
int yTilt() const
void setParent(QWidget *parent)
TabletDevice device() const
This class allows to create item delegates embedding simple widgets to interact with items...
Definition: kwidgetitemdelegate.h:49
bool isValid() const
bool isValid() const
const QPoint & globalPos() const
qint64 uniqueId() const
const QPointF & hiResGlobalPos() const
void installEventFilter(QObject *filterObj)
Qt::Orientation orientation() const
Qt::MouseButton button() const
bool sendEvent(QObject *receiver, QEvent *event)
void move(int x, int y)
virtual bool eventFilter(QObject *watched, QEvent *event)
PointerType pointerType() const
int z() const
Qt::KeyboardModifiers modifiers() const
QVariant fromValue(const T &value)
int delta() const
const QPoint & globalPos() const
QPoint mapFromGlobal(const QPoint &pos) const
qreal tangentialPressure() const
static QDebug kWarning(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
virtual QModelIndex mapFromSource(const QModelIndex &sourceIndex) const =0
int xTilt() const
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.