tools/templates/pixlabel.h
author Periklis Ntanasis <pntanasis@gmail.com>
Sun, 22 Sep 2013 05:33:00 +0300
branchspacecampaign
changeset 9643 cddb5de11af9
parent 8442 535a00ca0d35
permissions -rw-r--r--
fixed bug that didn't set TurnTimeLeft in first round if dialog not skipped

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