3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
8 * Full author contact details are available in file CREDITS.
13 #include "QFloatDialog.h"
15 #include "floatplacement.h"
17 #include <qpushbutton.h>
23 QFloatDialog::QFloatDialog(QFloat * form)
24 : QFloatDialogBase(0, 0, false, 0),
27 connect(restorePB, SIGNAL(clicked()),
28 form, SLOT(slotRestore()));
29 connect(okPB, SIGNAL(clicked()),
30 form, SLOT(slotOK()));
31 connect(applyPB, SIGNAL(clicked()),
32 form, SLOT(slotApply()));
33 connect(closePB, SIGNAL(clicked()),
34 form, SLOT(slotClose()));
36 // enable span columns checkbox
39 // enable sideways checkbox
40 floatFP->useSideways();
42 connect(floatFP, SIGNAL(changed()),
43 this, SLOT(change_adaptor()));
47 void QFloatDialog::change_adaptor()
53 void QFloatDialog::closeEvent(QCloseEvent * e)
59 } // namespace frontend