yolobs-studio/obs/visibility-checkbox.hpp

18 lines
261 B
C++
Raw Normal View History

2016-02-23 23:16:51 +00:00
#include <QCheckBox>
#include <QPixmap>
class QPaintEvernt;
class VisibilityCheckBox : public QCheckBox {
Q_OBJECT
QPixmap checkedImage;
QPixmap uncheckedImage;
public:
VisibilityCheckBox();
protected:
void paintEvent(QPaintEvent *event) override;
};