GuiPrintNomencl.{cpp,h}:
[lyx.git] / src / frontends / qt4 / GuiLabel.h
blobef59bfd530c1822d144f2039d03194ef20636537
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.
7 * \author John Levon
8 * \author Kalle Dalheimer
10 * Full author contact details are available in file CREDITS.
13 #ifndef GUILABEL_H
14 #define GUILABEL_H
16 #include "GuiDialog.h"
17 #include "ui_LabelUi.h"
19 #include "insets/InsetCommandParams.h"
21 namespace lyx {
22 namespace frontend {
24 class GuiLabel : public GuiDialog, public Ui::LabelUi
26 Q_OBJECT
28 public:
29 GuiLabel(GuiView & lv);
31 private Q_SLOTS:
32 void change_adaptor();
33 void reject();
35 private:
36 ///
37 bool isValid();
38 /// Apply changes
39 void applyView();
40 /// update
41 void updateContents();
42 ///
43 bool initialiseParams(std::string const & data);
44 /// clean-up on hide.
45 void clearParams() { params_.clear(); }
46 /// clean-up on hide.
47 void dispatchParams();
48 ///
49 bool isBufferDependent() const { return true; }
51 private:
52 ///
53 InsetCommandParams params_;
56 } // namespace frontend
57 } // namespace lyx
59 #endif // GUILABEL_H