forked from qt-creator/qt-creator
		
	
		
			
	
	
		
			213 lines
		
	
	
		
			4.1 KiB
		
	
	
	
		
			QML
		
	
	
	
	
	
		
		
			
		
	
	
			213 lines
		
	
	
		
			4.1 KiB
		
	
	
	
		
			QML
		
	
	
	
	
	
|   | /**************************************************************************** | ||
|  | ** | ||
|  | ** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
|  | ** Contact: http://www.qt-project.org/legal
 | ||
|  | ** | ||
|  | ** 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 Digia.  For licensing terms and | ||
|  | ** conditions see http://www.qt.io/licensing.  For further information
 | ||
|  | ** use the contact form at http://www.qt.io/contact-us.
 | ||
|  | ** | ||
|  | ** GNU Lesser General Public License Usage | ||
|  | ** Alternatively, this file may be used under the terms of the GNU Lesser | ||
|  | ** General Public License version 2.1 or version 3 as published by the Free | ||
|  | ** Software Foundation and appearing in the file LICENSE.LGPLv21 and | ||
|  | ** LICENSE.LGPLv3 included in the packaging of this file.  Please review the | ||
|  | ** following information to ensure the GNU Lesser General Public License | ||
|  | ** requirements will be met: https://www.gnu.org/licenses/lgpl.html and
 | ||
|  | ** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
 | ||
|  | ** | ||
|  | ** In addition, as a special exception, Digia gives you certain additional | ||
|  | ** rights.  These rights are described in the Digia Qt LGPL Exception | ||
|  | ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. | ||
|  | ** | ||
|  | ****************************************************************************/ | ||
|  | 
 | ||
|  | import QtQuick 2.0 | ||
|  | import QtQuick.Controls 1.2 | ||
|  | import QtQuick.Layouts 1.0 | ||
|  | 
 | ||
|  | Rectangle { | ||
|  |     width: 768 | ||
|  |     height: 640 | ||
|  | 
 | ||
|  |     RadioButton { | ||
|  |         id: radioButton1 | ||
|  |         x: 56 | ||
|  |         y: 23 | ||
|  |         text: qsTr("Radio Button") | ||
|  |     } | ||
|  | 
 | ||
|  |     Slider { | ||
|  |         id: sliderVertical1 | ||
|  |         x: 19 | ||
|  |         y: 23 | ||
|  |         orientation: Qt.Vertical | ||
|  |     } | ||
|  | 
 | ||
|  |     ComboBox { | ||
|  |         id: comboBox1 | ||
|  |         x: 56 | ||
|  |         y: 51 | ||
|  |     } | ||
|  | 
 | ||
|  |     TextArea { | ||
|  |         id: textArea1 | ||
|  |         x: 56 | ||
|  |         y: 77 | ||
|  |     } | ||
|  | 
 | ||
|  |     Button { | ||
|  |         id: button1 | ||
|  |         x: 221 | ||
|  |         y: 50 | ||
|  |         text: qsTr("Button") | ||
|  |     } | ||
|  | 
 | ||
|  |     Slider { | ||
|  |         id: sliderHorizontal1 | ||
|  |         x: 353 | ||
|  |         y: 122 | ||
|  |         width: 230 | ||
|  |         height: 22 | ||
|  |     } | ||
|  | 
 | ||
|  |     CheckBox { | ||
|  |         id: checkBox1 | ||
|  |         x: 353 | ||
|  |         y: 90 | ||
|  |         text: qsTr("Check Box") | ||
|  |     } | ||
|  | 
 | ||
|  |     CheckBox { | ||
|  |         id: checkBox2 | ||
|  |         x: 435 | ||
|  |         y: 90 | ||
|  |         text: qsTr("Check Box") | ||
|  |     } | ||
|  | 
 | ||
|  |     CheckBox { | ||
|  |         id: checkBox3 | ||
|  |         x: 516 | ||
|  |         y: 90 | ||
|  |         text: qsTr("Check Box") | ||
|  |     } | ||
|  | 
 | ||
|  |     ComboBox { | ||
|  |         id: comboBox2 | ||
|  |         x: 435 | ||
|  |         y: 56 | ||
|  |         width: 148 | ||
|  |         height: 20 | ||
|  |     } | ||
|  | 
 | ||
|  |     Label { | ||
|  |         id: label1 | ||
|  |         x: 358 | ||
|  |         y: 60 | ||
|  |         text: qsTr("Label") | ||
|  |     } | ||
|  | 
 | ||
|  |     TextField { | ||
|  |         id: textField1 | ||
|  |         x: 435 | ||
|  |         y: 24 | ||
|  |         width: 148 | ||
|  |         height: 20 | ||
|  |         placeholderText: qsTr("Text Field") | ||
|  |     } | ||
|  | 
 | ||
|  |     Label { | ||
|  |         id: label2 | ||
|  |         x: 358 | ||
|  |         y: 28 | ||
|  |         text: qsTr("Label") | ||
|  |     } | ||
|  | 
 | ||
|  |     Rectangle { | ||
|  |         id: rectangle1 | ||
|  |         x: 19 | ||
|  |         y: 313 | ||
|  |         width: 200 | ||
|  |         height: 87 | ||
|  |         color: "#f05454" | ||
|  |     } | ||
|  | 
 | ||
|  |     Rectangle { | ||
|  |         id: rectangle2 | ||
|  |         x: 225 | ||
|  |         y: 313 | ||
|  |         width: 290 | ||
|  |         height: 87 | ||
|  |         color: "#dbdbdb" | ||
|  |     } | ||
|  | 
 | ||
|  |     Rectangle { | ||
|  |         id: rectangle3 | ||
|  |         x: 19 | ||
|  |         y: 412 | ||
|  |         width: 94 | ||
|  |         height: 87 | ||
|  |         color: "#afc8e7" | ||
|  |     } | ||
|  | 
 | ||
|  |     Rectangle { | ||
|  |         id: rectangle4 | ||
|  |         x: 125 | ||
|  |         y: 406 | ||
|  |         width: 94 | ||
|  |         height: 87 | ||
|  |         color: "#e5bc2c" | ||
|  |     } | ||
|  | 
 | ||
|  |     Rectangle { | ||
|  |         id: rectangle5 | ||
|  |         x: 225 | ||
|  |         y: 412 | ||
|  |         width: 94 | ||
|  |         height: 87 | ||
|  |         color: "#000000" | ||
|  |     } | ||
|  | 
 | ||
|  |     Rectangle { | ||
|  |         id: rectangle6 | ||
|  |         x: 330 | ||
|  |         y: 421 | ||
|  |         width: 94 | ||
|  |         height: 87 | ||
|  |         color: "#b31198" | ||
|  |     } | ||
|  | 
 | ||
|  |     Rectangle { | ||
|  |         id: rectangle7 | ||
|  |         x: 430 | ||
|  |         y: 412 | ||
|  |         width: 94 | ||
|  |         height: 181 | ||
|  |         color: "#344ed5" | ||
|  |     } | ||
|  | 
 | ||
|  |     Rectangle { | ||
|  |         id: rectangle8 | ||
|  |         x: 19 | ||
|  |         y: 506 | ||
|  |         width: 290 | ||
|  |         height: 87 | ||
|  |         color: "#bedd55" | ||
|  |     } | ||
|  | 
 | ||
|  |     Rectangle { | ||
|  |         id: rectangle9 | ||
|  |         x: 323 | ||
|  |         y: 514 | ||
|  |         width: 94 | ||
|  |         height: 87 | ||
|  |         color: "#8d8d8d" | ||
|  |     } | ||
|  | } |