Pimcommon
customlogwidget.cpp
23QTextDocument *LogItemDelegate::document(const QStyleOptionViewItem &option, const QModelIndex &index) const
47void LogItemDelegate::paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const
75QSize LogItemDelegate::sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const
92QWidget *LogItemDelegate::createEditor(QWidget *, const QStyleOptionViewItem &, const QModelIndex &) const
161 logText = QStringLiteral("<font color=%1>%2</font>").arg(QColor(Qt::darkGreen).name(), itemText);
NegativeText
Q_SCRIPTABLE QStringList logText()
QString name(GameStandardAction id)
VehicleSection::Type type(QStringView coachNumber, QStringView coachClassification)
virtual QSizeF documentSize() const const=0
QStyle * style()
void setBold(bool enable)
void addItem(QListWidgetItem *item)
count
QListWidgetItem * item(int row) const const
QWidget * itemWidget(QListWidgetItem *item) const const
void scrollToItem(const QListWidgetItem *item, QAbstractItemView::ScrollHint hint)
QFont font() const const
virtual void setData(int role, const QVariant &value)
void setFont(const QFont &font)
void setForeground(const QBrush &brush)
QString text() const const
QVariant data(int role) const const
bool isValid() const const
Antialiasing
const QPen & pen() const const
void restore()
void save()
void setPen(Qt::PenStyle style)
void setRenderHint(RenderHint hint, bool on)
void translate(const QPoint &offset)
WindowText
QSize toSize() const const
QString arg(Args &&... args) const const
PE_PanelItemViewItem
virtual void drawPrimitive(PrimitiveElement element, const QStyleOption *option, QPainter *painter, const QWidget *widget) const const=0
virtual void initStyleOption(QStyleOptionViewItem *option, const QModelIndex &index) const const
black
ForegroundRole
QAbstractTextDocumentLayout * documentLayout() const const
void setDocumentMargin(qreal margin)
void drawContents(QPainter *p, const QRectF &rect)
void setHtml(const QString &html)
void setTextWidth(qreal width)
T value() const const
font
palette
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:39:22 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:39:22 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.