tools/templates/pixlabel.h
author unc0rr
Thu, 29 Aug 2013 12:12:19 +0400
changeset 9444 30748b1d9ec7
parent 8442 535a00ca0d35
permissions -rw-r--r--
Fix checker ready status mess

#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);
};