tools/templates/pixlabel.h
author Medo <smaxein@googlemail.com>
Thu, 31 Jan 2013 02:14:04 +0100
changeset 8463 0f39265a1604
parent 8442 535a00ca0d35
permissions -rw-r--r--
Move libjnidispatch to jni/ and copy it to libs/ on build This should fix the build issue where this file is missing after a clean.

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