tools/templates/pixlabel.h
author sheepluva
Mon, 11 Jan 2016 22:23:14 +0100
changeset 11497 66f1cff4284b
parent 8442 535a00ca0d35
permissions -rw-r--r--
stop screenshot-flash-effects from showing up on consecutive screenshots

#include <QLabel>
#include <QRect>
#include <QList>
#include <QMouseEvent>

class PixLabel : public QLabel
{
    Q_OBJECT

public:

    PixLabel();
    QList<QRect> rects;

public slots:
    void AddRect();

private:
    void paintEvent(QPaintEvent * event);
    void mousePressEvent(QMouseEvent * e);
};