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.
25 /** \c Dialog collects the different parts of a Model-Controller-View
26 * split of a generic dialog together.
28 class DialogView : public QDialog, public Dialog
33 /// \param lv is the access point for the dialog to the LyX kernel.
34 /// \param name is the identifier given to the dialog by its parent
36 explicit DialogView(GuiView & lv, std::string const & name);
37 virtual ~DialogView() {}
39 virtual QWidget * asQWidget() { return this; }
40 virtual QWidget const * asQWidget() const { return this; }
44 void setViewTitle(docstring const & title);
47 } // namespace frontend
50 #endif // DIALOGVIEW_H