GuiPrintNomencl.{cpp,h}:
[lyx.git] / src / frontends / qt4 / GuiVSpace.h
blob93a6319fe92fc9317657877791ce399bb899d9e6
1 // -*- C++ -*-
2 /**
3 * \file GuiVSpace.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author André Pönitz
8 * \author Angus Leeming
9 * \author Jürgen Spitzmüller
10 * \author Edwin Leuven
12 * Full author contact details are available in file CREDITS.
15 #ifndef GUIVSPACE_H
16 #define GUIVSPACE_H
18 #include "GuiDialog.h"
19 #include "ui_VSpaceUi.h"
20 #include "VSpace.h"
22 namespace lyx {
23 namespace frontend {
25 class GuiVSpace : public GuiDialog, public Ui::VSpaceUi
27 Q_OBJECT
29 public:
30 GuiVSpace(GuiView & lv);
32 private Q_SLOTS:
33 ///
34 void change_adaptor();
35 ///
36 void enableCustom(int);
38 private:
39 /// Apply from dialog
40 void applyView();
41 /// Update the dialog
42 void updateContents();
43 ///
44 bool initialiseParams(std::string const & data);
45 /// clean-up on hide.
46 void clearParams();
47 /// clean-up on hide.
48 void dispatchParams();
49 ///
50 bool isBufferDependent() const { return true; }
52 ///
53 VSpace params_;
56 } // namespace frontend
57 } // namespace lyx
59 #endif // GUIVSPACE_H