diff options
author | Jens Bache-Wiig <jens.bache-wiig@digia.com> | 2013-10-30 17:41:35 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-10-31 13:24:02 +0100 |
commit | ecd02a21cda5d39f6715a8b737ddf2ec70c056c3 (patch) | |
tree | 4d8c2f63f3dd231f9a757337679108ebead7f689 /tests/auto | |
parent | fd8d7261cc25a7a2efcf42c59f9f11d0280e4383 (diff) | |
download | qtquickcontrols-ecd02a21cda5d39f6715a8b737ddf2ec70c056c3.tar.gz |
Expose ToolBarStyle and StatusBarStyle
As they are rather basic, I think we should simply expose them rather
than explain why people should use rectangles.
Change-Id: I8ef79452fb27ffa0ef11bb477c687033996b4a5e
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/controls/data/tst_styles.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/controls/data/tst_styles.qml b/tests/auto/controls/data/tst_styles.qml index a458a78d..c1af406d 100644 --- a/tests/auto/controls/data/tst_styles.qml +++ b/tests/auto/controls/data/tst_styles.qml @@ -118,14 +118,14 @@ Item { function test_createToolBarStyle() { var control = Qt.createQmlObject( - 'import QtQuick 2.1; import QtQuick.Controls 1.1; import QtQuick.Controls.Private 1.0; \ + 'import QtQuick 2.1; import QtQuick.Controls 1.1; import QtQuick.Controls.Styles 1.1; \ Rectangle { width: 50; height: 50; property Component style: ToolBarStyle {}}' , container, '') } function test_createStatusBarStyle() { var control = Qt.createQmlObject( - 'import QtQuick 2.1; import QtQuick.Controls 1.1; import QtQuick.Controls.Private 1.0; \ + 'import QtQuick 2.1; import QtQuick.Controls 1.1; import QtQuick.Controls.Styles 1.1; \ Rectangle { width: 50; height: 50; property Component style: StatusBarStyle {}}' , container, '') } |