4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Abdelrazak Younes
9 * Full author contact details are available in file CREDITS.
14 #include "DialogView.h"
17 #include <QCloseEvent>
23 DialogView::DialogView(GuiView & lv, QString const & name, QString const & title)
24 : QDialog(&lv), Dialog(lv, name, title)
26 connect(&lv, SIGNAL(bufferViewChanged()),
27 this, SLOT(onBufferViewChanged()));
29 // remove question marks from Windows dialogs
30 setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
34 void DialogView::closeEvent(QCloseEvent * ev)
42 void DialogView::hideEvent(QHideEvent * ev)
44 if (!ev->spontaneous()) {
51 } // namespace frontend
54 #include "moc_DialogView.cpp"