Users now instantiate DockWidget view instead of controller

The controllers are private and not intentend for the public.
This commit is contained in:
Sergio Martins
2022-05-30 11:45:43 +01:00
parent 403f0626b4
commit 2421e607a9
25 changed files with 202 additions and 149 deletions

View File

@@ -56,8 +56,10 @@ public:
* There's no parent argument. The DockWidget is either parented to FloatingWindow or MainWindow
* when visible, or stays without a parent when hidden.
*/
explicit DockWidget_qtquick(Controllers::DockWidget *controller,
Qt::WindowFlags windowFlags = {},
explicit DockWidget_qtquick(const QString &uniqueName,
Controllers::DockWidget::Options = {},
Controllers::DockWidget::LayoutSaverOptions = {},
Qt::WindowFlags = Qt::Tool,
QQmlEngine *engine = nullptr);
///@brief destructor