tools/templates/pixlabel.h
author sheepluva
Mon, 02 Dec 2013 17:13:22 +0100
changeset 9737 f0769402350c
parent 8442 535a00ca0d35
permissions -rw-r--r--
fix for: uCollisions.pas(63,50) Hint: Unit "uGearsList" not used in uCollisions

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