forked from qt-creator/qt-creator
		
	
		
			
	
	
		
			163 lines
		
	
	
		
			3.4 KiB
		
	
	
	
		
			QML
		
	
	
	
	
	
		
		
			
		
	
	
			163 lines
		
	
	
		
			3.4 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.Layouts 1.0 | ||
|  | import QtQuick.Controls 1.2 | ||
|  | 
 | ||
|  | Rectangle { | ||
|  |     width: 640 | ||
|  |     height: 480 | ||
|  | 
 | ||
|  |     Label { | ||
|  |         id: label1 | ||
|  |         x: 8 | ||
|  |         y: 11 | ||
|  |         text: qsTr("Name") | ||
|  |     } | ||
|  | 
 | ||
|  |     Label { | ||
|  |         id: label2 | ||
|  |         x: 8 | ||
|  |         y: 43 | ||
|  |         text: qsTr("Status") | ||
|  |     } | ||
|  | 
 | ||
|  |     Label { | ||
|  |         id: label3 | ||
|  |         x: 8 | ||
|  |         y: 62 | ||
|  |         text: qsTr("Type") | ||
|  |     } | ||
|  | 
 | ||
|  |     Label { | ||
|  |         id: label4 | ||
|  |         x: 8 | ||
|  |         y: 81 | ||
|  |         text: qsTr("Where") | ||
|  |     } | ||
|  | 
 | ||
|  |     Label { | ||
|  |         id: label5 | ||
|  |         x: 8 | ||
|  |         y: 100 | ||
|  |         text: qsTr("Comment") | ||
|  |     } | ||
|  | 
 | ||
|  |     ComboBox { | ||
|  |         id: comboBox1 | ||
|  |         x: 63 | ||
|  |         y: 8 | ||
|  |         width: 171 | ||
|  |         height: 20 | ||
|  |     } | ||
|  | 
 | ||
|  |     Button { | ||
|  |         id: button1 | ||
|  |         x: 247 | ||
|  |         y: 6 | ||
|  |         text: qsTr("Button") | ||
|  |     } | ||
|  | 
 | ||
|  |     Label { | ||
|  |         id: label6 | ||
|  |         x: 63 | ||
|  |         y: 43 | ||
|  |         text: qsTr("Idle") | ||
|  |     } | ||
|  | 
 | ||
|  |     Label { | ||
|  |         id: label7 | ||
|  |         x: 63 | ||
|  |         y: 62 | ||
|  |         text: qsTr("HP Deskjet") | ||
|  |     } | ||
|  | 
 | ||
|  |     Label { | ||
|  |         id: label8 | ||
|  |         x: 63 | ||
|  |         y: 81 | ||
|  |         text: qsTr("LPT 1") | ||
|  |     } | ||
|  | 
 | ||
|  |     CheckBox { | ||
|  |         id: checkBox1 | ||
|  |         x: 247 | ||
|  |         y: 69 | ||
|  |         text: qsTr("Print to file") | ||
|  |     } | ||
|  | 
 | ||
|  |     RadioButton { | ||
|  |         id: radioButton1 | ||
|  |         x: 8 | ||
|  |         y: 198 | ||
|  |         text: qsTr("All") | ||
|  |     } | ||
|  | 
 | ||
|  |     RadioButton { | ||
|  |         id: radioButton2 | ||
|  |         x: 8 | ||
|  |         y: 221 | ||
|  |         text: qsTr("Current page") | ||
|  |     } | ||
|  | 
 | ||
|  |     RadioButton { | ||
|  |         id: radioButton3 | ||
|  |         x: 114 | ||
|  |         y: 221 | ||
|  |         text: qsTr("Selection") | ||
|  |     } | ||
|  | 
 | ||
|  |     RadioButton { | ||
|  |         id: radioButton4 | ||
|  |         x: 8 | ||
|  |         y: 244 | ||
|  |         text: qsTr("Pages") | ||
|  |     } | ||
|  | 
 | ||
|  |     TextField { | ||
|  |         id: textField1 | ||
|  |         x: 114 | ||
|  |         y: 244 | ||
|  |         placeholderText: qsTr("Text Field") | ||
|  |     } | ||
|  | 
 | ||
|  |     Label { | ||
|  |         id: label9 | ||
|  |         x: 10 | ||
|  |         y: 280 | ||
|  |         width: 231 | ||
|  |         height: 13 | ||
|  |         text: qsTr("Some long description covering several lines with long explanations") | ||
|  |         wrapMode: Text.WordWrap | ||
|  |     } | ||
|  | } | ||
|  | 
 |