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
68 lines
1.7 KiB
QML
68 lines
1.7 KiB
QML
import qs
|
|
import qs.services
|
|
import qs.modules.common
|
|
import qs.modules.common.widgets
|
|
import qs.modules.common.functions
|
|
import "periodic_table.js" as PTable
|
|
import QtQuick
|
|
import QtQuick.Layouts
|
|
|
|
Item {
|
|
id: root
|
|
readonly property var elements: PTable.elements
|
|
readonly property var series: PTable.series
|
|
property real spacing: 6
|
|
implicitWidth: mainLayout.implicitWidth
|
|
implicitHeight: mainLayout.implicitHeight
|
|
|
|
ColumnLayout {
|
|
id: mainLayout
|
|
spacing: root.spacing
|
|
|
|
Repeater { // Main table rows
|
|
model: root.elements
|
|
|
|
delegate: RowLayout { // Table cells
|
|
id: tableRow
|
|
spacing: root.spacing
|
|
required property var modelData
|
|
|
|
Repeater {
|
|
model: tableRow.modelData
|
|
delegate: ElementTile {
|
|
required property var modelData
|
|
element: modelData
|
|
}
|
|
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
Item {
|
|
id: gap
|
|
implicitHeight: 20
|
|
}
|
|
|
|
Repeater { // Main table rows
|
|
model: root.series
|
|
|
|
delegate: RowLayout { // Table cells
|
|
id: seriesTableRow
|
|
spacing: root.spacing
|
|
required property var modelData
|
|
|
|
Repeater {
|
|
model: seriesTableRow.modelData
|
|
delegate: ElementTile {
|
|
required property var modelData
|
|
element: modelData
|
|
}
|
|
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|
|
|
|
} |