tools/templates/pixlabel.h
author sheepluva
Sat, 14 Jun 2014 02:25:49 +0200
changeset 10302 ea0b0e2efd95
parent 8442 535a00ca0d35
permissions -rw-r--r--
huh? me? nono, don't mind me. I'm just here to clean up.

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