diff options
author | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2011-11-08 17:03:33 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-11-10 06:46:48 +0100 |
commit | 65a550ecfb9c3ed8adf452c923b2b43d71501aca (patch) | |
tree | c765f9163a9de2ff9d6d99780203a66ceff6e72d /tests/auto/qmlinterface/data/TestBoundingBox.qml | |
parent | 18e0a28cb0bd9bfc407d9203b72fea0612135109 (diff) | |
download | qtlocation-65a550ecfb9c3ed8adf452c923b2b43d71501aca.tar.gz |
Add support for getting/setting QML location elements from C++.
Change-Id: Ia5b353e7f97f2bc93c988cbfbd8d57784d3e3bbd
Reviewed-by: Alex <alex.blasche@nokia.com>
Diffstat (limited to 'tests/auto/qmlinterface/data/TestBoundingBox.qml')
-rw-r--r-- | tests/auto/qmlinterface/data/TestBoundingBox.qml | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/tests/auto/qmlinterface/data/TestBoundingBox.qml b/tests/auto/qmlinterface/data/TestBoundingBox.qml new file mode 100644 index 00000000..28aeae3c --- /dev/null +++ b/tests/auto/qmlinterface/data/TestBoundingBox.qml @@ -0,0 +1,48 @@ +/**************************************************************************** +** +** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** This file is part of the test suite of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** GNU Lesser General Public License Usage +** This file may be used under the terms of the GNU Lesser General Public +** License version 2.1 as published by the Free Software Foundation and +** appearing in the file LICENSE.LGPL included in the packaging of this +** file. Please review the following information to ensure the GNU Lesser +** General Public License version 2.1 requirements will be met: +** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Nokia gives you certain additional +** rights. These rights are described in the Nokia Qt LGPL Exception +** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU General +** Public License version 3.0 as published by the Free Software Foundation +** and appearing in the file LICENSE.GPL included in the packaging of this +** file. Please review the following information to ensure the GNU General +** Public License version 3.0 requirements will be met: +** http://www.gnu.org/copyleft/gpl.html. +** +** Other Usage +** Alternatively, this file may be used in accordance with the terms and +** conditions contained in a signed written agreement between you and Nokia. +** +** +** +** +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtLocation 5.0 + +BoundingBox { + center: TestCoordinate { } + height: 30.0 + width: 40.0 +} |