properties don't need to be declared anymore

This commit is contained in:
Marco Martin 2014-08-18 11:32:49 +02:00
parent 21e47e6ab8
commit 907da69251

View File

@ -34,17 +34,13 @@ QtQuickControlStyle.TextAreaStyle {
id: svs id: svs
} }
readonly property TextArea control: __control font: theme.defaultFont
backgroundColor: "transparent"
textColor: theme.viewTextColor
selectionColor: theme.viewFocusColor
selectedTextColor: theme.viewBackgroundColor
property font font: theme.defaultFont renderType: Text.NativeRendering
property color backgroundColor: "transparent"
property color textColor: theme.viewTextColor
property color selectionColor: theme.viewFocusColor
property color selectedTextColor: theme.viewBackgroundColor
property int renderType: Text.NativeRendering
property real textMargin: 4
frame: PlasmaCore.FrameSvgItem { frame: PlasmaCore.FrameSvgItem {
id: base id: base
@ -71,6 +67,4 @@ QtQuickControlStyle.TextAreaStyle {
incrementControl: svs.incrementControl incrementControl: svs.incrementControl
decrementControl: svs.decrementControl decrementControl: svs.decrementControl
property Component cursorHandle
property Component selectionHandle
} }