tools/templates/pixlabel.h
author koda
Fri, 06 Dec 2013 00:45:32 +0100
branchsdl2transition
changeset 9707 c433e74da79b
parent 8442 535a00ca0d35
permissions -rw-r--r--
use clang on mavericks

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