aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/codemodel/importscheck/005_compositeQmlCopyAndCpp/QtQuick/Controls/Styles/Desktop/ToolBarStyle.qml
blob: a76840d987534b9a71dadb60ec5d16527f72f8ba (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
25
26
27
28
29
// 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

/*!
    \qmltype StatusBarStyle
    \internal
    \inqmlmodule QtQuick.Controls.Styles
*/
Style {

    padding.left: 6
    padding.right: 6
    padding.top: 1
    padding.bottom: style.style === "mac" ? 1 : style.style === "fusion" ? 3 : 2

    StyleItem { id: style ; visible: false}

    property Component panel: StyleItem {
        id: toolbar
        anchors.fill: parent
        elementType: "toolbar"
        textureWidth: 64
        border {left: 16 ; right: 16}
    }
}