tools/templates/pixlabel.h
author nemo
Thu, 17 May 2018 20:04:39 -0400
changeset 13399 7b4726ef2308
parent 8442 535a00ca0d35
permissions -rw-r--r--
0.9.24 merge of physfs tweak

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