mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-23 00:11:49 +00:00
39 lines
683 B
C++
39 lines
683 B
C++
|
/**
|
||
|
* \file Dialog.cpp
|
||
|
* This file is part of LyX, the document processor.
|
||
|
* Licence details can be found in the file COPYING.
|
||
|
*
|
||
|
* \author Angus Leeming
|
||
|
*
|
||
|
* Full author contact details are available in file CREDITS.
|
||
|
*/
|
||
|
|
||
|
#include <config.h>
|
||
|
|
||
|
#include "DialogView.h"
|
||
|
|
||
|
#include "GuiView.h"
|
||
|
#include "qt_helpers.h"
|
||
|
|
||
|
#include <QCloseEvent>
|
||
|
#include <QShowEvent>
|
||
|
|
||
|
|
||
|
namespace lyx {
|
||
|
namespace frontend {
|
||
|
|
||
|
DialogView::DialogView(GuiView & lv, std::string const & name)
|
||
|
: QDialog(&lv), Dialog(lv, name)
|
||
|
{}
|
||
|
|
||
|
|
||
|
void DialogView::setViewTitle(docstring const & title)
|
||
|
{
|
||
|
setWindowTitle("LyX: " + toqstr(title));
|
||
|
}
|
||
|
|
||
|
} // namespace frontend
|
||
|
} // namespace lyx
|
||
|
|
||
|
#include "DialogView_moc.cpp"
|