1 /* This file is part of
2 * ======================================================
4 * LyX, The Document Processor
6 * Copyright 2000 The LyX Team.
8 * ======================================================
10 * \author Angus Leeming <a.leeming@ic.ac.uk>
16 #pragma implementation
21 #include "QtLyXView.h"
25 #include "support/LAssert.h"
30 Qt2Base::Qt2Base(ControlButtons & c, QString const & t)
31 : ViewBC<qt2BC>(c), title_(t)
41 form()->setMinimumSize(form()->sizeHint());
43 update(); // make sure its up-to-date
45 if (form()->isVisible()) {
48 form()->setCaption(title_);
56 if (form() && form()->isVisible())
61 void Qt2Base::changed()
67 void Qt2Base::slotWMHide()
74 void Qt2Base::slotApply()
80 void Qt2Base::slotOK()
86 void Qt2Base::slotCancel()
92 void Qt2Base::slotRestore()
98 // PENDING(kalle) How to handle this?
99 // extern "C" void C_Qt2BaseInputCB(FL_OBJECT * ob, long d)
101 // GetForm(ob)->InputCB(ob, d);