tools/templates/pixlabel.h
author sheepluva <sheepluva@users.noreply.github.com>
Mon, 05 Jan 2015 14:04:39 +0100
changeset 10766 6db59a502434
parent 8442 535a00ca0d35
permissions -rw-r--r--
Merge pull request #26 from LocutusOfBorg/fix-build Do not throw error when an haskell module throws a build failure, e.g. b...

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