As MainWindow wasn't actually a window. While for QtWidgets it makes sense for it to be a QMainWindow, in QtQuick let's make it easy to embed a dock widget layout. Also, our MainWindowQuick doesn't have any menus and what not that QMainWindow has.
20 lines
528 B
QML
20 lines
528 B
QML
/*
|
|
This file is part of KDDockWidgets.
|
|
|
|
SPDX-FileCopyrightText: 2020-2021 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
|
|
Author: Sergio Martins <sergio.martins@kdab.com>
|
|
|
|
SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only
|
|
|
|
Contact KDAB at <info@kdab.com> for commercial licensing options.
|
|
*/
|
|
|
|
import QtQuick 2.6
|
|
import com.kdab.dockwidgets 1.0 as KDDW
|
|
import "qrc:/kddockwidgets/private/quick/qml/" // TODO: Improve the public API
|
|
|
|
MainWindowLayout {
|
|
id: root
|
|
uniqueName: "MyWindow1"
|
|
}
|