13#include "kdepim_export.h"
30 Q_PROPERTY(
QString separator READ separator WRITE setSeparator)
31 Q_PROPERTY(
QString defaultText READ defaultText WRITE setDefaultText)
32 Q_PROPERTY(
bool squeezeText READ squeezeText WRITE setSqueezeText)
33 Q_PROPERTY(
QStringList checkedItems READ checkedItems WRITE setCheckedItems)
51 void hidePopup()
override;
56 [[nodiscard]]
QString defaultText()
const;
63 void setDefaultText(
const QString &text);
69 [[nodiscard]]
bool alwaysShowDefaultText()
const;
77 void setAlwaysShowDefaultText(
bool always);
85 [[nodiscard]]
bool squeezeText()
const;
92 void setSqueezeText(
bool squeeze);
98 [[nodiscard]]
bool itemEnabled(
int index);
104 void setItemEnabled(
int index,
bool enabled =
true);
125 [[nodiscard]]
QString separator()
const;
132 void setSeparator(
const QString &separator);
160 void keyPressEvent(
QKeyEvent *event)
override;
162#ifndef QT_NO_WHEELEVENT
168 class KCheckComboBoxPrivate;
169 std::unique_ptr<KCheckComboBoxPrivate>
const d;
A combobox that shows its items in such a way that they can be checked in the drop menu.
~KCheckComboBox() override
Destroys the time zone combobox.
void checkedItemsChanged(const QStringList &items)
Signal to notify listeners that the current selections has changed.
Class KCheckComboBox::KCheckComboBoxPrivate.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:36:49 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.