historywindow.h
author insilmaril
Tue Mar 06 19:37:39 2007 +0000 (2007-03-06)
changeset 434 c585be63ec69
parent 404 53efc2562a7d
child 442 dfbc371b7280
permissions -rw-r--r--
1.8.69 Some more scripting functionality (for testing)
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@421
    18
	void setShowWithMain (bool);
insilmaril@421
    19
	bool showWithMain ();
insilmaril@381
    20
insilmaril@381
    21
private slots:	
insilmaril@381
    22
	void undo();
insilmaril@381
    23
	void redo();
insilmaril@381
    24
	void select();
insilmaril@377
    25
insilmaril@377
    26
private:
insilmaril@388
    27
	void clearRow (int);
insilmaril@381
    28
	void updateRow (int, int, SimpleSettings &);
insilmaril@377
    29
	Ui::HistoryWindow ui;
insilmaril@421
    30
	bool showwithmain;
insilmaril@377
    31
};
insilmaril@377
    32
insilmaril@377
    33
insilmaril@377
    34
#endif