2019-04-01 02:10:25 -05:00
|
|
|
#pragma once
|
|
|
|
|
2017-06-17 19:10:42 -05: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;
|
|
|
|
};
|