#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include<qwidget.h>
#include<qmenubar.h>
#include<qpopupmenu.h>
#include<qapplication.h>
#include<qmessagebox.h>
#include<qfiledialog.h>
#include<qimage.h>
class MainWindow : public QWidget{
Q_OBJECT
public:
MainWindow(QWidget* parent, const char* name);
protected:
void paintEvent(QPaintEvent*);
private:
QMenuBar *_menu;
QPopupMenu *_filemenu;
QPopupMenu *_helpmenu;
QImage *_buffer;
private slots:
void about();
void aboutQt();
void slotSave();
void slotLoad();
};
#endif //MAINWINDOW_H