]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QTabular.h
Port the tabular dialog to the new scheme based on class Dialog.
[lyx.git] / src / frontends / qt2 / 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 Juergen Spitzmueller
10  * \author Herbert Voss
11  *
12  * Full author contact details are available in file CREDITS
13  */
14
15 #ifndef QTABULAR_H
16 #define QTABULAR_H
17
18
19 #include "QDialogView.h"
20
21
22 class ControlTabular;
23 class QTabularDialog;
24
25
26 class QTabular :
27         public QController<ControlTabular, QView<QTabularDialog> >
28 {
29 public:
30         friend class QTabularDialog;
31
32         QTabular(Dialog &);
33
34 protected:
35         virtual bool isValid();
36
37 private:
38         /// We can't use this ...
39         virtual void apply() {}
40         /// update borders
41         virtual void update_borders();
42         /// update
43         virtual void update_contents();
44         /// build the dialog
45         virtual void build_dialog();
46         /// save some values before closing the gui
47         virtual void closeGUI();
48 };
49
50 #endif // QTABULAR_H