]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/LyXFileDialog.h
More GuiInfo usability work
[lyx.git] / src / frontends / qt4 / LyXFileDialog.h
1 // -*- C++ -*-
2 /**
3  * \file LyXFileDialog.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author John Levon
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef LYXFILEDIALOG_H
13 #define LYXFILEDIALOG_H
14
15 #include "FileDialog.h"
16
17 #include <QFileDialog>
18
19 class QToolButton;
20
21 namespace lyx {
22
23 class LyXFileDialog : public QFileDialog
24 {
25         Q_OBJECT
26
27 public:
28         LyXFileDialog(QString const & title,
29                       QString const & path,
30                       QStringList const & filters,
31                       FileDialog::Button const & b1,
32                       FileDialog::Button const & b2);
33
34 public Q_SLOTS:
35         void button1Clicked();
36         void button2Clicked();
37
38 private:
39         QString b1_dir_;
40         QString b2_dir_;
41 };
42
43 } // namespace lyx
44
45
46 #endif // LYXFILEDIALOG_H