tools/templates/mainform.h
author sheepluva
Wed, 13 Aug 2014 13:36:35 +0200
changeset 10379 caa5b40e405b
parent 8442 535a00ca0d35
permissions -rw-r--r--
I a recent commit I caused flames to use uninitialized values. that lead to fire burning slow and desyncs. this commit fixes/reverts this

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