KProperty
KPropertyUtils.cpp
40static void paintListViewExpander(QPainter* p, QWidget* w, int height, const QPalette& palette, bool isOpen)
61 p->drawLine(xmarg + 2, marg + BRANCHBOX_SIZE / 2, xmarg + BRANCHBOX_SIZE - 3, marg + BRANCHBOX_SIZE / 2);
213 if (me->button() == Qt::LeftButton && d->contents && d->groupWidget->rect().contains(me->pos())) {
260 const QString xdgSessionDesktop = QString::fromLatin1(qgetenv("XDG_CURRENT_DESKTOP").trimmed());
static QColor defaultGridLineColor()
Definition KPropertyEditorView.h:54
QColor gridLineColor() const
Definition KPropertyEditorView.cpp:665
A container widget that can be used to split information into hideable sections for a property editor...
Definition KPropertyUtils.h:32
void addWidget(QWidget *widget, int stretch, Qt::Alignment alignment)
virtual void invalidate() override
QRgb rgb() const const
MouseButtonPress
Type type() const const
void setBold(bool enable)
void removeWidget(QWidget *widget)
const QAbstractItemModel * model() const const
QPoint pos() const const
QObject * parent() const const
void drawLine(const QLine &line)
void drawPixmap(const QPoint &point, const QPixmap &pixmap)
void drawRect(const QRect &rectangle)
void drawText(const QPoint &position, const QString &text)
void fillRect(const QRect &rectangle, QGradient::Preset preset)
const QFont & font() const const
void setFont(const QFont &font)
void setPen(Qt::PenStyle style)
Base
const QBrush & brush(ColorGroup group, ColorRole role) const const
const QColor & color(ColorGroup group, ColorRole role) const const
int height() const const
bool isNull() const const
int width() const const
Qt::MouseButton button() const const
Preferred
int compare(QLatin1StringView s1, const QString &s2, Qt::CaseSensitivity cs)
QString fromLatin1(QByteArrayView str)
bool isEmpty() const const
CE_Header
State_Sunken
virtual void drawControl(ControlElement element, const QStyleOption *option, QPainter *painter, const QWidget *widget) const const=0
void initFrom(const QWidget *widget)
AlignLeft
CaseInsensitive
lightGray
LeftButton
TextSingleLine
virtual bool event(QEvent *event) override
QFontMetrics fontMetrics() const const
height
palette
QWidget * parentWidget() const const
rect
sizeHint
void setSizePolicy(QSizePolicy)
QStyle * style() const const
void update()
width
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:11:18 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:11:18 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.