tools/templates/pixlabel.h
author alfadur
Sun, 14 Oct 2018 23:25:20 +0300
changeset 13919 ef50e4f59b8f
parent 8442 535a00ca0d35
permissions -rw-r--r--
remove old sdl headers and libs in support of recent deletionism spirit

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