KPeople
20 #ifndef MERGEDELEGATE_H
21 #define MERGEDELEGATE_H
23 #include <kpeople/kpeople_export.h>
25 #include <QItemSelection>
26 #include <QItemDelegate>
27 #include <KExtendableItemDelegate>
29 class QAbstractItemView;
32 class KPEOPLE_EXPORT MergeDelegate:
public KExtendableItemDelegate
37 explicit MergeDelegate(QAbstractItemView *parent);
40 static QSize pictureSize();
43 void onClickContactParent(
const QModelIndex &parent);
44 void onSelectedContactsChanged(
const QItemSelection &now,
const QItemSelection &old);
48 void paint(QPainter *painter,
const QStyleOptionViewItem &option,
const QModelIndex &index)
const;
49 QWidget *buildExtensionWidget(
const QModelIndex &idx);
50 QWidget *buildMultipleLineLabel(
const QModelIndex &idx);
52 static QSize s_arrowSize;
53 static QSize s_decorationSize;
56 #endif // MERGEDELEGATE_H
This file is part of the KDE documentation.
Documentation copyright © 1996-2015 The KDE developers.
Generated on Fri Feb 13 2015 15:16:39 by
doxygen 1.8.9.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.