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