aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/codemodel/importscheck/007_compositeQmlCopyAndCppAndQml/QtQuick/Controls/Styles/Desktop/TextAreaStyle.qml
blob: d423d4fa77879a37af2c1dde5585e20a240884a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause

import QtQuick 2.1
import QtQuick.Controls 1.1
import QtQuick.Controls.Private 1.0

ScrollViewStyle {
    property font font: __styleitem.font
    property color textColor: __styleitem.textColor
    property color selectionColor: __syspal.highlight
    property color selectedTextColor: __syspal.highlightedText
    property color backgroundColor: control.backgroundVisible ? __syspal.base : "transparent"

    property StyleItem __styleitem: StyleItem{
        property color textColor: styleHint("textColor")
        elementType: "edit"
        visible: false
        active: control.activeFocus
        onActiveChanged: textColor = styleHint("textColor")
    }

    property int renderType: Text.NativeRendering
}