QTfrontend/drawmapwidget.h
changeset 4560 5d6c7f88db73
parent 4556 c7f4eb6cbd0c
child 4976 088d40d8aba2
--- a/QTfrontend/drawmapwidget.h	Sat Dec 18 21:19:26 2010 +0300
+++ b/QTfrontend/drawmapwidget.h	Sat Dec 18 23:02:39 2010 +0300
@@ -15,7 +15,6 @@
     {
     public:
         QGraphicsView *graphicsView;
-        QPushButton *pbUndo;
 
         void setupUi(QWidget *drawMapWidget)
         {
@@ -50,6 +49,12 @@
 
     void setScene(DrawMapScene * scene);
 
+public slots:
+    void undo();
+    void clear();
+    void save(const QString & fileName);
+    void load(const QString & fileName);
+
 protected:
     void changeEvent(QEvent *e);
     virtual void resizeEvent(QResizeEvent * event);
@@ -57,6 +62,8 @@
 
 private:
     Ui::DrawMapWidget *ui;
+
+    DrawMapScene * m_scene;
 };
 
 #endif // DRAWMAPWIDGET_H