summaryrefslogtreecommitdiff
path: root/raveos-theme/hyprland/theme-data/DankMaterialShell/quickshell/Modals/Settings/ProfileSection.qml
diff options
context:
space:
mode:
authorAlexanderCurl <alexc@alexc.hu>2026-04-18 17:46:06 +0100
committerAlexanderCurl <alexc@alexc.hu>2026-04-18 17:46:06 +0100
commit70ca3fef77ee8bdc6e3ac28589a6fa08c024cc69 (patch)
treeab1123d4067c1b086dd6faa7ee4ea643236b565a /raveos-theme/hyprland/theme-data/DankMaterialShell/quickshell/Modals/Settings/ProfileSection.qml
parent5d94c0a7d44a2255b81815a52a7056a94a39842d (diff)
downloadRaveOS-PKGBUILD-70ca3fef77ee8bdc6e3ac28589a6fa08c024cc69.tar.gz
RaveOS-PKGBUILD-70ca3fef77ee8bdc6e3ac28589a6fa08c024cc69.zip
Replaced file structures for themes in the correct format
Diffstat (limited to 'raveos-theme/hyprland/theme-data/DankMaterialShell/quickshell/Modals/Settings/ProfileSection.qml')
-rw-r--r--raveos-theme/hyprland/theme-data/DankMaterialShell/quickshell/Modals/Settings/ProfileSection.qml144
1 files changed, 0 insertions, 144 deletions
diff --git a/raveos-theme/hyprland/theme-data/DankMaterialShell/quickshell/Modals/Settings/ProfileSection.qml b/raveos-theme/hyprland/theme-data/DankMaterialShell/quickshell/Modals/Settings/ProfileSection.qml
deleted file mode 100644
index 29b4961..0000000
--- a/raveos-theme/hyprland/theme-data/DankMaterialShell/quickshell/Modals/Settings/ProfileSection.qml
+++ /dev/null
@@ -1,144 +0,0 @@
-import QtQuick
-import qs.Common
-import qs.Services
-import qs.Widgets
-
-Rectangle {
- id: root
-
- property var parentModal: null
-
- width: parent.width - Theme.spacingS * 2
- height: 110
- radius: Theme.cornerRadius
- color: "transparent"
- border.width: 0
-
- Row {
- anchors.left: parent.left
- anchors.verticalCenter: parent.verticalCenter
- anchors.leftMargin: Theme.spacingM
- anchors.rightMargin: Theme.spacingM
- spacing: Theme.spacingM
-
- Item {
- id: profileImageContainer
-
- width: 80
- height: 80
- anchors.verticalCenter: parent.verticalCenter
-
- DankCircularImage {
- id: profileImage
-
- anchors.fill: parent
- imageSource: {
- if (PortalService.profileImage === "") {
- return "";
- }
- if (PortalService.profileImage.startsWith("/")) {
- return "file://" + PortalService.profileImage;
- }
- return PortalService.profileImage;
- }
- fallbackIcon: "person"
- }
-
- Rectangle {
- anchors.fill: parent
- radius: width / 2
- color: Qt.rgba(0, 0, 0, 0.7)
- visible: profileMouseArea.containsMouse
-
- Row {
- anchors.centerIn: parent
- spacing: 4
-
- Rectangle {
- width: 28
- height: 28
- radius: 14
- color: Qt.rgba(255, 255, 255, 0.9)
-
- DankIcon {
- anchors.centerIn: parent
- name: "edit"
- size: 16
- color: "black"
- }
-
- MouseArea {
- anchors.fill: parent
- cursorShape: Qt.PointingHandCursor
- onClicked: () => {
- if (root.parentModal) {
- root.parentModal.allowFocusOverride = true;
- root.parentModal.shouldHaveFocus = false;
- root.parentModal.openProfileBrowser();
- }
- }
- }
- }
-
- Rectangle {
- width: 28
- height: 28
- radius: 14
- color: Qt.rgba(255, 255, 255, 0.9)
- visible: profileImage.hasImage
-
- DankIcon {
- anchors.centerIn: parent
- name: "close"
- size: 16
- color: "black"
- }
-
- MouseArea {
- anchors.fill: parent
- cursorShape: Qt.PointingHandCursor
- onClicked: () => {
- return PortalService.setProfileImage("");
- }
- }
- }
- }
- }
-
- MouseArea {
- id: profileMouseArea
-
- anchors.fill: parent
- hoverEnabled: true
- cursorShape: Qt.PointingHandCursor
- propagateComposedEvents: true
- acceptedButtons: Qt.NoButton
- }
- }
-
- Column {
- width: 120
- anchors.verticalCenter: parent.verticalCenter
- spacing: Theme.spacingXS
-
- StyledText {
- text: UserInfoService.fullName || "User"
- font.pixelSize: Theme.fontSizeLarge
- font.weight: Font.Medium
- color: Theme.surfaceText
- elide: Text.ElideRight
- width: parent.width
- horizontalAlignment: Text.AlignLeft
- }
-
- StyledText {
- text: DgopService.hostname || "DMS"
- font.pixelSize: Theme.fontSizeMedium
- color: Theme.surfaceVariantText
- elide: Text.ElideRight
- width: parent.width
- horizontalAlignment: Text.AlignLeft
- }
- }
- }
-}