#include "toonzqt/checkbox.h"
#include <QTabletEvent>
using namespace DVGui;
//=============================================================================
// CheckBox
//-----------------------------------------------------------------------------
CheckBox::CheckBox(QWidget *parent)
: QCheckBox(parent)
{
}
//-----------------------------------------------------------------------------
CheckBox::CheckBox(const QString &text, QWidget *parent)
: QCheckBox(text, parent)
{
}
//-----------------------------------------------------------------------------
void CheckBox::mousePressEvent(QMouseEvent *e)
{
click();
e->accept();
}
//-----------------------------------------------------------------------------
void CheckBox::mouseReleaseEvent(QMouseEvent *e)
{
e->accept();
}
//-----------------------------------------------------------------------------
void CheckBox::mouseMoveEvent(QMouseEvent *e)
{
e->accept();
}