historywindow.h
author insilmaril
Fri, 11 Jul 2008 12:36:39 +0000
changeset 715 c7f2d53c98d1
parent 483 01a0e82280f9
permissions -rw-r--r--
Fix for umlauts in paths
insilmaril@377
     1
#ifndef HISTORYWINDOW_H
insilmaril@377
     2
#define HISTORYWINDOW_H
insilmaril@377
     3
insilmaril@483
     4
#include <QDialog>
insilmaril@483
     5
insilmaril@377
     6
#include "settings.h"
insilmaril@377
     7
#include "ui_historywindow.h"
insilmaril@377
     8
insilmaril@381
     9
insilmaril@377
    10
/////////////////////////////////////////////////////////////////////////////
insilmaril@377
    11
class HistoryWindow:public QDialog
insilmaril@377
    12
{
insilmaril@377
    13
	Q_OBJECT
insilmaril@377
    14
insilmaril@377
    15
public:
insilmaril@377
    16
	HistoryWindow(QWidget* parent = 0);
insilmaril@404
    17
	~HistoryWindow();
insilmaril@377
    18
	void update (SimpleSettings &);
insilmaril@381
    19
	void setStepsTotal (int);
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@377
    36
};
insilmaril@377
    37
insilmaril@377
    38
insilmaril@377
    39
#endif