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
47 lines
1.2 KiB
QML
47 lines
1.2 KiB
QML
import QtQuick
|
|
import QtQuick.Layouts
|
|
import qs.modules.common
|
|
import qs.modules.common.widgets
|
|
|
|
ColumnLayout {
|
|
id: root
|
|
property string title: ""
|
|
property string tooltip: ""
|
|
default property alias data: sectionContent.data
|
|
|
|
Layout.fillWidth: true
|
|
Layout.topMargin: 4
|
|
spacing: 2
|
|
|
|
RowLayout {
|
|
ContentSubsectionLabel {
|
|
visible: root.title && root.title.length > 0
|
|
text: root.title
|
|
}
|
|
MaterialSymbol {
|
|
visible: root.tooltip && root.tooltip.length > 0
|
|
text: "info"
|
|
iconSize: Appearance.font.pixelSize.large
|
|
|
|
color: Appearance.colors.colSubtext
|
|
MouseArea {
|
|
id: infoMouseArea
|
|
anchors.fill: parent
|
|
hoverEnabled: true
|
|
cursorShape: Qt.WhatsThisCursor
|
|
StyledToolTip {
|
|
extraVisibleCondition: false
|
|
alternativeVisibleCondition: infoMouseArea.containsMouse
|
|
content: root.tooltip
|
|
}
|
|
}
|
|
}
|
|
Item { Layout.fillWidth: true }
|
|
}
|
|
ColumnLayout {
|
|
id: sectionContent
|
|
Layout.fillWidth: true
|
|
spacing: 2
|
|
}
|
|
}
|