mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-10-18 09:14:01 -04:00
deprecation notice to plugin compatibility shims - When qml-common became a thing, we left qs.Widgets shims in place for plugin compatibility - It's annoying to need to maintain them when qml-common has any change, add a warning so we can safely deprecate them in the future - One shot rename the common stuff to D to make it shorter and nicer to write
35 lines
992 B
QML
35 lines
992 B
QML
import QtQuick
|
|
import qs.Common
|
|
import qs.DCommon.Widgets
|
|
|
|
SettingsRow {
|
|
id: root
|
|
|
|
required property var group
|
|
|
|
visible: group.active && group.target !== group.source
|
|
x: group.source?.mapToItem(group.coordinateItem, 0, 0).x ?? 0
|
|
y: group.position.y - (group.source?.pressOffset ?? 0)
|
|
width: group.source?.width ?? 0
|
|
height: group.sourceItem?.height ?? 0
|
|
title: group.sourceItem?.title ?? ""
|
|
subtitle: group.sourceItem?.subtitle ?? ""
|
|
iconName: group.sourceItem?.iconName ?? ""
|
|
rowColor: Theme.blend(SettingsMetrics.rowColor, Theme.onSurface, Theme.stateLayerDrag)
|
|
topRadius: Theme.groupedListOuterRadius
|
|
bottomRadius: Theme.groupedListOuterRadius
|
|
z: 100
|
|
|
|
leading: Item {
|
|
width: Theme.iconButtonSize
|
|
height: Theme.iconButtonSize
|
|
|
|
DIcon {
|
|
anchors.centerIn: parent
|
|
name: "drag_indicator"
|
|
size: Theme.iconSizeMedium
|
|
color: Theme.onSurfaceVariant
|
|
}
|
|
}
|
|
}
|