tools/templates/pixlabel.h
author unc0rr
Tue, 20 Nov 2018 19:43:00 +0100
changeset 14262 8c76c0a35fb1
parent 8442 535a00ca0d35
permissions -rw-r--r--
Fix fpcrtl_strcompare broken in previous commit

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