historywindow.h
author insilmaril
Mon Oct 16 12:42:54 2006 +0000 (2006-10-16)
changeset 392 18f824bd3070
parent 381 c79df732d095
child 404 53efc2562a7d
permissions -rw-r--r--
Code simplifications
     1 #ifndef HISTORYWINDOW_H
     2 #define HISTORYWINDOW_H
     3 
     4 #include "settings.h"
     5 #include "ui_historywindow.h"
     6 
     7 
     8 class MapEditor;
     9 
    10 /////////////////////////////////////////////////////////////////////////////
    11 class HistoryWindow:public QDialog
    12 {
    13 	Q_OBJECT
    14 
    15 public:
    16 	HistoryWindow(QWidget* parent = 0);
    17 	void update (SimpleSettings &);
    18 	void setME (MapEditor *);
    19 	void setStepsTotal (int);
    20 
    21 private slots:	
    22 	void undo();
    23 	void redo();
    24 	void select();
    25 
    26 private:
    27 	void clearRow (int);
    28 	void updateRow (int, int, SimpleSettings &);
    29 	Ui::HistoryWindow ui;
    30 	MapEditor *mapEditor;
    31 };
    32 
    33 
    34 #endif