diff options
Diffstat (limited to 'tests/auto/quickcontrols/customization/data/styles/override')
52 files changed, 1006 insertions, 0 deletions
diff --git a/tests/auto/quickcontrols/customization/data/styles/override/AbstractButton.qml b/tests/auto/quickcontrols/customization/data/styles/override/AbstractButton.qml new file mode 100644 index 0000000000..ba1b1cb8fa --- /dev/null +++ b/tests/auto/quickcontrols/customization/data/styles/override/AbstractButton.qml @@ -0,0 +1,22 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +import QtQuick +import "../simple" as Simple + +Simple.AbstractButton { + id: control + objectName: "abstractbutton-override" + + indicator: Item { + objectName: "abstractbutton-indicator-override" + } + + contentItem: Item { + objectName: "abstractbutton-contentItem-override" + } + + background: Item { + objectName: "abstractbutton-background-override" + } +} diff --git a/tests/auto/quickcontrols/customization/data/styles/override/ApplicationWindow.qml b/tests/auto/quickcontrols/customization/data/styles/override/ApplicationWindow.qml new file mode 100644 index 0000000000..d2439bfb84 --- /dev/null +++ b/tests/auto/quickcontrols/customization/data/styles/override/ApplicationWindow.qml @@ -0,0 +1,14 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +import QtQuick +import "../simple" as Simple + +Simple.ApplicationWindow { + id: control + objectName: "applicationwindow-override" + + background: Item { + objectName: "applicationwindow-background-override" + } +} diff --git a/tests/auto/quickcontrols/customization/data/styles/override/BusyIndicator.qml b/tests/auto/quickcontrols/customization/data/styles/override/BusyIndicator.qml new file mode 100644 index 0000000000..827b45810a --- /dev/null +++ b/tests/auto/quickcontrols/customization/data/styles/override/BusyIndicator.qml @@ -0,0 +1,18 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +import QtQuick +import "../simple" as Simple + +Simple.BusyIndicator { + id: control + objectName: "busyindicator-override" + + contentItem: Item { + objectName: "busyindicator-contentItem-override" + } + + background: Item { + objectName: "busyindicator-background-override" + } +} diff --git a/tests/auto/quickcontrols/customization/data/styles/override/Button.qml b/tests/auto/quickcontrols/customization/data/styles/override/Button.qml new file mode 100644 index 0000000000..a5bea3ebfe --- /dev/null +++ b/tests/auto/quickcontrols/customization/data/styles/override/Button.qml @@ -0,0 +1,18 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +import QtQuick +import "../simple" as Simple + +Simple.Button { + id: control + objectName: "button-override" + + contentItem: Item { + objectName: "button-contentItem-override" + } + + background: Item { + objectName: "button-background-override" + } +} diff --git a/tests/auto/quickcontrols/customization/data/styles/override/CheckBox.qml b/tests/auto/quickcontrols/customization/data/styles/override/CheckBox.qml new file mode 100644 index 0000000000..aa7230cbd9 --- /dev/null +++ b/tests/auto/quickcontrols/customization/data/styles/override/CheckBox.qml @@ -0,0 +1,18 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +import QtQuick +import "../simple" as Simple + +Simple.CheckBox { + id: control + objectName: "checkbox-override" + + indicator: Item { + objectName: "checkbox-indicator-override" + } + + contentItem: Item { + objectName: "checkbox-contentItem-override" + } +} diff --git a/tests/auto/quickcontrols/customization/data/styles/override/CheckDelegate.qml b/tests/auto/quickcontrols/customization/data/styles/override/CheckDelegate.qml new file mode 100644 index 0000000000..ea0b768bb4 --- /dev/null +++ b/tests/auto/quickcontrols/customization/data/styles/override/CheckDelegate.qml @@ -0,0 +1,22 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +import QtQuick +import "../simple" as Simple + +Simple.CheckDelegate { + id: control + objectName: "checkdelegate-override" + + indicator: Item { + objectName: "checkdelegate-indicator-override" + } + + contentItem: Item { + objectName: "checkdelegate-contentItem-override" + } + + background: Item { + objectName: "checkdelegate-background-override" + } +} diff --git a/tests/auto/quickcontrols/customization/data/styles/override/ComboBox.qml b/tests/auto/quickcontrols/customization/data/styles/override/ComboBox.qml new file mode 100644 index 0000000000..ba2467e0be --- /dev/null +++ b/tests/auto/quickcontrols/customization/data/styles/override/ComboBox.qml @@ -0,0 +1,27 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +import QtQuick +import QtQuick.Templates as T +import "../simple" as Simple + +Simple.ComboBox { + id: control + objectName: "combobox-override" + + indicator: Item { + objectName: "combobox-indicator-override" + } + + contentItem: Item { + objectName: "combobox-contentItem-override" + } + + background: Item { + objectName: "combobox-background-override" + } + + popup: T.Popup { + objectName: "combobox-popup-override" + } +} diff --git a/tests/auto/quickcontrols/customization/data/styles/override/Container.qml b/tests/auto/quickcontrols/customization/data/styles/override/Container.qml new file mode 100644 index 0000000000..68186cd2e0 --- /dev/null +++ b/tests/auto/quickcontrols/customization/data/styles/override/Container.qml @@ -0,0 +1,18 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +import QtQuick +import "../simple" as Simple + +Simple.Container { + id: control + objectName: "container-override" + + contentItem: Item { + objectName: "container-contentItem-override" + } + + background: Item { + objectName: "container-background-override" + } +} diff --git a/tests/auto/quickcontrols/customization/data/styles/override/Control.qml b/tests/auto/quickcontrols/customization/data/styles/override/Control.qml new file mode 100644 index 0000000000..b9ca4c2643 --- /dev/null +++ b/tests/auto/quickcontrols/customization/data/styles/override/Control.qml @@ -0,0 +1,18 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +import QtQuick +import "../simple" as Simple + +Simple.Control { + id: control + objectName: "control-override" + + contentItem: Item { + objectName: "control-contentItem-override" + } + + background: Item { + objectName: "control-background-override" + } +} diff --git a/tests/auto/quickcontrols/customization/data/styles/override/DelayButton.qml b/tests/auto/quickcontrols/customization/data/styles/override/DelayButton.qml new file mode 100644 index 0000000000..68ff2684d3 --- /dev/null +++ b/tests/auto/quickcontrols/customization/data/styles/override/DelayButton.qml @@ -0,0 +1,18 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +import QtQuick +import "../simple" as Simple + +Simple.DelayButton { + id: control + objectName: "delaybutton-override" + + contentItem: Item { + objectName: "delaybutton-contentItem-override" + } + + background: Item { + objectName: "delaybutton-background-override" + } +} diff --git a/tests/auto/quickcontrols/customization/data/styles/override/Dial.qml b/tests/auto/quickcontrols/customization/data/styles/override/Dial.qml new file mode 100644 index 0000000000..e451b6b0c2 --- /dev/null +++ b/tests/auto/quickcontrols/customization/data/styles/override/Dial.qml @@ -0,0 +1,18 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +import QtQuick +import "../simple" as Simple + +Simple.Dial { + id: control + objectName: "dial-override" + + handle: Item { + objectName: "dial-handle-override" + } + + background: Item { + objectName: "dial-background-override" + } +} diff --git a/tests/auto/quickcontrols/customization/data/styles/override/Dialog.qml b/tests/auto/quickcontrols/customization/data/styles/override/Dialog.qml new file mode 100644 index 0000000000..1870887243 --- /dev/null +++ b/tests/auto/quickcontrols/customization/data/styles/override/Dialog.qml @@ -0,0 +1,18 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +import QtQuick +import "../simple" as Simple + +Simple.Dialog { + id: control + objectName: "dialog-override" + + contentItem: Item { + objectName: "dialog-contentItem-override" + } + + background: Item { + objectName: "dialog-background-override" + } +} diff --git a/tests/auto/quickcontrols/customization/data/styles/override/DialogButtonBox.qml b/tests/auto/quickcontrols/customization/data/styles/override/DialogButtonBox.qml new file mode 100644 index 0000000000..4e7ceb0ab6 --- /dev/null +++ b/tests/auto/quickcontrols/customization/data/styles/override/DialogButtonBox.qml @@ -0,0 +1,18 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +import QtQuick +import "../simple" as Simple + +Simple.DialogButtonBox { + id: control + objectName: "dialogbuttonbox-override" + + contentItem: Item { + objectName: "dialogbuttonbox-contentItem-override" + } + + background: Item { + objectName: "dialogbuttonbox-background-override" + } +} diff --git a/tests/auto/quickcontrols/customization/data/styles/override/Drawer.qml b/tests/auto/quickcontrols/customization/data/styles/override/Drawer.qml new file mode 100644 index 0000000000..0de7097601 --- /dev/null +++ b/tests/auto/quickcontrols/customization/data/styles/override/Drawer.qml @@ -0,0 +1,18 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +import QtQuick +import "../simple" as Simple + +Simple.Drawer { + id: control + objectName: "drawer-override" + + contentItem: Item { + objectName: "drawer-contentItem-override" + } + + background: Item { + objectName: "drawer-background-override" + } +} diff --git a/tests/auto/quickcontrols/customization/data/styles/override/Frame.qml b/tests/auto/quickcontrols/customization/data/styles/override/Frame.qml new file mode 100644 index 0000000000..3e4effff0a --- /dev/null +++ b/tests/auto/quickcontrols/customization/data/styles/override/Frame.qml @@ -0,0 +1,18 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +import QtQuick +import "../simple" as Simple + +Simple.Frame { + id: control + objectName: "frame-override" + + contentItem: Item { + objectName: "frame-contentItem-override" + } + + background: Item { + objectName: "frame-background-override" + } +} diff --git a/tests/auto/quickcontrols/customization/data/styles/override/GroupBox.qml b/tests/auto/quickcontrols/customization/data/styles/override/GroupBox.qml new file mode 100644 index 0000000000..a50e3a519b --- /dev/null +++ b/tests/auto/quickcontrols/customization/data/styles/override/GroupBox.qml @@ -0,0 +1,22 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +import QtQuick +import "../simple" as Simple + +Simple.GroupBox { + id: control + objectName: "groupbox-override" + + label: Text { + objectName: "groupbox-label-override" + } + + contentItem: Item { + objectName: "groupbox-contentItem-override" + } + + background: Item { + objectName: "groupbox-background-override" + } +} diff --git a/tests/auto/quickcontrols/customization/data/styles/override/ItemDelegate.qml b/tests/auto/quickcontrols/customization/data/styles/override/ItemDelegate.qml new file mode 100644 index 0000000000..4e4f8d0fdd --- /dev/null +++ b/tests/auto/quickcontrols/customization/data/styles/override/ItemDelegate.qml @@ -0,0 +1,18 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +import QtQuick +import "../simple" as Simple + +Simple.ItemDelegate { + id: control + objectName: "itemdelegate-override" + + contentItem: Item { + objectName: "itemdelegate-contentItem-override" + } + + background: Item { + objectName: "itemdelegate-background-override" + } +} diff --git a/tests/auto/quickcontrols/customization/data/styles/override/Label.qml b/tests/auto/quickcontrols/customization/data/styles/override/Label.qml new file mode 100644 index 0000000000..22ea5aab7c --- /dev/null +++ b/tests/auto/quickcontrols/customization/data/styles/override/Label.qml @@ -0,0 +1,14 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +import QtQuick +import "../simple" as Simple + +Simple.Label { + id: control + objectName: "label-override" + + background: Item { + objectName: "label-background-override" + } +} diff --git a/tests/auto/quickcontrols/customization/data/styles/override/Menu.qml b/tests/auto/quickcontrols/customization/data/styles/override/Menu.qml new file mode 100644 index 0000000000..88d8510675 --- /dev/null +++ b/tests/auto/quickcontrols/customization/data/styles/override/Menu.qml @@ -0,0 +1,18 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +import QtQuick +import "../simple" as Simple + +Simple.Menu { + id: control + objectName: "menu-override" + + contentItem: Item { + objectName: "menu-contentItem-override" + } + + background: Item { + objectName: "menu-background-override" + } +} diff --git a/tests/auto/quickcontrols/customization/data/styles/override/MenuBar.qml b/tests/auto/quickcontrols/customization/data/styles/override/MenuBar.qml new file mode 100644 index 0000000000..90aa93ca19 --- /dev/null +++ b/tests/auto/quickcontrols/customization/data/styles/override/MenuBar.qml @@ -0,0 +1,18 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +import QtQuick +import "../simple" as Simple + +Simple.MenuBar { + id: control + objectName: "menubar-override" + + contentItem: Item { + objectName: "menubar-contentItem-override" + } + + background: Item { + objectName: "menubar-background-override" + } +} diff --git a/tests/auto/quickcontrols/customization/data/styles/override/MenuBarItem.qml b/tests/auto/quickcontrols/customization/data/styles/override/MenuBarItem.qml new file mode 100644 index 0000000000..18db0060a1 --- /dev/null +++ b/tests/auto/quickcontrols/customization/data/styles/override/MenuBarItem.qml @@ -0,0 +1,18 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +import QtQuick +import "../simple" as Simple + +Simple.MenuBarItem { + id: control + objectName: "menubaritem-override" + + contentItem: Item { + objectName: "menubaritem-contentItem-override" + } + + background: Item { + objectName: "menubaritem-background-override" + } +} diff --git a/tests/auto/quickcontrols/customization/data/styles/override/MenuItem.qml b/tests/auto/quickcontrols/customization/data/styles/override/MenuItem.qml new file mode 100644 index 0000000000..43acebc514 --- /dev/null +++ b/tests/auto/quickcontrols/customization/data/styles/override/MenuItem.qml @@ -0,0 +1,26 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +import QtQuick +import "../simple" as Simple + +Simple.MenuItem { + id: control + objectName: "menuitem-override" + + arrow: Item { + objectName: "menuitem-arrow-override" + } + + indicator: Item { + objectName: "menuitem-indicator-override" + } + + contentItem: Item { + objectName: "menuitem-contentItem-override" + } + + background: Item { + objectName: "menuitem-background-override" + } +} diff --git a/tests/auto/quickcontrols/customization/data/styles/override/MenuSeparator.qml b/tests/auto/quickcontrols/customization/data/styles/override/MenuSeparator.qml new file mode 100644 index 0000000000..703e381698 --- /dev/null +++ b/tests/auto/quickcontrols/customization/data/styles/override/MenuSeparator.qml @@ -0,0 +1,18 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +import QtQuick +import "../simple" as Simple + +Simple.MenuSeparator { + id: control + objectName: "menuseparator-override" + + contentItem: Item { + objectName: "menuseparator-contentItem-override" + } + + background: Item { + objectName: "menuseparator-background-override" + } +} diff --git a/tests/auto/quickcontrols/customization/data/styles/override/Page.qml b/tests/auto/quickcontrols/customization/data/styles/override/Page.qml new file mode 100644 index 0000000000..2fa1ad4d44 --- /dev/null +++ b/tests/auto/quickcontrols/customization/data/styles/override/Page.qml @@ -0,0 +1,18 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +import QtQuick +import "../simple" as Simple + +Simple.Page { + id: control + objectName: "page-override" + + contentItem: Item { + objectName: "page-contentItem-override" + } + + background: Item { + objectName: "page-background-override" + } +} diff --git a/tests/auto/quickcontrols/customization/data/styles/override/PageIndicator.qml b/tests/auto/quickcontrols/customization/data/styles/override/PageIndicator.qml new file mode 100644 index 0000000000..4e4cef6d90 --- /dev/null +++ b/tests/auto/quickcontrols/customization/data/styles/override/PageIndicator.qml @@ -0,0 +1,18 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +import QtQuick +import "../simple" as Simple + +Simple.PageIndicator { + id: control + objectName: "pageindicator-override" + + contentItem: Item { + objectName: "pageindicator-contentItem-override" + } + + background: Item { + objectName: "pageindicator-background-override" + } +} diff --git a/tests/auto/quickcontrols/customization/data/styles/override/Pane.qml b/tests/auto/quickcontrols/customization/data/styles/override/Pane.qml new file mode 100644 index 0000000000..8a281da2b0 --- /dev/null +++ b/tests/auto/quickcontrols/customization/data/styles/override/Pane.qml @@ -0,0 +1,18 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +import QtQuick +import "../simple" as Simple + +Simple.Pane { + id: control + objectName: "pane-override" + + contentItem: Item { + objectName: "pane-contentItem-override" + } + + background: Item { + objectName: "pane-background-override" + } +} diff --git a/tests/auto/quickcontrols/customization/data/styles/override/Popup.qml b/tests/auto/quickcontrols/customization/data/styles/override/Popup.qml new file mode 100644 index 0000000000..6dfa3b20e4 --- /dev/null +++ b/tests/auto/quickcontrols/customization/data/styles/override/Popup.qml @@ -0,0 +1,18 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +import QtQuick +import "../simple" as Simple + +Simple.Popup { + id: control + objectName: "popup-override" + + contentItem: Item { + objectName: "popup-contentItem-override" + } + + background: Item { + objectName: "popup-background-override" + } +} diff --git a/tests/auto/quickcontrols/customization/data/styles/override/ProgressBar.qml b/tests/auto/quickcontrols/customization/data/styles/override/ProgressBar.qml new file mode 100644 index 0000000000..e111790fe3 --- /dev/null +++ b/tests/auto/quickcontrols/customization/data/styles/override/ProgressBar.qml @@ -0,0 +1,18 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +import QtQuick +import "../simple" as Simple + +Simple.ProgressBar { + id: control + objectName: "progressbar-override" + + contentItem: Item { + objectName: "progressbar-contentItem-override" + } + + background: Item { + objectName: "progressbar-background-override" + } +} diff --git a/tests/auto/quickcontrols/customization/data/styles/override/RadioButton.qml b/tests/auto/quickcontrols/customization/data/styles/override/RadioButton.qml new file mode 100644 index 0000000000..b7a3a0a10d --- /dev/null +++ b/tests/auto/quickcontrols/customization/data/styles/override/RadioButton.qml @@ -0,0 +1,18 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +import QtQuick +import "../simple" as Simple + +Simple.RadioButton { + id: control + objectName: "radiobutton-override" + + indicator: Item { + objectName: "radiobutton-indicator-override" + } + + contentItem: Item { + objectName: "radiobutton-contentItem-override" + } +} diff --git a/tests/auto/quickcontrols/customization/data/styles/override/RadioDelegate.qml b/tests/auto/quickcontrols/customization/data/styles/override/RadioDelegate.qml new file mode 100644 index 0000000000..83c0d73551 --- /dev/null +++ b/tests/auto/quickcontrols/customization/data/styles/override/RadioDelegate.qml @@ -0,0 +1,22 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +import QtQuick +import "../simple" as Simple + +Simple.RadioDelegate { + id: control + objectName: "radiodelegate-override" + + indicator: Item { + objectName: "radiodelegate-indicator-override" + } + + contentItem: Item { + objectName: "radiodelegate-contentItem-override" + } + + background: Item { + objectName: "radiodelegate-background-override" + } +} diff --git a/tests/auto/quickcontrols/customization/data/styles/override/RangeSlider.qml b/tests/auto/quickcontrols/customization/data/styles/override/RangeSlider.qml new file mode 100644 index 0000000000..3025960649 --- /dev/null +++ b/tests/auto/quickcontrols/customization/data/styles/override/RangeSlider.qml @@ -0,0 +1,22 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +import QtQuick +import "../simple" as Simple + +Simple.RangeSlider { + id: control + objectName: "rangeslider-override" + + first.handle: Item { + objectName: "rangeslider-first.handle-override" + } + + second.handle: Item { + objectName: "rangeslider-second.handle-override" + } + + background: Item { + objectName: "rangeslider-background-override" + } +} diff --git a/tests/auto/quickcontrols/customization/data/styles/override/RoundButton.qml b/tests/auto/quickcontrols/customization/data/styles/override/RoundButton.qml new file mode 100644 index 0000000000..3949749ed2 --- /dev/null +++ b/tests/auto/quickcontrols/customization/data/styles/override/RoundButton.qml @@ -0,0 +1,18 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +import QtQuick +import "../simple" as Simple + +Simple.RoundButton { + id: control + objectName: "roundbutton-override" + + contentItem: Item { + objectName: "roundbutton-contentItem-override" + } + + background: Item { + objectName: "roundbutton-background-override" + } +} diff --git a/tests/auto/quickcontrols/customization/data/styles/override/ScrollBar.qml b/tests/auto/quickcontrols/customization/data/styles/override/ScrollBar.qml new file mode 100644 index 0000000000..a546bf2eec --- /dev/null +++ b/tests/auto/quickcontrols/customization/data/styles/override/ScrollBar.qml @@ -0,0 +1,18 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +import QtQuick +import "../simple" as Simple + +Simple.ScrollBar { + id: control + objectName: "scrollbar-override" + + contentItem: Item { + objectName: "scrollbar-contentItem-override" + } + + background: Item { + objectName: "scrollbar-background-override" + } +} diff --git a/tests/auto/quickcontrols/customization/data/styles/override/ScrollIndicator.qml b/tests/auto/quickcontrols/customization/data/styles/override/ScrollIndicator.qml new file mode 100644 index 0000000000..f514210c1a --- /dev/null +++ b/tests/auto/quickcontrols/customization/data/styles/override/ScrollIndicator.qml @@ -0,0 +1,18 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +import QtQuick +import "../simple" as Simple + +Simple.ScrollIndicator { + id: control + objectName: "scrollindicator-override" + + contentItem: Item { + objectName: "scrollindicator-contentItem-override" + } + + background: Item { + objectName: "scrollindicator-background-override" + } +} diff --git a/tests/auto/quickcontrols/customization/data/styles/override/ScrollView.qml b/tests/auto/quickcontrols/customization/data/styles/override/ScrollView.qml new file mode 100644 index 0000000000..ae6da7860b --- /dev/null +++ b/tests/auto/quickcontrols/customization/data/styles/override/ScrollView.qml @@ -0,0 +1,14 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +import QtQuick +import "../simple" as Simple + +Simple.ScrollView { + id: control + objectName: "scrollview-override" + + background: Item { + objectName: "scrollview-background-override" + } +} diff --git a/tests/auto/quickcontrols/customization/data/styles/override/Slider.qml b/tests/auto/quickcontrols/customization/data/styles/override/Slider.qml new file mode 100644 index 0000000000..5ced07590a --- /dev/null +++ b/tests/auto/quickcontrols/customization/data/styles/override/Slider.qml @@ -0,0 +1,18 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +import QtQuick +import "../simple" as Simple + +Simple.Slider { + id: control + objectName: "slider-override" + + handle: Item { + objectName: "slider-handle-override" + } + + background: Item { + objectName: "slider-background-override" + } +} diff --git a/tests/auto/quickcontrols/customization/data/styles/override/SpinBox.qml b/tests/auto/quickcontrols/customization/data/styles/override/SpinBox.qml new file mode 100644 index 0000000000..66c13d3cf8 --- /dev/null +++ b/tests/auto/quickcontrols/customization/data/styles/override/SpinBox.qml @@ -0,0 +1,26 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +import QtQuick +import "../simple" as Simple + +Simple.SpinBox { + id: control + objectName: "spinbox-override" + + up.indicator: Item { + objectName: "spinbox-up.indicator-override" + } + + down.indicator: Item { + objectName: "spinbox-down.indicator-override" + } + + contentItem: Item { + objectName: "spinbox-contentItem-override" + } + + background: Item { + objectName: "spinbox-background-override" + } +} diff --git a/tests/auto/quickcontrols/customization/data/styles/override/StackView.qml b/tests/auto/quickcontrols/customization/data/styles/override/StackView.qml new file mode 100644 index 0000000000..8759551ae1 --- /dev/null +++ b/tests/auto/quickcontrols/customization/data/styles/override/StackView.qml @@ -0,0 +1,18 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +import QtQuick +import "../simple" as Simple + +Simple.StackView { + id: control + objectName: "stackview-override" + + contentItem: Item { + objectName: "stackview-contentItem-override" + } + + background: Item { + objectName: "stackview-background-override" + } +} diff --git a/tests/auto/quickcontrols/customization/data/styles/override/SwipeDelegate.qml b/tests/auto/quickcontrols/customization/data/styles/override/SwipeDelegate.qml new file mode 100644 index 0000000000..ae994c612c --- /dev/null +++ b/tests/auto/quickcontrols/customization/data/styles/override/SwipeDelegate.qml @@ -0,0 +1,18 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +import QtQuick +import "../simple" as Simple + +Simple.SwipeDelegate { + id: control + objectName: "swipedelegate-override" + + contentItem: Item { + objectName: "swipedelegate-contentItem-override" + } + + background: Item { + objectName: "swipedelegate-background-override" + } +} diff --git a/tests/auto/quickcontrols/customization/data/styles/override/SwipeView.qml b/tests/auto/quickcontrols/customization/data/styles/override/SwipeView.qml new file mode 100644 index 0000000000..d0b584bfd4 --- /dev/null +++ b/tests/auto/quickcontrols/customization/data/styles/override/SwipeView.qml @@ -0,0 +1,18 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +import QtQuick +import "../simple" as Simple + +Simple.SwipeView { + id: control + objectName: "swipeview-override" + + contentItem: Item { + objectName: "swipeview-contentItem-override" + } + + background: Item { + objectName: "swipeview-background-override" + } +} diff --git a/tests/auto/quickcontrols/customization/data/styles/override/Switch.qml b/tests/auto/quickcontrols/customization/data/styles/override/Switch.qml new file mode 100644 index 0000000000..83e5f2b56b --- /dev/null +++ b/tests/auto/quickcontrols/customization/data/styles/override/Switch.qml @@ -0,0 +1,18 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +import QtQuick +import "../simple" as Simple + +Simple.Switch { + id: control + objectName: "switch-override" + + indicator: Item { + objectName: "switch-indicator-override" + } + + contentItem: Item { + objectName: "switch-contentItem-override" + } +} diff --git a/tests/auto/quickcontrols/customization/data/styles/override/SwitchDelegate.qml b/tests/auto/quickcontrols/customization/data/styles/override/SwitchDelegate.qml new file mode 100644 index 0000000000..5e75fdbd64 --- /dev/null +++ b/tests/auto/quickcontrols/customization/data/styles/override/SwitchDelegate.qml @@ -0,0 +1,22 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +import QtQuick +import "../simple" as Simple + +Simple.SwitchDelegate { + id: control + objectName: "switchdelegate-override" + + indicator: Item { + objectName: "switchdelegate-indicator-override" + } + + contentItem: Item { + objectName: "switchdelegate-contentItem-override" + } + + background: Item { + objectName: "switchdelegate-background-override" + } +} diff --git a/tests/auto/quickcontrols/customization/data/styles/override/TabBar.qml b/tests/auto/quickcontrols/customization/data/styles/override/TabBar.qml new file mode 100644 index 0000000000..0437d3b5af --- /dev/null +++ b/tests/auto/quickcontrols/customization/data/styles/override/TabBar.qml @@ -0,0 +1,18 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +import QtQuick +import "../simple" as Simple + +Simple.TabBar { + id: control + objectName: "tabbar-override" + + contentItem: Item { + objectName: "tabbar-contentItem-override" + } + + background: Item { + objectName: "tabbar-background-override" + } +} diff --git a/tests/auto/quickcontrols/customization/data/styles/override/TabButton.qml b/tests/auto/quickcontrols/customization/data/styles/override/TabButton.qml new file mode 100644 index 0000000000..ab78b3246f --- /dev/null +++ b/tests/auto/quickcontrols/customization/data/styles/override/TabButton.qml @@ -0,0 +1,18 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +import QtQuick +import "../simple" as Simple + +Simple.TabButton { + id: control + objectName: "tabbutton-override" + + contentItem: Item { + objectName: "tabbutton-contentItem-override" + } + + background: Item { + objectName: "tabbutton-background-override" + } +} diff --git a/tests/auto/quickcontrols/customization/data/styles/override/TextArea.qml b/tests/auto/quickcontrols/customization/data/styles/override/TextArea.qml new file mode 100644 index 0000000000..17d1883624 --- /dev/null +++ b/tests/auto/quickcontrols/customization/data/styles/override/TextArea.qml @@ -0,0 +1,14 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +import QtQuick +import "../simple" as Simple + +Simple.TextArea { + id: control + objectName: "textarea-override" + + background: Item { + objectName: "textarea-background-override" + } +} diff --git a/tests/auto/quickcontrols/customization/data/styles/override/TextField.qml b/tests/auto/quickcontrols/customization/data/styles/override/TextField.qml new file mode 100644 index 0000000000..22c21fd751 --- /dev/null +++ b/tests/auto/quickcontrols/customization/data/styles/override/TextField.qml @@ -0,0 +1,14 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +import QtQuick +import "../simple" as Simple + +Simple.TextField { + id: control + objectName: "textfield-override" + + background: Item { + objectName: "textfield-background-override" + } +} diff --git a/tests/auto/quickcontrols/customization/data/styles/override/ToolBar.qml b/tests/auto/quickcontrols/customization/data/styles/override/ToolBar.qml new file mode 100644 index 0000000000..957f3f7b5b --- /dev/null +++ b/tests/auto/quickcontrols/customization/data/styles/override/ToolBar.qml @@ -0,0 +1,18 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +import QtQuick +import "../simple" as Simple + +Simple.ToolBar { + id: control + objectName: "toolbar-override" + + contentItem: Item { + objectName: "toolbar-contentItem-override" + } + + background: Item { + objectName: "toolbar-background-override" + } +} diff --git a/tests/auto/quickcontrols/customization/data/styles/override/ToolButton.qml b/tests/auto/quickcontrols/customization/data/styles/override/ToolButton.qml new file mode 100644 index 0000000000..19999c8a4a --- /dev/null +++ b/tests/auto/quickcontrols/customization/data/styles/override/ToolButton.qml @@ -0,0 +1,18 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +import QtQuick +import "../simple" as Simple + +Simple.ToolButton { + id: control + objectName: "toolbutton-override" + + contentItem: Item { + objectName: "toolbutton-contentItem-override" + } + + background: Item { + objectName: "toolbutton-background-override" + } +} diff --git a/tests/auto/quickcontrols/customization/data/styles/override/ToolSeparator.qml b/tests/auto/quickcontrols/customization/data/styles/override/ToolSeparator.qml new file mode 100644 index 0000000000..b88fba1bab --- /dev/null +++ b/tests/auto/quickcontrols/customization/data/styles/override/ToolSeparator.qml @@ -0,0 +1,18 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +import QtQuick +import "../simple" as Simple + +Simple.ToolSeparator { + id: control + objectName: "toolseparator-override" + + contentItem: Item { + objectName: "toolseparator-contentItem-override" + } + + background: Item { + objectName: "toolseparator-background-override" + } +} diff --git a/tests/auto/quickcontrols/customization/data/styles/override/ToolTip.qml b/tests/auto/quickcontrols/customization/data/styles/override/ToolTip.qml new file mode 100644 index 0000000000..b4922d05eb --- /dev/null +++ b/tests/auto/quickcontrols/customization/data/styles/override/ToolTip.qml @@ -0,0 +1,18 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +import QtQuick +import "../simple" as Simple + +Simple.ToolTip { + id: control + objectName: "tooltip-override" + + contentItem: Item { + objectName: "tooltip-contentItem-override" + } + + background: Item { + objectName: "tooltip-background-override" + } +} diff --git a/tests/auto/quickcontrols/customization/data/styles/override/Tumbler.qml b/tests/auto/quickcontrols/customization/data/styles/override/Tumbler.qml new file mode 100644 index 0000000000..ac49cd7675 --- /dev/null +++ b/tests/auto/quickcontrols/customization/data/styles/override/Tumbler.qml @@ -0,0 +1,18 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +import QtQuick +import "../simple" as Simple + +Simple.Tumbler { + id: control + objectName: "tumbler-override" + + contentItem: ListView { + objectName: "tumbler-contentItem-override" + } + + background: Item { + objectName: "tumbler-background-override" + } +} diff --git a/tests/auto/quickcontrols/customization/data/styles/override/qmldir b/tests/auto/quickcontrols/customization/data/styles/override/qmldir new file mode 100644 index 0000000000..f15ba96ab3 --- /dev/null +++ b/tests/auto/quickcontrols/customization/data/styles/override/qmldir @@ -0,0 +1,59 @@ +module override + +AbstractButton 6.0 AbstractButton.qml +Action 6.0 Action.qml +ActionGroup 6.0 ActionGroup.qml +ApplicationWindow 6.0 ApplicationWindow.qml +BusyIndicator 6.0 BusyIndicator.qml +Button 6.0 Button.qml +ButtonGroup 6.0 ButtonGroup.qml +CheckBox 6.0 CheckBox.qml +CheckDelegate 6.0 CheckDelegate.qml +ComboBox 6.0 ComboBox.qml +Container 6.0 Container.qml +Control 6.0 Control.qml +DelayButton 6.0 DelayButton.qml +Dial 6.0 Dial.qml +Dialog 6.0 Dialog.qml +DialogButtonBox 6.0 DialogButtonBox.qml +Drawer 6.0 Drawer.qml +Frame 6.0 Frame.qml +GroupBox 6.0 GroupBox.qml +HorizontalHeaderView 6.0 HorizontalHeaderView.qml +ItemDelegate 6.0 ItemDelegate.qml +Label 6.0 Label.qml +Menu 6.0 Menu.qml +MenuBar 6.0 MenuBar.qml +MenuBarItem 6.0 MenuBarItem.qml +MenuItem 6.0 MenuItem.qml +MenuSeparator 6.0 MenuSeparator.qml +Page 6.0 Page.qml +PageIndicator 6.0 PageIndicator.qml +Pane 6.0 Pane.qml +Popup 6.0 Popup.qml +ProgressBar 6.0 ProgressBar.qml +RadioButton 6.0 RadioButton.qml +RadioDelegate 6.0 RadioDelegate.qml +RangeSlider 6.0 RangeSlider.qml +RoundButton 6.0 RoundButton.qml +ScrollBar 6.0 ScrollBar.qml +ScrollIndicator 6.0 ScrollIndicator.qml +ScrollView 6.0 ScrollView.qml +Slider 6.0 Slider.qml +SpinBox 6.0 SpinBox.qml +SplitView 6.0 SplitView.qml +StackView 6.0 StackView.qml +SwipeDelegate 6.0 SwipeDelegate.qml +SwipeView 6.0 SwipeView.qml +Switch 6.0 Switch.qml +SwitchDelegate 6.0 SwitchDelegate.qml +TabBar 6.0 TabBar.qml +TabButton 6.0 TabButton.qml +TextArea 6.0 TextArea.qml +TextField 6.0 TextField.qml +ToolBar 6.0 ToolBar.qml +ToolButton 6.0 ToolButton.qml +ToolSeparator 6.0 ToolSeparator.qml +ToolTip 6.0 ToolTip.qml +Tumbler 6.0 Tumbler.qml +VerticalHeaderView 6.0 VerticalHeaderView.qml |