historywindow.h
author insilmaril
Wed Apr 25 16:02:54 2007 +0000 (2007-04-25)
changeset 478 f4aae4fdc1bc
parent 421 5522d1da7e37
child 483 01a0e82280f9
permissions -rw-r--r--
started doxygen documentation
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@442
    21
protected:
insilmaril@442
    22
    void closeEvent( QCloseEvent* );
insilmaril@442
    23
insilmaril@381
    24
private slots:	
insilmaril@381
    25
	void undo();
insilmaril@381
    26
	void redo();
insilmaril@381
    27
	void select();
insilmaril@377
    28
insilmaril@442
    29
signals:
insilmaril@442
    30
	void windowClosed();
insilmaril@442
    31
insilmaril@377
    32
private:
insilmaril@388
    33
	void clearRow (int);
insilmaril@381
    34
	void updateRow (int, int, SimpleSettings &);
insilmaril@377
    35
	Ui::HistoryWindow ui;
insilmaril@421
    36
	bool showwithmain;
insilmaril@377
    37
};
insilmaril@377
    38
insilmaril@377
    39
insilmaril@377
    40
#endif