]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/GuiLabel.h
Fix the tab ordering of GuiDocument components.
[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 "ui_LabelUi.h"
17
18 #include "InsetParamsWidget.h"
19
20 namespace lyx {
21 namespace frontend {
22
23 class GuiLabel : public InsetParamsWidget, public Ui::LabelUi
24 {
25         Q_OBJECT
26
27 public:
28         GuiLabel(QWidget * parent = 0);
29
30 private:
31         /// \name InsetParamsWidget inherited methods
32         //@{
33         InsetCode insetCode() const { return LABEL_CODE; }
34         FuncCode creationCode() const { return LFUN_INSET_INSERT; }
35         void paramsToDialog(Inset const *);
36         docstring dialogToParams() const;
37         bool checkWidgets() const;
38         bool initialiseParams(std::string const &);
39         //@}
40 };
41
42 } // namespace frontend
43 } // namespace lyx
44
45 #endif // GUILABEL_H