KProperty
KColorCombo.cpp
43 void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override;
68void KColorComboDelegate::paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const
73 bool paletteBrush = (k_colorcombodelegate_brush(index, Qt::BackgroundRole).style() == Qt::NoBrush);
126QSize KColorComboDelegate::sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const
295 QRect frame = style()->subControlRect(QStyle::CC_ComboBox, &opt, QStyle::SC_ComboBoxEditField, this);
KIOCORE_EXPORT QStringList list(const QString &fileClass)
QStyle * style()
Qt::BrushStyle style() const const
bool isValid() const const
QColor getColor(const QColor &initial, QWidget *parent, const QString &title, ColorDialogOptions options)
void clear()
count
frame
virtual void initStyleOption(QStyleOptionComboBox *option) const const
QVariant data(int role) const const
QObject(QObject *parent)
virtual bool event(QEvent *e)
QObject * parent() const const
QString tr(const char *sourceText, const char *disambiguation, int n)
typedef RenderHints
void drawRoundedRect(const QRect &rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode)
void drawText(const QPoint &position, const QString &text)
RenderHints renderHints() const const
void setBrush(Qt::BrushStyle style)
void setPen(Qt::PenStyle style)
void setRenderHint(RenderHint hint, bool on)
void setRenderHints(RenderHints hints, bool on)
Highlight
QRect adjusted(int dx1, int dy1, int dx2, int dy2) const const
CC_ComboBox
PE_PanelItemViewItem
State_Selected
SC_ComboBoxEditField
virtual void drawPrimitive(PrimitiveElement element, const QStyleOption *option, QPainter *painter, const QWidget *widget) const const=0
virtual QRect subControlRect(ComplexControl control, const QStyleOptionComplex *option, SubControl subControl, const QWidget *widget) const const=0
NoBrush
white
UserRole
QFuture< ArgsType< Signal > > connect(Sender *sender, Signal signal)
Brush
Type type() const const
QString toString() const const
T value() const const
palette
QStyle * style() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:57:41 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:57:41 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.