Libkdepim
kcheckcombobox.h
bool alwaysShowDefaultText() const
Returns whether the default text is always shown, even if there are no checked items.
Definition kcheckcombobox.cpp:334
KCheckComboBox(QWidget *parent=nullptr)
Creates a new checkable combobox.
Definition kcheckcombobox.cpp:119
void checkedItemsChanged(const QStringList &items)
Signal to notify listeners that the current selections has changed.
void hidePopup() override
Hides the popup list if it is currently shown.
Definition kcheckcombobox.cpp:154
void setSeparator(const QString &separator)
Sets the separator used to separate items in the line edit.
Definition kcheckcombobox.cpp:251
void setSqueezeText(bool squeeze)
Sets whether or not the text must be squeezed.
Definition kcheckcombobox.cpp:216
Qt::CheckState itemCheckState(int index) const
Returns the check state of item at given index.
Definition kcheckcombobox.cpp:162
void setItemCheckState(int index, Qt::CheckState state)
Changes the check state of the given index to the given state.
Definition kcheckcombobox.cpp:167
void setDefaultText(const QString &text)
Sets the default text that is shown when no items are selected.
Definition kcheckcombobox.cpp:203
void setCheckedItems(const QStringList &items, int role=Qt::DisplayRole)
Sets the currently selected items.
Definition kcheckcombobox.cpp:186
void setAlwaysShowDefaultText(bool always)
Sets if the default text should always be shown even if there are no checked items.
Definition kcheckcombobox.cpp:339
QComboBox(QWidget *parent)
virtual bool event(QEvent *event) override
QObject(QObject *parent)
Q_OBJECTQ_OBJECT
Q_PROPERTY(...)
Q_SIGNALSQ_SIGNALS
Q_SLOTSQ_SLOTS
QObject * parent() const const
CheckState
DisplayRole
QWidget(QWidget *parent, Qt::WindowFlags f)
enabled
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:55:43 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:55:43 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.