qtquick: Add example of custom tabBar

Will do some styling in a follow up
This commit is contained in:
Sergio Martins
2022-07-17 18:17:51 +01:00
parent 9b4ac4738a
commit 48bac96c71
10 changed files with 265 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
/*
This file is part of KDDockWidgets.
SPDX-FileCopyrightText: 2020-2022 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
// Will be moved to a plugin in the future, if there's enough demand
import "qrc:/kddockwidgets/qtquick/views/qml/" as KDDW
Rectangle {
id: root
color: "black"
border.color: "orange"
border.width: 2
implicitHeight: 50
}