aboutsummaryrefslogtreecommitdiffstats
path: root/config/quickshell/overview-backup/common/widgets/StyledToolTipContent.qml
diff options
context:
space:
mode:
authorDon Williams <Don.e.williams@gmail.com>2026-07-13 14:55:49 -0400
committerPinapelz <yukais@pinapelz.com>2026-08-29 21:40:34 -0700
commit54b56290253719aa71d8ccfddff6fa0424e22804 (patch)
tree22f99020e4199597c80c70c57adf9ba4e95d7bf0 /config/quickshell/overview-backup/common/widgets/StyledToolTipContent.qml
parent96abeed3ec3913e93d8eff60ab50daee0d27fd47 (diff)
Moved quickshell-backtup to -trixie
Signed-off-by: Don Williams <Don.e.williams@gmail.com>
Diffstat (limited to 'config/quickshell/overview-backup/common/widgets/StyledToolTipContent.qml')
-rw-r--r--config/quickshell/overview-backup/common/widgets/StyledToolTipContent.qml49
1 files changed, 0 insertions, 49 deletions
diff --git a/config/quickshell/overview-backup/common/widgets/StyledToolTipContent.qml b/config/quickshell/overview-backup/common/widgets/StyledToolTipContent.qml
deleted file mode 100644
index b8c29c1a..00000000
--- a/config/quickshell/overview-backup/common/widgets/StyledToolTipContent.qml
+++ /dev/null
@@ -1,49 +0,0 @@
-import QtQuick
-import "."
-import "../"
-
-Item {
- id: root
- required property string text
- property bool shown: false
- property real horizontalPadding: 10
- property real verticalPadding: 5
- implicitWidth: tooltipTextObject.implicitWidth + 2 * root.horizontalPadding
- implicitHeight: tooltipTextObject.implicitHeight + 2 * root.verticalPadding
-
- property bool isVisible: backgroundRectangle.implicitHeight > 0
-
- Rectangle {
- id: backgroundRectangle
- anchors {
- bottom: root.bottom
- horizontalCenter: root.horizontalCenter
- }
- color: Appearance?.colors.colTooltip ?? "#3C4043"
- radius: Appearance?.rounding.verysmall ?? 7
- opacity: shown ? 1 : 0
- implicitWidth: shown ? (tooltipTextObject.implicitWidth + 2 * root.horizontalPadding) : 0
- implicitHeight: shown ? (tooltipTextObject.implicitHeight + 2 * root.verticalPadding) : 0
- clip: true
-
- Behavior on implicitWidth {
- animation: Appearance?.animation.elementMoveFast.numberAnimation.createObject(this)
- }
- Behavior on implicitHeight {
- animation: Appearance?.animation.elementMoveFast.numberAnimation.createObject(this)
- }
- Behavior on opacity {
- animation: Appearance?.animation.elementMoveFast.numberAnimation.createObject(this)
- }
-
- StyledText {
- id: tooltipTextObject
- anchors.centerIn: parent
- text: root.text
- font.pixelSize: Appearance?.font.pixelSize.smaller ?? 14
- font.hintingPreference: Font.PreferNoHinting
- color: Appearance?.colors.colOnTooltip ?? "#FFFFFF"
- wrapMode: Text.Wrap
- }
- }
-}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage