author | insilmaril |
Wed Apr 25 16:02:54 2007 +0000 (2007-04-25) | |
changeset 465 | 8e6b95a0efa0 |
parent 421 | 5522d1da7e37 |
child 483 | 01a0e82280f9 |
permissions | -rw-r--r-- |
1 #ifndef HISTORYWINDOW_H
2 #define HISTORYWINDOW_H
4 #include "settings.h"
5 #include "ui_historywindow.h"
8 /////////////////////////////////////////////////////////////////////////////
9 class HistoryWindow:public QDialog
10 {
11 Q_OBJECT
13 public:
14 HistoryWindow(QWidget* parent = 0);
15 ~HistoryWindow();
16 void update (SimpleSettings &);
17 void setStepsTotal (int);
18 void setShowWithMain (bool);
19 bool showWithMain ();
21 protected:
22 void closeEvent( QCloseEvent* );
24 private slots:
25 void undo();
26 void redo();
27 void select();
29 signals:
30 void windowClosed();
32 private:
33 void clearRow (int);
34 void updateRow (int, int, SimpleSettings &);
35 Ui::HistoryWindow ui;
36 bool showwithmain;
37 };
40 #endif