]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/GuiInfo.h
Inset::validateModifyArgument(): new virtual interface for using LFUN_INSET_MODIFY.
[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 "InsetDialog.h"
16 #include "ui_InfoUi.h"
17
18 namespace lyx {
19
20 class Inset;
21
22 namespace frontend {
23
24 class GuiInfo : public InsetDialog, public Ui::InfoUi
25 {
26         Q_OBJECT
27
28 public:
29         GuiInfo(GuiView & lv);
30
31         /// \name Dialog inherited methods
32         //@{
33         void enableView(bool enable);
34         //@}
35
36 private Q_SLOTS:
37         void on_newPB_clicked();
38         void on_typeCO_currentIndexChanged(int);
39         void on_nameLE_textChanged(QString const &);
40
41 private:
42         /// \name InsetDialog inherited methods
43         //@{
44         void paramsToDialog(Inset const *);
45         docstring dialogToParams() const;
46         //@}
47 };
48
49 } // namespace frontend
50 } // namespace lyx
51
52 #endif // GUI_INFO_H