1 #ifndef HISTORYDIALOG_H
2 #define HISTORYDIALOG_H
12 class HistoryDialog : public QDialog
17 explicit HistoryDialog(QWidget *parent = 0);
20 void setHistory(History *left, History *right);
21 void setDefaultLeft(bool bLeft);
23 int selectedIndex() const;
24 const QString selectedSide() const;
27 Ui::HistoryDialog *ui;
28 History *m_leftHistory;
29 History *m_rightHistory;
30 History *m_displaying;
33 void showLeftHistory();
34 void showRightHistory();
39 void showEvent(QShowEvent *event);
42 #endif // HISTORYDIALOG_H