3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
6 * \author Jürgen Spitzmüller
8 * Full author contact details are available in file CREDITS.
13 #include "QWrapDialog.h"
16 #include <qpushbutton.h>
18 #include <QCloseEvent>
24 QWrapDialog::QWrapDialog(QWrap * form)
29 connect(restorePB, SIGNAL(clicked()),
30 form, SLOT(slotRestore()));
31 connect(okPB, SIGNAL(clicked()),
32 form, SLOT(slotOK()));
33 connect(applyPB, SIGNAL(clicked()),
34 form, SLOT(slotApply()));
35 connect(closePB, SIGNAL(clicked()),
36 form, SLOT(slotClose()));
38 connect( widthED, SIGNAL( textChanged(const QString&) ), this, SLOT( change_adaptor() ) );
39 connect( unitsLC, SIGNAL( selectionChanged(LyXLength::UNIT) ), this, SLOT( change_adaptor() ) );
40 connect( valignCO, SIGNAL( highlighted(const QString&) ), this, SLOT( change_adaptor() ) );
44 void QWrapDialog::closeEvent(QCloseEvent * e)
51 void QWrapDialog::change_adaptor()
56 } // namespace frontend
59 #include "QWrapDialog_moc.cpp"