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
20 #include <qapplication.h>
23 #include "QtLyXView.h"
27 #include "support/LAssert.h"
29 Qt2Base::Qt2Base(ControlButtons & c, QString const & t)
30 : ViewBC<Qt2BC>(c), updating_(false), title_(t)
40 form()->setMinimumSize(form()->sizeHint());
42 update(); // make sure its up-to-date
44 if (form()->isVisible()) {
47 form()->setCaption(title_);
55 if (form() && form()->isVisible())
60 bool Qt2Base::isValid()
66 void Qt2Base::changed()
78 void Qt2Base::slotWMHide()
84 void Qt2Base::slotApply()
90 void Qt2Base::slotOK()
96 void Qt2Base::slotClose()
102 void Qt2Base::slotRestore()