KProperty
combobox.cpp
49KPropertyComboBoxEditorOptions& KPropertyComboBoxEditorOptions::operator=(const KPropertyComboBoxEditorOptions &other)
107 padding-top: %2px; padding-left: %3px; }").arg(borderSheet(this)).arg(paddingTop).arg(paddingLeft);
120 const QString style(widget->parentWidget() ? widget->parentWidget()->style()->objectName() : QString());
226QString KPropertyComboBoxDelegate::propertyValueToString(const KProperty* property, const QLocale &locale) const
246QString KPropertyComboBoxDelegate::valueToString(const QVariant& value, const QLocale &locale) const
264 KPropertyComboBoxEditor *cb = new KPropertyComboBoxEditor(*property->listData(), options, parent);
const KPropertyEditorCreatorOptions * options() const
Options for editor creating.
Definition KPropertyWidgetsFactory.cpp:302
QVariantList keys() const
A list containing all possible keys for a property.
Definition KPropertyListData.cpp:105
QStringList namesAsStringList() const
The list of user-visible translated name elements as strings.
Definition KPropertyListData.cpp:124
QVariantList names() const
The list of user-visible translated name elements.
Definition KPropertyListData.cpp:119
QVariant option(const char *name, const QVariant &defaultValue=QVariant()) const
Returns value of given option Option is set if returned value is not null. If there is no option for ...
Definition KProperty.cpp:564
bool isValid(QStringView ifopt)
KIOCORE_EXPORT QStringList list(const QString &fileClass)
NoInsert
void addItem(const QIcon &icon, const QString &text, const QVariant &userData)
void clear()
count
currentIndex
currentText
bool isEditable() const const
virtual bool event(QEvent *event) override
QString itemText(int index) const const
virtual void paintEvent(QPaintEvent *e) override
void setEditText(const QString &text)
void setItemIcon(int index, const QIcon &icon)
void setItemText(int index, const QString &text)
void setWidget(QWidget *widget)
objectName
QString arg(Args &&... args) const const
QString fromLatin1(QByteArrayView str)
NoContextMenu
QFuture< ArgsType< Signal > > connect(Sender *sender, Signal signal)
bool isNull() const const
bool toBool() const const
QString toString() const const
QWidget * parentWidget() const const
QStyle * style() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:09 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:09 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.