]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/QTabular.h
While working on bug 3227, I noticed that from()->show() called QDialog::show() inste...
[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 #include "QTabularDialog.h"
20
21 namespace lyx {
22 namespace frontend {
23
24 class ControlTabular;
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 } // namespace frontend
51 } // namespace lyx
52
53 #endif // QTABULAR_H