]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/QVSpace.h
enable Font cache only for MacOSX and inline width() for other platform.
[lyx.git] / src / frontends / qt4 / QVSpace.h
1 // -*- C++ -*-
2 /**
3  * \file QVSpace.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 QVSPACE_H
15 #define QVSPACE_H
16
17 #include "QDialogView.h"
18
19 #include <vector>
20
21 namespace lyx {
22 namespace frontend {
23
24 class ControlVSpace;
25 class QVSpaceDialog;
26
27 /** This class provides an Qt implementation of the VSpace dialog.
28  */
29 class QVSpace
30         : public QController<ControlVSpace, QView<QVSpaceDialog> >
31 {
32 public:
33         ///
34         friend class QVSpaceDialog;
35         ///
36         QVSpace(Dialog &);
37 private:
38         /// Build the dialog
39         virtual void build_dialog();
40         /// Apply from dialog
41         virtual void apply();
42         /// Update the dialog
43         virtual void update_contents();
44 };
45
46 } // namespace frontend
47 } // namespace lyx
48
49 #endif //QVSPACE_H