tools/templates/pixlabel.h
author unc0rr
Mon, 19 Nov 2018 21:51:46 +0100
changeset 14249 06f2dc4deab2
parent 8442 535a00ca0d35
permissions -rw-r--r--
Remove erroneous code duplicating FIX_STRING functionality, adjust ansistring array size

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