Create and control checkbox.
This class is a JS wrapper around Qt's QCheckBox class
A QCheckBox provides ability to add and manipulate native checkbox widgets.
QCheckBox inherits from NodeWidget
const { QCheckBox } = require("@nodegui/nodegui");
const checkbox = new QCheckBox();
checkbox.setText("Hello");parentNodeWidget (optional). Any widget inheriting from NodeWidget can be passed as a parent. This will make this widget, the child of the parent widget.
QCheckBox can access all the static methods defined in NodeWidget
QCheckBox can access all the instance properties defined in NodeWidget
QCheckBox can access all the instance methods defined in NodeWidget
Additionally it also has the following instance methods:
Sets the given text to the checkbox.
textstring