6#include "QskCheckBox.h"
18 PrivateData(
const QString& text )
26QskCheckBox::QskCheckBox( QQuickItem* parent )
31QskCheckBox::QskCheckBox(
const QString& text, QQuickItem* parent )
33 , m_data( new PrivateData( text ) )
35 initSizePolicy( QskSizePolicy::Fixed, QskSizePolicy::Fixed );
38QskCheckBox::~QskCheckBox()
42bool QskCheckBox::isCheckable()
const
47void QskCheckBox::setText(
const QString& text )
49 if ( text != m_data->text )
60QString QskCheckBox::text()
const
67 if ( event->type() == QEvent::LayoutDirectionChange )
69 if ( !m_data->text.isEmpty() )
76#include "moc_QskCheckBox.cpp"
void changeEvent(QEvent *) override
virtual void changeEvent(QEvent *)