]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/GuiLabel.h
Get rid of GuiIndex since we no longer need it. Simplify the remaining code.
[lyx.git] / src / frontends / qt4 / GuiLabel.h
1 // -*- C++ -*-
2 /**
3  * \file GuiLabel.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 Kalle Dalheimer
9  *
10  * Full author contact details are available in file CREDITS.
11  */
12
13 #ifndef GUILABEL_H
14 #define GUILABEL_H
15
16 #include "GuiDialog.h"
17 #include "ui_LabelUi.h"
18
19 namespace lyx {
20 namespace frontend {
21
22 class GuiLabel : public GuiCommand, public Ui::LabelUi
23 {
24         Q_OBJECT
25
26 public:
27         GuiLabel(GuiView & lv);
28
29 private Q_SLOTS:
30         void change_adaptor();
31         void reject();
32
33 private:
34         ///
35         void closeEvent(QCloseEvent * e);
36         ///
37         bool isValid();
38         /// Apply changes
39         void applyView();
40         /// update
41         void updateContents();
42 };
43
44
45 } // namespace frontend
46 } // namespace lyx
47
48 #endif // GUIINDEX_H