More mess in pas2c:
- Store rendered type declaration of identifier
- Convert 'for' cycles properly (well, not sure, but I tried :P) into 'do .. while()'
#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);
};