Files
qt-creator/tests/manual/qml/testfiles_quick2/positioners.qml
Robert Loehning 7fb9108489 QmlDesigner: Fix ambiguous ids
Change-Id: I28b0dc2ff0fa919ca99c468c9648ab105c7e38c5
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2016-11-23 07:31:20 +00:00

206 lines
4.1 KiB
QML

/****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance with the commercial license agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and The Qt Company. For licensing terms
** and conditions see https://www.qt.io/terms-conditions. For further
** information use the contact form at https://www.qt.io/contact-us.
**
** GNU General Public License Usage
** Alternatively, this file may be used under the terms of the GNU
** General Public License version 3 as published by the Free Software
** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
** included in the packaging of this file. Please review the following
** information to ensure the GNU General Public License requirements will
** be met: https://www.gnu.org/licenses/gpl-3.0.html.
**
****************************************************************************/
import QtQuick 2.0
Rectangle {
width: 232
height: 232
Column {
id: column
x: 39
y: 20
spacing: 2
Rectangle {
width: 20
height: 20
color: "#c2d11b"
}
Rectangle {
width: 20
height: 20
color: "#d11b1b"
}
Rectangle {
width: 20
height: 20
color: "#1e3fd3"
}
Rectangle {
width: 20
height: 20
color: "#3bd527"
}
Rectangle {
width: 20
height: 20
color: "#8726b7"
}
Rectangle {
width: 20
height: 20
color: "#8b8b8b"
}
}
Row {
id: row
x: 78
y: 20
Rectangle {
width: 20
height: 20
color: "#c2d11b"
}
Rectangle {
width: 20
height: 20
color: "#d11b1b"
}
Rectangle {
width: 20
height: 20
color: "#1e3fd3"
}
Rectangle {
width: 20
height: 20
color: "#3bd527"
}
Rectangle {
width: 20
height: 20
color: "#8726b7"
}
Rectangle {
width: 20
height: 20
color: "#8b8b8b"
}
spacing: 2
}
Flow {
id: flowPositioner
x: 78
y: 53
width: 84
height: 31
Rectangle {
width: 20
height: 20
color: "#c2d11b"
}
Rectangle {
width: 20
height: 20
color: "#d11b1b"
}
Rectangle {
width: 20
height: 20
color: "#1e3fd3"
}
Rectangle {
width: 20
height: 20
color: "#3bd527"
}
Rectangle {
width: 20
height: 20
color: "#8726b7"
}
Rectangle {
width: 20
height: 20
color: "#8b8b8b"
}
spacing: 2
}
Grid {
id: grid
x: 78
y: 108
columns: 3
Rectangle {
width: 20
height: 20
color: "#c2d11b"
}
Rectangle {
width: 20
height: 20
color: "#d11b1b"
}
Rectangle {
width: 20
height: 20
color: "#1e3fd3"
}
Rectangle {
width: 20
height: 20
color: "#3bd527"
}
Rectangle {
width: 20
height: 20
color: "#8726b7"
}
spacing: 2
Rectangle {
width: 20
height: 20
color: "#8b8b8b"
}
}
}