]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QTabularDialog.C
qtabular skeleton
[lyx.git] / src / frontends / qt2 / QTabularDialog.C
1 /**
2  * \file QTabularDialog.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 "gettext.h"
18
19 #include "QTabular.h"
20 #include "QTabularDialog.h"
21
22 #include <qpushbutton.h>
23
24
25 QTabularDialog::QTabularDialog(QTabular * form)
26         : QTabularDialogBase(0, 0, false, 0),
27         form_(form)
28 {
29         connect(closePB, SIGNAL(clicked()),
30                 form, SLOT(slotClose()));
31 }
32
33
34 void QTabularDialog::change_adaptor()
35 {
36         form_->changed();
37 }
38
39
40 void QTabularDialog::closeEvent(QCloseEvent * e)
41 {
42         form_->slotWMHide();
43         e->accept();
44 }