yolobs-studio/UI/locked-checkbox.hpp

18 lines
251 B
C++
Raw Normal View History

2018-02-19 19:54:37 +00:00
#include <QCheckBox>
#include <QPixmap>
class QPaintEvernt;
class LockedCheckBox : public QCheckBox {
Q_OBJECT
QPixmap lockedImage;
QPixmap unlockedImage;
public:
LockedCheckBox();
protected:
void paintEvent(QPaintEvent *event) override;
};