]> git.lyx.org Git - lyx.git/blob - src/frontends/qt/GuiIndex.h
Fix readability
[lyx.git] / src / frontends / qt / GuiIndex.h
1 // -*- C++ -*-
2 /**
3  * \file GuiIndex.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Angus Leeming
8  * \author Martin Vermeer
9  * \author Jürgen Spitzmüller
10  *
11  * Full author contact details are available in file CREDITS.
12  */
13
14 #ifndef GUIINDEX_H
15 #define GUIINDEX_H
16
17 #include "GuiDialog.h"
18 #include "ui_IndexUi.h"
19 #include "insets/InsetIndex.h"
20
21
22 namespace lyx {
23 namespace frontend {
24
25 class GuiIndex : public GuiDialog, public Ui::IndexUi
26 {
27         Q_OBJECT
28
29 public:
30         GuiIndex(GuiView & lv);
31
32 private Q_SLOTS:
33         void change_adaptor();
34         void pageFormatChanged(int);
35
36 private:
37         ///  Apply changes
38         void applyView() override;
39         /// Update dialog before showing it
40         void updateContents() override;
41         ///
42         bool initialiseParams(std::string const & data) override;
43         ///
44         void clearParams() override;
45         ///
46         void dispatchParams() override;
47         ///
48         bool isBufferDependent() const override { return true; }
49
50         ///
51         InsetIndexParams params_;
52 };
53
54 } // namespace frontend
55 } // namespace lyx
56
57 #endif // GUIINDEX_H