]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/GuiVSpace.h
12c2978b82b1c47bd0bc57fee3b4b8085ee9302d
[lyx.git] / src / frontends / qt4 / GuiVSpace.h
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.
6  *
7  * \author André Pönitz
8  * \author Angus Leeming
9  * \author Jürgen Spitzmüller
10  *
11  * Full author contact details are available in file CREDITS.
12  */
13
14 #ifndef GUIVSPACE_H
15 #define GUIVSPACE_H
16
17 #include "GuiDialog.h"
18 #include "ControlVSpace.h"
19 #include "ui_VSpaceUi.h"
20
21 namespace lyx {
22 namespace frontend {
23
24 class GuiVSpaceDialog : public GuiDialog, public Ui::VSpaceUi
25 {
26         Q_OBJECT
27
28 public:
29         GuiVSpaceDialog(LyXView & lv);
30
31 private Q_SLOTS:
32         void change_adaptor();
33         void closeEvent(QCloseEvent *);
34         void enableCustom(int);
35
36 private:
37         /// parent controller
38         ControlVSpace & controller() const;
39         /// Apply from dialog
40         void applyView();
41         /// Update the dialog
42         void update_contents();
43 };
44
45 } // namespace frontend
46 } // namespace lyx
47
48 #endif // GUIVSPACE_H