/// \param lv is the access point for the dialog to the LyX kernel.
/// \param name is the identifier given to the dialog by its parent
/// container.
- explicit GuiDialog(GuiView & lv, std::string const & name);
+ /// \param title is the window title used for decoration.
+ GuiDialog(GuiView & lv, QString const & name, QString const & title);
virtual QWidget * asQWidget() { return this; }
virtual QWidget const * asQWidget() const { return this; }
void slotApply();
// Close button clicked or closed from WindowManager
void slotClose();
-
-public:
///
- void setViewTitle(docstring const & title);
+ void closeEvent(QCloseEvent * e);
+public:
/** Check whether we may apply our data.
*
* The buttons are disabled if not and (re-)enabled if yes.
public:
/// We need to know with what sort of inset we're associated.
// FIXME This should probably be an InsetCode
- GuiCommand(GuiView &, std::string const & name);
+ GuiCommand(GuiView &, QString const & name, QString const & title);
///
bool initialiseParams(std::string const & data);
/// clean-up on hide.