tools/templates/pixlabel.h
author sheepluva
Wed, 18 Jun 2014 16:34:36 +0200
changeset 10326 1748eed62a95
parent 8442 535a00ca0d35
permissions -rw-r--r--
render tweaks

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