7#include <QtGui/qpa/qplatformtheme.h>
8#include <QtQml/qjsvalue.h>
85 emit q->nextCheckStateChanged();
105bool QQuickCheckBox::isTristate()
const
111void QQuickCheckBox::setTristate(
bool tristate)
136 return d->checkState;
142 if (
d->checkState ==
state)
149 if (
d->checked != wasChecked)
202 if (
d->nextCheckState.isCallable())
203 setCheckState(
static_cast<Qt::CheckState>(
d->nextCheckState.call().toInt()));
204 else if (
d->tristate)
212#include "moc_qquickcheckbox_p.cpp"
The QJSValue class acts as a container for Qt/JavaScript data types.
The QPalette class contains color groups for each widget state.
Check button that can be toggled on or off.
void setNextCheckState(const QJSValue &callback)
Qt::CheckState checkState
QPalette defaultPalette() const override
QFont defaultFont() const override
void buttonChange(ButtonChange change) override
void nextCheckState() override
Qt::CheckState checkState
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.
QString state() const
\qmlproperty string QtQuick::Item::state
static QPalette palette(Scope scope)
static QFont font(Scope scope)
Combined button and popup list for selecting options.
GLdouble GLdouble GLdouble GLdouble q
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent