import QtQuick.Layouts import Weave.Controls import "internal" Button { id: root checkable: true Layout.fillHeight: true background: AsymmetricRoundedBackground { isSegmentedButton: true roundedEdge: (root.x === 0 && root.x === ((root.parent? root.parent.width : 0) - root.width)) ? AsymmetricRoundedBackground.RoundedEdge.Both : root.x === 0 ? AsymmetricRoundedBackground.RoundedEdge.Left : root.x === ((root.parent? root.parent.width : 0) - root.width) ? AsymmetricRoundedBackground.RoundedEdge.Right : AsymmetricRoundedBackground.RoundedEdge.Neither backgroundStyle: AsymmetricRoundedBackground.BackgroundStyle.StaticIconButtonStyle } }