]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/GuiShowFile.h
Make the InsetInfo dialog a bit less esoteric.
[lyx.git] / src / frontends / qt4 / GuiShowFile.h
1 // -*- C++ -*-
2 /**
3  * \file GuiShowFile.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  * \author Herbert Voß
9  *
10  * Full author contact details are available in file CREDITS.
11  */
12
13 #ifndef GUISHOWFILE_H
14 #define GUISHOWFILE_H
15
16 #include "GuiDialog.h"
17 #include "ui_ShowFileUi.h"
18
19 #include "support/FileName.h"
20
21 namespace lyx {
22 namespace frontend {
23
24 class GuiShowFile : public GuiDialog, public Ui::ShowFileUi
25 {
26         Q_OBJECT
27
28 public:
29         GuiShowFile(GuiView & lv);
30
31 private:
32         /// update
33         void updateContents();
34         ///
35         bool initialiseParams(std::string const & data);
36         ///
37         void clearParams();
38         ///
39         void dispatchParams() {}
40         ///
41         bool isBufferDependent() const { return false; }
42
43         ///
44         support::FileName filename_;
45 };
46
47 } // namespace frontend
48 } // namespace lyx
49
50 #endif // GUISHOWFILE_H