tools/templates/pixlabel.h
author unc0rr
Wed, 03 Jun 2015 23:24:56 +0300
branch0.9.21
changeset 10771 ac06370b7436
parent 8442 535a00ca0d35
permissions -rw-r--r--
Lazy fix for server build

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