tools/templates/mainform.h
author Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
Tue, 30 Dec 2014 19:07:57 +0300
branch0.9.21
changeset 10723 2cfa65083621
parent 8442 535a00ca0d35
permissions -rw-r--r--
Use ghc return value instead of looking for the stderr, do not throw error when an haskell module throws a build failure, e.g. because of false positives like this one (debian/arm*) "You are using a new version of LLVM that hasn't been tested yet! We will try though..."

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