KSane
labeledcombo.h
void setCurrentText(const QString &)
If the given string can be found in the combobox, activate that entry.
Definition labeledcombo.cpp:91
QString currentText() const
This function is used to read the current string of the combobox.
Definition labeledcombo.cpp:100
void addItem(const QString &text, const QVariant &userData=QVariant())
This function forwards the request to the QComboBox equivalent.
Definition labeledcombo.cpp:135
void addItems(const QStringList &list)
Add string entries to the combobox.
Definition labeledcombo.cpp:80
int count() const
This function forwards the request to the QComboBox equivalent.
Definition labeledcombo.cpp:140
QVariant currentData(int role=Qt::UserRole) const
This function forwards the request to the QComboBox equivalent.
Definition labeledcombo.cpp:130
int currentIndex() const
This function forwards the request to the QComboBox equivalent.
Definition labeledcombo.cpp:145
LabeledCombo(QWidget *parent, const QString &label, const QStringList &list=QStringList())
create a label and combobox combination.
Definition labeledcombo.cpp:19
Definition hiderectitem.cpp:12
Q_OBJECTQ_OBJECT
Q_SIGNALSQ_SIGNALS
Q_SLOTSQ_SLOTS
QObject * parent() const const
UserRole
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:58:15 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:58:15 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.