historywindow.h
author insilmaril
Tue Oct 16 09:53:22 2007 +0000 (2007-10-16)
changeset 601 54475d6f006a
parent 442 dfbc371b7280
permissions -rw-r--r--
included <typeinfo>
     1 #ifndef HISTORYWINDOW_H
     2 #define HISTORYWINDOW_H
     3 
     4 #include <QDialog>
     5 
     6 #include "settings.h"
     7 #include "ui_historywindow.h"
     8 
     9 
    10 /////////////////////////////////////////////////////////////////////////////
    11 class HistoryWindow:public QDialog
    12 {
    13 	Q_OBJECT
    14 
    15 public:
    16 	HistoryWindow(QWidget* parent = 0);
    17 	~HistoryWindow();
    18 	void update (SimpleSettings &);
    19 	void setStepsTotal (int);
    20 
    21 protected:
    22     void closeEvent( QCloseEvent* );
    23 
    24 private slots:	
    25 	void undo();
    26 	void redo();
    27 	void select();
    28 
    29 signals:
    30 	void windowClosed();
    31 
    32 private:
    33 	void clearRow (int);
    34 	void updateRow (int, int, SimpleSettings &);
    35 	Ui::HistoryWindow ui;
    36 };
    37 
    38 
    39 #endif