@ -174,6 +174,73 @@ PlasmaComponents.Page {
}
/ / ! E N D : B e h a v i o r
/ / ! B E G I N : A c t i v e I n d i c a t o r
ColumnLayout {
Layout.fillWidth: true
spacing: units . smallSpacing
visible: plasmoid . configuration . advanced
Header {
text: i18n ( "Active Applet Indicator" )
}
RowLayout {
Layout.fillWidth: true
Layout.leftMargin: units . smallSpacing * 2
Layout.rightMargin: units . smallSpacing * 2
spacing: 2
RowLayout {
Layout.fillWidth: true
spacing: units . smallSpacing
property int activeIndicator: plasmoid . configuration . activeIndicator
ExclusiveGroup {
id: activeIndicatorGroup
onCurrentChanged: {
if ( current . checked )
plasmoid . configuration . activeIndicator = current . activeIndicator
}
}
PlasmaComponents . Button {
Layout.fillWidth: true
text: i18nc ( "active indicator to no applets" , "None" )
checked: parent . activeIndicator === activeIndicator
checkable: true
exclusiveGroup: activeIndicatorGroup
readonly property int activeIndicator: Latte . Dock . NoneIndicator
}
PlasmaComponents . Button {
Layout.fillWidth: true
text: i18nc ( "active indicator only to in-house latte applets" , "Internals" )
checked: parent . activeIndicator === activeIndicator
checkable: true
exclusiveGroup: activeIndicatorGroup
readonly property int activeIndicator: Latte . Dock . InternalsIndicator
}
PlasmaComponents . Button {
Layout.fillWidth: true
text: i18nc ( "active indicator to all applets" , "All" )
checked: parent . activeIndicator === activeIndicator
checkable: true
exclusiveGroup: activeIndicatorGroup
readonly property int activeIndicator: Latte . Dock . AllIndicator
}
}
}
}
/ / ! E N D : A c t i v e I n d i c a t o r
/ / ! B E G I N : S e s s i o n
ColumnLayout {
spacing: units . smallSpacing