tools/templates/mainform.h
author sheepluva
Sat, 18 Jul 2015 02:44:36 +0200
changeset 11019 67ef02300508
parent 8442 535a00ca0d35
permissions -rw-r--r--
always draw border on terrain if there is only a map mask and no map image. this is a workaround for the fact that space campaign masks use white (lfObject) color instead of black (lfBasic)

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