| 2 | |
| 3 | #include "ElaApplication.h" |
| 4 | #include "ElaCheckBoxStyle.h" |
| 5 | #include "ElaWidgetToolsDef.h" |
| 6 | |
| 7 | ElaCheckBox::ElaCheckBox(QWidget* parent) |
| 8 | : QCheckBox(parent) |
| 9 | { |
| 10 | _pBorderRadius = 3; |
| 11 | setMouseTracking(true); |
| 12 | setObjectName("ElaCheckBox"); |
| 13 | setFixedHeight(ElaWidgetToolsSize::DefaultControlHeight); |
| 14 | auto* checkBoxStyle = new ElaCheckBoxStyle(style()); |
| 15 | checkBoxStyle->setParent(this); |
| 16 | setStyle(checkBoxStyle); |
| 17 | QFont font = this->font(); |
nothing calls this directly
no outgoing calls
no test coverage detected