forked from qt-creator/qt-creator
16 lines
459 B
QML
16 lines
459 B
QML
|
|
// Copyright (C) 2024 The Qt Company Ltd.
|
||
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||
|
|
|
||
|
|
import QtQuick
|
||
|
|
import StudioTheme as StudioTheme
|
||
|
|
import StudioControls as StudioControls
|
||
|
|
|
||
|
|
Row {
|
||
|
|
StudioControls.ComboBox {
|
||
|
|
model: ["R", "G", "B", "A"]
|
||
|
|
actionIndicatorVisible: false
|
||
|
|
Component.onCompleted: currentIndex = uniformValue ?? 3
|
||
|
|
onActivated: uniformValue = currentIndex
|
||
|
|
}
|
||
|
|
}
|