diff options
Diffstat (limited to 'share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioTheme/ViewBarButtonStyle.qml')
-rw-r--r-- | share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioTheme/ViewBarButtonStyle.qml | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioTheme/ViewBarButtonStyle.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioTheme/ViewBarButtonStyle.qml new file mode 100644 index 0000000000..a4de68a3fd --- /dev/null +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioTheme/ViewBarButtonStyle.qml @@ -0,0 +1,35 @@ +// Copyright (C) 2023 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0 WITH Qt-GPL-exception-1.0 + +import QtQuick + +ControlStyle { + + baseIconFontSize: Values.bigFont + controlSize: Qt.size(Values.viewBarComboWidth, Values.viewBarComboHeight) + smallIconFontSize: Values.viewBarComboIcon + borderWidth: Values.border + + radius: Values.smallRadius + + icon: ControlStyle.IconColors { + idle: Values.themeTextColor + hover: Values.themeTextColor + interaction: Values.themeIconColor + disabled: Values.themeToolbarIcon_blocked + } + + background: ControlStyle.BackgroundColors { + idle: Values.themeControlBackground_toolbarIdle + hover: Values.themeControlBackground_topToolbarHover + interaction: Values.themeInteraction + disabled: Values.themeControlBackground_toolbarIdle + } + + border: ControlStyle.BorderColors { + idle: Values.themeControlBackground_toolbarIdle + hover: Values.themeControlBackground_topToolbarHover + interaction: Values.themeInteraction + disabled: Values.themeControlBackground_toolbarIdle + } +} |