#ifndef MAINWINDOW_HPP
#define MAINWINDOW_HPP

#include <QMainWindow>
#include <QAction>
#include <QMenu>
#include <QString>

#include "WorkArea.hpp"


class MainWindow: public QMainWindow
{
  Q_OBJECT 


private:
  QMenu *fileMenu;

  QAction *openAct;
  QAction *saveAct;
  QAction *exitAct;

  WorkArea *wa;

  QString filename;

  void createActions ();
  void createMenus ();

		     
private slots:
  void open ();
  void save ();

  
public:
  MainWindow ();
  
};

#endif
