]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/QTabular.h
enable Font cache only for MacOSX and inline width() for other platform.
[lyx.git] / src / frontends / qt4 / QTabular.h
1 // -*- C++ -*-
2 /**
3  * \file QTabular.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  * \author Jürgen Spitzmüller
10  * \author Herbert Voß
11  *
12  * Full author contact details are available in file CREDITS.
13  */
14
15 #ifndef QTABULAR_H
16 #define QTABULAR_H
17
18 #include "QDialogView.h"
19
20 namespace lyx {
21 namespace frontend {
22
23 class ControlTabular;
24 class QTabularDialog;
25
26
27 class QTabular :
28         public QController<ControlTabular, QView<QTabularDialog> >
29 {
30 public:
31         friend class QTabularDialog;
32
33         QTabular(Dialog &);
34
35 protected:
36         virtual bool isValid();
37
38 private:
39         /// We can't use this ...
40         virtual void apply() {}
41         /// update borders
42         virtual void update_borders();
43         /// update
44         virtual void update_contents();
45         /// build the dialog
46         virtual void build_dialog();
47         /// save some values before closing the gui
48         virtual void closeGUI();
49 };
50
51 } // namespace frontend
52 } // namespace lyx
53
54 #endif // QTABULAR_H