]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QTabular.h
Juergen S's tabular patch. Good stuff !
[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 #ifdef __GNUG__
19 #pragma interface
20 #endif
21
22 #include "Qt2Base.h"
23
24 class ControlTabular;
25 class QTabularDialog;
26
27
28 class QTabular :
29         public Qt2CB<ControlTabular, Qt2DB<QTabularDialog> >
30 {
31 public:
32         friend class QTabularDialog;
33
34         QTabular();
35  
36 protected:
37         virtual bool isValid();
38  
39 private:
40         /// We can't use this ...
41         virtual void apply() {}
42         /// update borders
43         virtual void update_borders();
44         /// update
45         virtual void update_contents();
46         /// build the dialog
47         virtual void build_dialog();
48         /// save some values before closing the gui
49         virtual void closeGUI();
50 };
51
52 #endif // QTABULAR_H