2 * \file QTabularCreateDialog.C
3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS.
14 #include "QTabularCreateDialog.h"
15 #include "QTabularCreate.h"
17 #include <qpushbutton.h>
19 #include "emptytable.h"
24 QTabularCreateDialog::QTabularCreateDialog(QTabularCreate * form)
29 table->setMinimumSize(100,100);
31 columnsSB->setValue(5);
33 connect(okPB, SIGNAL(clicked()),
34 form_, SLOT(slotOK()));
35 connect(closePB, SIGNAL(clicked()),
36 form_, SLOT(slotClose()));
38 connect( table, SIGNAL( rowsChanged(int) ), rowsSB, SLOT( setValue(int) ) );
39 connect( table, SIGNAL( colsChanged(int) ), columnsSB, SLOT( setValue(int) ) );
40 connect( rowsSB, SIGNAL( valueChanged(int) ), table, SLOT( setNumberRows(int) ) );
41 connect( columnsSB, SIGNAL( valueChanged(int) ), table, SLOT( setNumberColumns(int) ) );
42 connect( rowsSB, SIGNAL( valueChanged(int) ), this, SLOT( rowsChanged(int) ) );
43 connect( columnsSB, SIGNAL( valueChanged(int) ), this, SLOT( columnsChanged(int) ) );
47 void QTabularCreateDialog::columnsChanged(int)
53 void QTabularCreateDialog::rowsChanged(int)
58 } // namespace frontend