mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 23:09:26 -05:00
fix some "overrides a member of the base object" warnings
This commit is contained in:
@@ -9,7 +9,7 @@ import QtQuick.Layouts
|
||||
*/
|
||||
Rectangle {
|
||||
id: root
|
||||
default property alias data: rowLayout.data
|
||||
default property alias groupData: rowLayout.data
|
||||
property alias uniformCellSizes: rowLayout.uniformCellSizes
|
||||
property real spacing: 5
|
||||
property real padding: 0
|
||||
|
||||
@@ -9,7 +9,7 @@ StyledFlickable {
|
||||
property bool forceWidth: false
|
||||
property real bottomContentPadding: 100
|
||||
|
||||
default property alias data: contentColumn.data
|
||||
default property alias contentData: contentColumn.data
|
||||
|
||||
clip: true
|
||||
contentHeight: contentColumn.implicitHeight + root.bottomContentPadding // Add some padding at the bottom
|
||||
|
||||
@@ -8,7 +8,7 @@ ColumnLayout {
|
||||
id: root
|
||||
property string title
|
||||
property string icon: ""
|
||||
default property alias data: sectionContent.data
|
||||
default property alias contentData: sectionContent.data
|
||||
|
||||
Layout.fillWidth: true
|
||||
spacing: 6
|
||||
|
||||
@@ -7,7 +7,7 @@ ColumnLayout {
|
||||
id: root
|
||||
property string title: ""
|
||||
property string tooltip: ""
|
||||
default property alias data: sectionContent.data
|
||||
default property alias contentData: sectionContent.data
|
||||
|
||||
Layout.fillWidth: true
|
||||
Layout.topMargin: 4
|
||||
|
||||
@@ -7,7 +7,7 @@ Item {
|
||||
id: root
|
||||
property int currentIndex: 0
|
||||
property bool expanded: false
|
||||
default property alias data: tabBarColumn.data
|
||||
default property alias tabData: tabBarColumn.data
|
||||
implicitHeight: tabBarColumn.implicitHeight
|
||||
implicitWidth: tabBarColumn.implicitWidth
|
||||
Layout.topMargin: 25
|
||||
|
||||
@@ -7,7 +7,7 @@ Rectangle {
|
||||
id: root
|
||||
property alias materialIcon: icon.text
|
||||
property alias text: noticeText.text
|
||||
default property alias data: buttonRow.data
|
||||
default property alias boxData: buttonRow.data
|
||||
|
||||
radius: Appearance.rounding.normal
|
||||
color: Appearance.colors.colPrimaryContainer
|
||||
|
||||
@@ -14,7 +14,7 @@ Item {
|
||||
property real padding: 8
|
||||
property alias colBackground: background.color
|
||||
property alias spacing: toolbarLayout.spacing
|
||||
default property alias data: toolbarLayout.data
|
||||
default property alias toolbarData: toolbarLayout.data
|
||||
implicitWidth: background.implicitWidth
|
||||
implicitHeight: background.implicitHeight
|
||||
property alias radius: background.radius
|
||||
|
||||
@@ -9,7 +9,7 @@ Rectangle {
|
||||
id: root
|
||||
|
||||
property bool show: false
|
||||
default property alias data: contentColumn.data
|
||||
default property alias contentData: contentColumn.data
|
||||
property real backgroundHeight: dialogBackground.implicitHeight
|
||||
property real backgroundWidth: 350
|
||||
property real backgroundAnimationMovementDistance: 60
|
||||
|
||||
@@ -170,18 +170,13 @@ Item {
|
||||
|
||||
ButtonGroup {
|
||||
contentWidth: parent.width - anchors.margins * 2
|
||||
WrapperRectangle {
|
||||
StyledText {
|
||||
Layout.margins: 5
|
||||
Layout.fillWidth: true
|
||||
color: ColorUtils.transparentize(Appearance.colors.colSurfaceContainer)
|
||||
radius: Appearance.rounding.small
|
||||
margin: 5
|
||||
StyledText {
|
||||
Layout.fillWidth: true
|
||||
font.pixelSize: Appearance.font.pixelSize.small
|
||||
text: windowButton.modelData?.title
|
||||
elide: Text.ElideRight
|
||||
color: Appearance.m3colors.m3onSurface
|
||||
}
|
||||
font.pixelSize: Appearance.font.pixelSize.small
|
||||
text: windowButton.modelData?.title
|
||||
elide: Text.ElideRight
|
||||
color: Appearance.m3colors.m3onSurface
|
||||
}
|
||||
GroupButton {
|
||||
id: closeButton
|
||||
|
||||
@@ -185,7 +185,7 @@ LockScreen {
|
||||
id: iconIndicator
|
||||
required property string baseIcon
|
||||
required property string icon
|
||||
default property alias data: iconWidget.data
|
||||
default property alias indicatorData: iconWidget.data
|
||||
implicitWidth: 40
|
||||
implicitHeight: 40
|
||||
FluentIcon {
|
||||
|
||||
@@ -10,7 +10,7 @@ Item {
|
||||
property alias colBackground: background.color
|
||||
property alias spacing: toolbarLayout.spacing
|
||||
property alias radius: background.radius
|
||||
default property alias data: toolbarLayout.data
|
||||
default property alias toolbarData: toolbarLayout.data
|
||||
|
||||
implicitWidth: background.implicitWidth
|
||||
implicitHeight: background.implicitHeight
|
||||
|
||||
@@ -57,7 +57,7 @@ BodyRectangle {
|
||||
component PageSection: ColumnLayout {
|
||||
id: pageSection
|
||||
required property string title
|
||||
default property alias data: pageSectionContentArea.data
|
||||
default property alias pageData: pageSectionContentArea.data
|
||||
|
||||
spacing: 16
|
||||
|
||||
|
||||
Reference in New Issue
Block a user