OSDN Git Service

ドラッグ検出のピクセル閾値を変更
[gefu/Gefu.git] / historydialog.h
1 #ifndef HISTORYDIALOG_H
2 #define HISTORYDIALOG_H
3
4 #include <QDialog>
5 class FolderModel;
6
7 namespace Ui {
8 class HistoryDialog;
9 }
10
11 class HistoryDialog : public QDialog
12 {
13     Q_OBJECT
14
15 public:
16     explicit HistoryDialog(QWidget *parent = 0);
17     ~HistoryDialog();
18
19     void setModel(const FolderModel *left,
20                   const FolderModel *right,
21                   FolderModel *active);
22
23 private slots:
24     void on_radioLeft_clicked();
25     void on_radioRight_clicked();
26
27 private:
28     Ui::HistoryDialog *ui;
29     const FolderModel *m_leftModel;
30     const FolderModel *m_rightModel;
31     FolderModel *m_activeModel;
32
33     // QDialog interface
34 public slots:
35     void accept();
36 };
37
38 #endif // HISTORYDIALOG_H