]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/DialogView.cpp
Additional UI logic related to module requires and excludes.
[lyx.git] / src / frontends / qt4 / DialogView.cpp
1 /**
2  * \file DialogView.cpp
3  * This file is part of LyX, the document processor.
4  * Licence details can be found in the file COPYING.
5  *
6  * \author Angus Leeming
7  *
8  * Full author contact details are available in file CREDITS.
9  */
10
11 #include <config.h>
12
13 #include "DialogView.h"
14
15 #include "GuiView.h"
16 #include "qt_helpers.h"
17
18 #include <QCloseEvent>
19 #include <QShowEvent>
20
21 using namespace std;
22
23 namespace lyx {
24 namespace frontend {
25
26 DialogView::DialogView(GuiView & lv, string const & name)
27         : QDialog(&lv), Dialog(lv, name)
28 {}
29
30
31 void DialogView::setViewTitle(docstring const & title)
32 {
33         setWindowTitle("LyX: " + toqstr(title));
34 }
35
36 } // namespace frontend
37 } // namespace lyx
38
39 #include "DialogView_moc.cpp"