dd focus rectangles
This commit is contained in:
parent
58f4f3b126
commit
770121d516
@ -22,7 +22,7 @@ import QtQuick.Controls.Styles 1.1 as QtQuickControlStyle
|
||||
|
||||
import org.kde.plasma.core 2.0 as PlasmaCore
|
||||
import org.kde.plasma.components 2.0 as PlasmaComponents
|
||||
|
||||
import "../private" as Private
|
||||
|
||||
QtQuickControlStyle.CheckBoxStyle {
|
||||
id: checkboxStyle
|
||||
@ -68,5 +68,10 @@ QtQuickControlStyle.CheckBoxStyle {
|
||||
}
|
||||
}
|
||||
}
|
||||
Private.ButtonShadow {
|
||||
z: -1
|
||||
anchors.fill: parent
|
||||
state: control.activeFocus ? "focus" : (control.hovered ? "hover" : "shadow")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -22,7 +22,7 @@ import QtQuick.Controls.Styles 1.1 as QtQuickControlStyle
|
||||
|
||||
import org.kde.plasma.core 2.0 as PlasmaCore
|
||||
import org.kde.plasma.components 2.0 as PlasmaComponents
|
||||
|
||||
import "../private" as Private
|
||||
|
||||
QtQuickControlStyle.RadioButtonStyle {
|
||||
id: radiobuttonStyle
|
||||
@ -63,5 +63,10 @@ QtQuickControlStyle.RadioButtonStyle {
|
||||
}
|
||||
}
|
||||
}
|
||||
Private.RoundShadow {
|
||||
anchors.fill: parent
|
||||
z: -1
|
||||
state: control.activeFocus ? "focus" : (control.hovered ? "hover" : "shadow")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user