yolobs-studio/obs/visibility-checkbox.hpp
2016-02-24 00:16:51 +01:00

17 lines
261 B
C++

#include <QCheckBox>
#include <QPixmap>
class QPaintEvernt;
class VisibilityCheckBox : public QCheckBox {
Q_OBJECT
QPixmap checkedImage;
QPixmap uncheckedImage;
public:
VisibilityCheckBox();
protected:
void paintEvent(QPaintEvent *event) override;
};