historywindow.h
author insilmaril
Thu, 14 Sep 2006 11:38:17 +0000
changeset 384 73bfe41502d9
parent 381 c79df732d095
child 388 3a58c9ef4a18
permissions -rw-r--r--
1.8.57 - more changes in history window, Note Editor is QT4 now
     1 #ifndef HISTORYWINDOW_H
     2 #define HISTORYWINDOW_H
     3 
     4 //#include "mapeditor.h"
     5 #include "settings.h"
     6 #include "ui_historywindow.h"
     7 
     8 
     9 class MapEditor;
    10 
    11 /////////////////////////////////////////////////////////////////////////////
    12 class HistoryWindow:public QDialog
    13 {
    14 	Q_OBJECT
    15 
    16 public:
    17 	HistoryWindow(QWidget* parent = 0);
    18 	void update (SimpleSettings &);
    19 	void setME (MapEditor *);
    20 	void setStepsTotal (int);
    21 
    22 private slots:	
    23 	void undo();
    24 	void redo();
    25 	void select();
    26 
    27 private:
    28 	void updateRow (int, int, SimpleSettings &);
    29 	Ui::HistoryWindow ui;
    30 	MapEditor *mapEditor;
    31 };
    32 
    33 
    34 #endif