tools/templates/pixlabel.h
author koda
Sun, 27 Jan 2013 00:00:33 +0100
changeset 8442 535a00ca0d35
parent 359 59fbfc65fbda
permissions -rw-r--r--
whitespaces and tabs again

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