fce078d997
Adds a lock checkbox to allow the user to lock a specific scene item. Closes jp9000/obs-studio#949
18 lines
251 B
C++
18 lines
251 B
C++
#include <QCheckBox>
|
|
#include <QPixmap>
|
|
|
|
class QPaintEvernt;
|
|
|
|
class LockedCheckBox : public QCheckBox {
|
|
Q_OBJECT
|
|
|
|
QPixmap lockedImage;
|
|
QPixmap unlockedImage;
|
|
|
|
public:
|
|
LockedCheckBox();
|
|
|
|
protected:
|
|
void paintEvent(QPaintEvent *event) override;
|
|
};
|