KPeople
mergedelegate.cpp
61void MergeDelegate::onSelectedContactsChanged(const QItemSelection &now, const QItemSelection &old)
86 QString display = i18nc("name: merge reasons", "%1: %2", name, m.matchReasons().join(i18nc("reasons join", ", ")));
95void MergeDelegate::paint(QPainter *painter, const QStyleOptionViewItem &optionOld, const QModelIndex &index) const
112 QPoint pixmapPoint = {option.rect.width() / 2 + i * (s_decorationSize.width() + separation), option.rect.top()};
void contractItem(const QModelIndex &index)
bool isExtended(const QModelIndex &index) const
void extendItem(QWidget *extender, const QModelIndex &index)
void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override
QString i18nc(const char *context, const char *text, const TYPE &arg...)
QString name(StandardAction id)
virtual QModelIndex index(int row, int column, const QModelIndex &parent) const const=0
virtual int rowCount(const QModelIndex &parent) const const=0
Sunken
StyledPanel
void setFrameStyle(int style)
QPixmap pixmap(QWindow *window, const QSize &size, Mode mode, State state) const const
QIcon fromTheme(const QString &name)
QModelIndexList indexes() const const
void setAlignment(Qt::Alignment)
QIcon
QVariant data(int role) const const
const QAbstractItemModel * model() const const
QObject * parent() const const
void drawLine(const QLine &line)
void drawPixmap(const QPoint &point, const QPixmap &pixmap)
void setPen(Qt::PenStyle style)
Window
int width() const const
QChar * data()
AlignRight
DisplayRole
int userType() const const
T value() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:03:42 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:03:42 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.