fix unresolved objects
This commit is contained in:
parent
9827cd84cc
commit
795320af25
@ -112,6 +112,7 @@ Item {
|
|||||||
Item {
|
Item {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
property alias margins: surface.margins
|
property alias margins: surface.margins
|
||||||
|
property alias surfaceOpacity: surface.opacity
|
||||||
Private.ButtonShadow {
|
Private.ButtonShadow {
|
||||||
id: shadow
|
id: shadow
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
@ -140,6 +141,7 @@ Item {
|
|||||||
id: roundButtonDelegate
|
id: roundButtonDelegate
|
||||||
parent: delegate
|
parent: delegate
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
property alias surfaceOpacity: buttonItem.opacity
|
||||||
property QtObject margins: QtObject {
|
property QtObject margins: QtObject {
|
||||||
property int left: delegate.width/8
|
property int left: delegate.width/8
|
||||||
property int top: delegate.width/8
|
property int top: delegate.width/8
|
||||||
@ -218,7 +220,7 @@ Item {
|
|||||||
font.underline: theme.defaultFont.underline
|
font.underline: theme.defaultFont.underline
|
||||||
font.weight: theme.defaultFont.weight
|
font.weight: theme.defaultFont.weight
|
||||||
font.wordSpacing: theme.defaultFont.wordSpacing
|
font.wordSpacing: theme.defaultFont.wordSpacing
|
||||||
color: surface.opacity == 1 ? theme.buttonTextColor : theme.textColor
|
color: delegate.item.surfaceOpacity > 0.5 ? theme.buttonTextColor : theme.textColor
|
||||||
horizontalAlignment: icon.valid ? Text.AlignLeft : Text.AlignHCenter
|
horizontalAlignment: icon.valid ? Text.AlignLeft : Text.AlignHCenter
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
}
|
}
|
||||||
|
@ -39,6 +39,11 @@ PlasmaCore.FrameSvgItem {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
PlasmaCore.Svg {
|
||||||
|
id: scrollbarSvg
|
||||||
|
imagePath: "widgets/scrollbar"
|
||||||
|
}
|
||||||
|
|
||||||
property Item handle: handle
|
property Item handle: handle
|
||||||
|
|
||||||
property Item contents: contents
|
property Item contents: contents
|
||||||
|
Loading…
Reference in New Issue
Block a user