forked from qt-creator/qt-creator
bigger conflicts resolved at: src/plugins/qmldesigner/CMakeLists.txt src/plugins/qmlprojectmanager/qmlprojectrunconfiguration.cpp Change-Id: I08e2a109d8e37cbd77225129854e9e633725bfc7
30 lines
722 B
QML
30 lines
722 B
QML
// Copyright (C) 2023 The Qt Company Ltd.
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
|
|
|
import QtQuick
|
|
import HelperWidgets 2.0 as HelperWidgets
|
|
import StudioControls 1.0 as StudioControls
|
|
import StudioTheme 1.0 as StudioTheme
|
|
|
|
Row {
|
|
id: root
|
|
|
|
property int currIndex: 0
|
|
property alias tabsModel: repeater.model
|
|
|
|
spacing: 6
|
|
|
|
Repeater {
|
|
id: repeater
|
|
|
|
ContentLibraryTabButton {
|
|
required property int index
|
|
required property var modelData
|
|
name: modelData.name
|
|
icon: modelData.icon
|
|
selected: root.currIndex === index
|
|
onClicked: root.currIndex = index
|
|
}
|
|
}
|
|
}
|