lokalize
fastsizehintitemdelegate.cpp
Go to the documentation of this file.
31 FastSizeHintItemDelegate::FastSizeHintItemDelegate(QObject *parent, const QVector<bool>& slc, const QVector<bool>& rtc)
43 QSize FastSizeHintItemDelegate::sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const
60 void FastSizeHintItemDelegate::paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const
88 cache.object(rc.v)->setTextFormat(richTextColumns.at(index.column())?Qt::RichText:Qt::PlainText);
void setOpacity(qreal opacity)
int indexOf(QChar ch, int from, Qt::CaseSensitivity cs) const
int & rx()
void fillRect(const QRectF &rectangle, const QBrush &brush)
void drawStaticText(const QPointF &topLeftPosition, const QStaticText &staticText)
bool contains(const Key &key) const
void setClipping(bool enable)
QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const
Definition: fastsizehintitemdelegate.cpp:43
int size() const
void save()
T * object(const Key &key) const
void drawLine(const QLineF &line)
QSizeF size() const
const QColor & color() const
QString convertFromPlainText(const QString &plain, WhiteSpaceMode mode)
QString fromRawData(const QChar *unicode, int size)
FastSizeHintItemDelegate(QObject *parent, const QVector< bool > &slc, const QVector< bool > &rtc)
Definition: fastsizehintitemdelegate.cpp:31
void setPen(const QColor &color)
int row() const
bool insert(const Key &key, T *object, int cost)
void restore()
const QChar * unicode() const
const T & at(int i) const
void setClipRect(const QRectF &rectangle, Qt::ClipOperation operation)
QVariant data(int role) const
QString convertToHtml(QString str, bool italics)
Definition: fastsizehintitemdelegate.cpp:119
int count() const
int height() const
int column() const
int length() const
int averageCharWidth() const
QString toString() const
qreal width() const
void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const
Definition: fastsizehintitemdelegate.cpp:60
void clear()
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:07 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:40:07 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.