tools/templates/pixlabel.h
author Star
Mon, 29 Oct 2012 16:23:45 -0400
changeset 7880 0efaf70681bd
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
tweaked hedgehog sprite (gstLoser and such) this version tries to clean up a bit of the pixelation from having not been edited in inkscape

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