historywindow.h
author insilmaril
Mon Nov 20 12:12:05 2006 +0000 (2006-11-20)
changeset 405 a4532e5c2ce3
parent 388 3a58c9ef4a18
child 421 5522d1da7e37
permissions -rw-r--r--
historywindow moved to mainwindow. Started to get rid of Q3PtrList finally
insilmaril@377
     1
#ifndef HISTORYWINDOW_H
insilmaril@377
     2
#define HISTORYWINDOW_H
insilmaril@377
     3
insilmaril@377
     4
#include "settings.h"
insilmaril@377
     5
#include "ui_historywindow.h"
insilmaril@377
     6
insilmaril@381
     7
insilmaril@377
     8
/////////////////////////////////////////////////////////////////////////////
insilmaril@377
     9
class HistoryWindow:public QDialog
insilmaril@377
    10
{
insilmaril@377
    11
	Q_OBJECT
insilmaril@377
    12
insilmaril@377
    13
public:
insilmaril@377
    14
	HistoryWindow(QWidget* parent = 0);
insilmaril@404
    15
	~HistoryWindow();
insilmaril@377
    16
	void update (SimpleSettings &);
insilmaril@381
    17
	void setStepsTotal (int);
insilmaril@381
    18
insilmaril@381
    19
private slots:	
insilmaril@381
    20
	void undo();
insilmaril@381
    21
	void redo();
insilmaril@381
    22
	void select();
insilmaril@377
    23
insilmaril@377
    24
private:
insilmaril@388
    25
	void clearRow (int);
insilmaril@381
    26
	void updateRow (int, int, SimpleSettings &);
insilmaril@377
    27
	Ui::HistoryWindow ui;
insilmaril@377
    28
};
insilmaril@377
    29
insilmaril@377
    30
insilmaril@377
    31
#endif