make notifs and page placeholder use new material shapes

This commit is contained in:
end-4
2025-10-29 11:17:03 +01:00
parent 8b10ec2cfb
commit 05f3e52f55
5 changed files with 14 additions and 8 deletions
@@ -369,6 +369,7 @@ Inline w/ backslash and round brackets \\(e^{i\\pi} + 1 = 0\\)
icon: "neurology"
title: Translation.tr("Large language models")
description: Translation.tr("Type /key to get started with online models\nCtrl+O to expand the sidebar\nCtrl+P to detach sidebar into a window")
shape: MaterialShape.Shape.PixelCircle
}
ScrollToBottomButton {
@@ -206,6 +206,7 @@ Item {
icon: "bookmark_heart"
title: Translation.tr("Anime boorus")
description: ""
shape: MaterialShape.Shape.Bun
}
ScrollToBottomButton {
@@ -7,9 +7,10 @@ Item {
id: root
property bool shown: true
property alias icon: cookieWrappedMaterialSymbol.text
property alias icon: shapeWidget.text
property alias title: widgetNameText.text
property alias description: widgetDescriptionText.text
property alias shape: shapeWidget.shape
opacity: shown ? 1 : 0
visible: opacity > 0
@@ -27,8 +28,8 @@ Item {
anchors.centerIn: parent
spacing: 5
CookieWrappedMaterialSymbol {
id: cookieWrappedMaterialSymbol
MaterialShapeWrappedMaterialSymbol {
id: shapeWidget
Layout.alignment: Qt.AlignHCenter
iconSize: 60
rotation: -60 * (1 - root.opacity)