KProperty
linestyleedit.cpp
117 QRect r = style->subControlRect(QStyle::CC_ComboBox, &cbOption, QStyle::SC_ComboBoxEditField, nullptr);
122QString KPropertyLineStyleComboDelegate::valueToString(const QVariant& value, const QLocale &locale) const
124 Qt::PenStyle style = (value.isNull() || !value.canConvert(QVariant::Int) || value.toInt() > Qt::CustomDashLine
const KPropertyEditorCreatorOptions * options() const
Options for editor creating.
Definition KPropertyWidgetsFactory.cpp:302
Line style combo box (KProperty::LineStyle, equivalent of Qt::PenStyle)
Definition linestyleedit.h:31
bool isValid(QStringView ifopt)
QVariant data(int role) const const
objectName
QPaintDevice * device() const const
int left() const const
void setRight(int x)
QString arg(Args &&... args) const const
QString fromLatin1(QByteArrayView str)
CC_ComboBox
SC_ComboBoxEditField
virtual QRect subControlRect(ComplexControl control, const QStyleOptionComplex *option, SubControl subControl, const QWidget *widget) const const=0
EditRole
CustomDashLine
QFuture< ArgsType< Signal > > connect(Sender *sender, Signal signal)
bool canConvert() const const
bool isNull() const const
int toInt(bool *ok) const const
QStyle * style() const const
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.