Randomized teams now can have any random hats (not just from types.ini)
The predefined hat sets still work, however. There are now 3 types of hat selections:
1) Use hats from types.ini
2) Randomly select one hat for all hedgehogs
3) Randomly select hat for each hedgehog (rare)
#include <QScrollArea>
#include <QMainWindow>
#include <QLabel>
#include <QListWidget>
#include <QPushButton>
#include "pixlabel.h"
class MyWindow : public QMainWindow
{
Q_OBJECT
public:
MyWindow(QWidget * parent = 0, Qt::WFlags flags = 0);
private:
QScrollArea * sa_xy;
PixLabel * xy;
QPushButton * buttAdd;
QPushButton * buttCode;
QPushButton * buttSave;
QPushButton * buttLoad;
private slots:
void Code();
void Save();
void Load();
};