tools/templates/pixlabel.h
author sheepluva
Sun, 24 Apr 2016 00:54:00 +0200
changeset 11686 24710123beae
parent 8442 535a00ca0d35
permissions -rw-r--r--
drop function that does not exist in SDL2 from SDLh.pas

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