SyncStatus {\r
id: syncStatus\r
\r
+ accentColor: Style.accentColor\r
visible: !trayWindowMainItem.isUnifiedSearchActive\r
\r
anchors.top: trayWindowUnifiedSearchInputContainer.bottom\r
import QtQuick.Controls
import Style
+// TODO: the current style does not support customization of this control
ProgressBar {
id: control
+ property color fillColor: Style.ncBlue
+
background: Rectangle {
implicitWidth: Style.progressBarWidth
implicitHeight: Style.progressBarBackgroundHeight
width: control.visualPosition * parent.width
height: parent.height
radius: Style.progressBarRadius
- color: palette.dark
+ color: control.fillColor
border.color: palette.dark
border.width: Style.progressBarContentBorderWidth
}
id: root
property alias model: syncStatus
+ property color accentColor: Style.ncBlue
spacing: Style.trayHorizontalMargin
sourceComponent: NCProgressBar {
id: syncProgressBar
value: syncStatus.syncProgress
+ fillColor: root.accentColor
}
}
property int progressBarRadius: 4\r
property int progressBarContentBorderWidth: 1\r
property int progressBarBackgroundBorderWidth: 1\r
- property color progressBarContentColor: ncBlue\r
\r
property int newActivitiesButtonWidth: 150\r
property int newActivitiesButtonHeight: 40\r