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