Warning, /maui/mauikit-imagetools/src/controls.6/private/ColourBar.qml is written in an unsupported language. File is not indexed.
0001 import QtQuick 0002 import QtQuick.Controls 0003 import QtQuick.Layouts 0004 0005 import org.mauikit.controls as Maui 0006 0007 import org.kde.kquickimageeditor as KQuickImageEditor 0008 import Qt5Compat.GraphicalEffects 0009 0010 ColumnLayout 0011 { 0012 id: control 0013 0014 spacing: 0 0015 0016 property alias brightnessButton: _brightnessButton 0017 property alias contrastButton : _contrastButton 0018 property alias saturationButton : _saturationButton 0019 0020 0021 Maui.ToolBar 0022 { 0023 id: _sliderToolBar 0024 Layout.fillWidth: true 0025 middleContent: Slider 0026 { 0027 id: _slider 0028 Layout.fillWidth: true 0029 value: 0 0030 from: -100 0031 to: 100 0032 stepSize: 1 0033 } 0034 0035 background: Rectangle 0036 { 0037 color: Maui.Theme.backgroundColor 0038 } 0039 } 0040 0041 Maui.ToolBar 0042 { 0043 position: ToolBar.Footer 0044 Layout.fillWidth: true 0045 0046 background: Rectangle 0047 { 0048 color: Maui.Theme.backgroundColor 0049 } 0050 0051 middleContent: [ 0052 ToolButton 0053 { 0054 id: _saturationButton 0055 checkable: true 0056 autoExclusive: true 0057 icon.name: "transform-crop" 0058 text: i18nc("@action:button Crop an image", "Saturation"); 0059 }, 0060 0061 ToolButton 0062 { 0063 id: _contrastButton 0064 autoExclusive: true 0065 icon.name: "transform-rotate" 0066 checkable: true 0067 text: i18nc("@action:button Rotate an image", "Contrast"); 0068 } , 0069 0070 ToolButton 0071 { 0072 id: _exposureButton 0073 autoExclusive: true 0074 icon.name: "transform-rotate" 0075 checkable: true 0076 text: i18nc("@action:button Rotate an image", "Exposure"); 0077 }, 0078 0079 ToolButton 0080 { 0081 id: _highlightsButton 0082 autoExclusive: true 0083 icon.name: "transform-rotate" 0084 checkable: true 0085 text: i18nc("@action:button Rotate an image", "Highlights"); 0086 }, 0087 0088 ToolButton 0089 { 0090 id: _shadowsButton 0091 autoExclusive: true 0092 icon.name: "transform-rotate" 0093 checkable: true 0094 text: i18nc("@action:button Rotate an image", "Shadows"); 0095 }, 0096 0097 0098 ToolButton 0099 { 0100 id: _brightnessButton 0101 autoExclusive: true 0102 icon.name: "transform-rotate" 0103 checkable: true 0104 text: i18nc("@action:button Rotate an image", "Brightness"); 0105 } 0106 ] 0107 0108 leftContent: ToolButton 0109 { 0110 // text: i18nd("mauikitimagetools","Accept") 0111 icon.name: "dialog-apply" 0112 onClicked: 0113 { 0114 0115 } 0116 } 0117 0118 rightContent: ToolButton 0119 { 0120 // text: i18nd("mauikitimagetools","Cancel") 0121 icon.name: "dialog-cancel" 0122 onClicked: 0123 { 0124 } 0125 } 0126 } 0127 } 0128