]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QTabular.C
qtabular skeleton
[lyx.git] / src / frontends / qt2 / QTabular.C
1 /**
2  * \file QTabular.C
3  * This file is part of LyX, the document processor.
4  * Licence details can be found in the file COPYING.
5  *
6  * \author John Levon
7  *
8  * Full author contact details are available in file CREDITS
9  */
10
11 #include <config.h>
12
13 #ifdef __GNUG__
14 #pragma implementation
15 #endif
16
17 #include "ControlTabular.h"
18 #include "gettext.h"
19
20 #include "QTabularDialog.h"
21 #include "QTabular.h"
22 #include "Qt2BC.h"
23
24 #include <qpushbutton.h>
25  
26 typedef Qt2CB<ControlTabular, Qt2DB<QTabularDialog> > base_class;
27
28 QTabular::QTabular()
29         : base_class(_("LyX: Edit Table"))
30 {
31 }
32
33
34 void QTabular::build_dialog()
35 {
36         dialog_.reset(new QTabularDialog(this));
37
38         bc().setCancel(dialog_->closePB);
39 }
40
41
42 void QTabular::update_contents()
43 {
44 }
45
46
47 bool QTabular::isValid()
48 {
49         return true;
50 }