Pimcommon
configureactivitieswidget.cpp
29 void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override
36 drawCheck(painter, option, checkRect, option.state & QStyle::State_Selected ? Qt::Checked : Qt::Unchecked);
44 [[nodiscard]] QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const override
56 , mEnableActivitiesSupport(new QCheckBox(i18nc("@option:check", "Limit to the selected activities:"), this))
62 "If you limit this account to activity, it will be shown only when you are in those activities. Furthermore, when "
100void ConfigureActivitiesWidget::setActivitiesSettings(const ActivitiesBaseManager::ActivitySettings &activitySettings)
QString i18nc(const char *context, const char *text, const TYPE &arg...)
QString label(StandardShortcut id)
bool isChecked() const const
void clicked(bool checked)
MultiSelection
QAbstractItemModel * model() const const
QItemSelectionModel * selectionModel() const const
void clearSelection()
selectedIndexes
pointer data()
bool isEmpty() const const
void reserve(qsizetype size)
QVariant data(int role) const const
State_Selected
Checked
DisplayRole
QFuture< ArgsType< Signal > > connect(Sender *sender, Signal signal)
QString toString() const const
void setEnabled(bool)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:39:22 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:39:22 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.