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.
22 /** \c Dialog collects the different parts of a Model-Controller-View
23 * split of a generic dialog together.
25 class DialogView : public QDialog, public Dialog
30 /// \param lv is the access point for the dialog to the LyX kernel.
31 /// \param name is the identifier given to the dialog by its parent
33 /// \param title is the window title used for decoration.
34 DialogView(GuiView & lv, std::string const & name, QString const & title);
35 virtual ~DialogView() {}
37 virtual QWidget * asQWidget() { return this; }
38 virtual QWidget const * asQWidget() const { return this; }
41 /// Dialog inherited methods
44 bool initialiseParams(std::string const & /*data*/) { return true; }
49 } // namespace frontend
52 #endif // DIALOGVIEW_H