width: Style.folderStateIndicatorSize + Style.trayFolderStatusIndicatorSizeOffset
height: width
anchors.centerIn: parent
- color: Style.currentUserHeaderColor
radius: width * Style.trayFolderStatusIndicatorRadiusFactor
z: -2
}
width: Style.folderStateIndicatorSize + Style.trayFolderStatusIndicatorSizeOffset
height: width
anchors.centerIn: parent
- color: root.hovered ? Style.currentUserHeaderTextColor : palette.window
opacity: Style.trayFolderStatusIndicatorMouseHoverOpacityFactor
radius: width * Style.trayFolderStatusIndicatorRadiusFactor
z: -1
cache: true
- source: "image://svgimage-custom-color/folder.svg/" + Style.currentUserHeaderTextColor
+ source: "image://svgimage-custom-color/folder.svg/"
sourceSize {
width: imageWidth
height: imageHeight
cache: true
- source: "image://svgimage-custom-color/caret-down.svg/" + Style.currentUserHeaderTextColor
+ source: "image://svgimage-custom-color/caret-down.svg/"
sourceSize {
width: openLocalFolderButtonCaretIconLoader.imageWidth
height: openLocalFolderButtonCaretIconLoader.imageHeight
subline: model.modelData.parentPath
width: foldersMenuListView.width
height: Style.standardPrimaryButtonHeight
- backgroundIconSource: "image://svgimage-custom-color/folder.svg/" + palette.buttonText
+ backgroundIconSource: "image://svgimage-custom-color/folder.svg/"
iconSource: isGroupFolder
- ? "image://svgimage-custom-color/account-group.svg/" + palette.brightText
+ ? "image://svgimage-custom-color/account-group.svg/"
: ""
onTriggered: {
\r
ColorOverlay {\r
cached: true\r
- color: Style.currentUserHeaderTextColor\r
width: source.width\r
height: source.height\r
source: Image {\r
visible: currentUser.hasLocalFolder\r
currentUser: UserModel.currentUser\r
\r
-\r
onClicked: openLocalFolderButton.userHasGroupFolders ? openLocalFolderButton.toggleMenuOpen() : UserModel.openCurrentAccountLocalFolder()\r
\r
onFolderEntryTriggered: isGroupFolder ? UserModel.openCurrentAccountFolderFromTrayInfo(fullFolderPath) : UserModel.openCurrentAccountLocalFolder()\r
HeaderButton {\r
id: trayWindowFeaturedAppButton\r
visible: UserModel.currentUser.isFeaturedAppEnabled\r
- icon.source: UserModel.currentUser.featuredAppIcon + "/" + Style.currentUserHeaderTextColor\r
+ icon.source: UserModel.currentUser.featuredAppIcon + "/"\r
onClicked: UserModel.openCurrentAccountFeaturedApp()\r
\r
Accessible.role: Accessible.Button\r
\r
HeaderButton {\r
id: trayWindowAppsButton\r
- icon.source: "image://svgimage-custom-color/more-apps.svg" + "/" + Style.currentUserHeaderTextColor\r
+ icon.source: "image://svgimage-custom-color/more-apps.svg/"\r
\r
onClicked: {\r
if(appsMenuListView.count <= 0) {\r
id: appEntry\r
anchors.left: parent.left\r
anchors.right: parent.right\r
-\r
text: model.appName\r
font.pixelSize: Style.topLinePixelSize\r
icon.source: model.appIconUrl\r
- icon.color: palette.buttonText\r
onTriggered: UserAppsModel.openAppUrl(appUrl)\r
hoverEnabled: true\r
-\r
- // background: Item {\r
- // height: parent.height\r
- // width: parent.width\r
- // Rectangle {\r
- // anchors.fill: parent\r
- // anchors.margins: 1\r
- // color: parent.parent.hovered || parent.parent.visualFocus ? palette.highlight : palette.window\r
- // }\r
- // }\r
-\r
Accessible.role: Accessible.MenuItem\r
Accessible.name: qsTr("Open %1 in browser").arg(model.appName)\r
Accessible.onPressAction: appEntry.triggered()\r