- Dialog & dialog, ///< The (one) parent Dialog class.
- Controller * form, ///< Associated model/controller
- QMainWindow * parent, ///< the main window where to dock.
- docstring const & title, ///< Window title (shown in the top title bar).
- Qt::DockWidgetArea area = Qt::LeftDockWidgetArea
- )
- : QDockWidget(toqstr(title), parent), Dialog::View(dialog, title)
+ GuiView & parent, ///< the main window where to dock.
+ QString const & name, ///< dialog identifier.
+ QString const & title, ///< dialog title.
+ Qt::DockWidgetArea area = Qt::LeftDockWidgetArea, ///< Position of the dock (and also drawer)
+ Qt::WindowFlags flags = 0
+ )
+ : QDockWidget(&parent, flags), Dialog(parent, name, title)