tools/templates/pixlabel.h
author koda
Fri, 01 Mar 2013 01:05:43 +0100
changeset 8615 a4cb6168016e
parent 8442 535a00ca0d35
permissions -rw-r--r--
split version information in engine too

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