fast::ButtonWidget class

A button widget.

Constructors, destructors, conversion operators

ButtonWidget(std::string text, bool checkable, std::function<void(bool)> callback, bool checked = false, QWidget* parent = nullptr)
ButtonWidget(std::string text, bool checkable, ButtonWidgetCallback* callback, bool checked = false, QWidget* parent = nullptr)

Public functions

void clicked(bool check)
void setChecked(bool checked)
auto getChecked() const -> bool
auto getText() const -> std::string