tools/templates/pixlabel.h
author Wuzzy <almikes@aol.com>
Sun, 27 Nov 2016 03:18:20 +0100
changeset 12089 0183b4c448bf
parent 8442 535a00ca0d35
permissions -rw-r--r--
Fix Killing the Specialists giving you a free turn after killing Desert Eagle with a desert eagle with shot 1-3

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