]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/GuiInfo.h
GuiInfo: display and initialize the information dialog, can not apply yet
[lyx.git] / src / frontends / qt4 / GuiInfo.h
1 // -*- C++ -*-
2 /**
3  * \file GuiInfo.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Abdelrazak Younes
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef GUI_INFO_H
13 #define GUI_INFO_H
14
15 #include "DialogView.h"
16 #include "ui_InfoUi.h"
17
18 namespace lyx {
19
20 class InsetInfo;
21
22 namespace frontend {
23
24 class GuiInfo : public DialogView, public Ui::InfoUi
25 {
26         Q_OBJECT
27
28 public:
29         GuiInfo(GuiView & lv);
30
31         /// Dialog inherited methods
32         //@{
33         void applyView();
34         void updateView();
35         void dispatchParams();
36         void enableView(bool enable);
37         bool isBufferDependent() const { return true; }
38         //@}
39
40 private Q_SLOTS:
41         void on_cancelPB_clicked();
42 };
43
44 } // namespace frontend
45 } // namespace lyx
46
47 #endif // GUI_INFO_H