forked from Shinonome/alt-illogical-impulse
ac6d3adeb9
BREAKING CHANGE: Remove external dots-hyprland dependency - Imported all essential configs from dots-hyprland/installer-replication - Added complete configs/ directory with: - hypr/ - Hyprland configuration - quickshell/ - Quickshell widgets and config - applications/ - Application configurations - scripts/ - Utility scripts - matugen/ - Material You theming - Updated flake.nix to use local ./configs instead of external repo - Simplified update-flake script (removed external repo management) - Updated README to reflect self-contained architecture - All builds pass with local configurations Benefits: - No external repository dependencies - Faster builds (no network dependencies) - Version controlled configs in single repo - Easier maintenance and development - Complete installer replication in one place
57 lines
1.6 KiB
QML
57 lines
1.6 KiB
QML
import qs
|
|
import qs.modules.common
|
|
import qs.modules.common.widgets
|
|
import QtQuick
|
|
import QtQuick.Layouts
|
|
|
|
Revealer { // Scroll hint
|
|
id: root
|
|
property string icon
|
|
property string side: "left"
|
|
property string tooltipText: ""
|
|
|
|
MouseArea {
|
|
anchors.right: root.side === "left" ? parent.right : undefined
|
|
anchors.left: root.side === "right" ? parent.left : undefined
|
|
implicitWidth: contentColumnLayout.implicitWidth
|
|
implicitHeight: contentColumnLayout.implicitHeight
|
|
property bool hovered: false
|
|
|
|
hoverEnabled: true
|
|
onEntered: hovered = true
|
|
onExited: hovered = false
|
|
acceptedButtons: Qt.NoButton
|
|
|
|
// StyledToolTip {
|
|
// extraVisibleCondition: tooltipText.length > 0
|
|
// content: tooltipText
|
|
// }
|
|
|
|
ColumnLayout {
|
|
id: contentColumnLayout
|
|
anchors.centerIn: parent
|
|
spacing: -5
|
|
MaterialSymbol {
|
|
Layout.leftMargin: 5
|
|
Layout.rightMargin: 5
|
|
text: "keyboard_arrow_up"
|
|
iconSize: 14
|
|
color: Appearance.colors.colSubtext
|
|
}
|
|
MaterialSymbol {
|
|
Layout.leftMargin: 5
|
|
Layout.rightMargin: 5
|
|
text: root.icon
|
|
iconSize: 14
|
|
color: Appearance.colors.colSubtext
|
|
}
|
|
MaterialSymbol {
|
|
Layout.leftMargin: 5
|
|
Layout.rightMargin: 5
|
|
text: "keyboard_arrow_down"
|
|
iconSize: 14
|
|
color: Appearance.colors.colSubtext
|
|
}
|
|
}
|
|
}
|
|
} |