forked from qt-creator/qt-creator
		
	
		
			
	
	
		
			31 lines
		
	
	
		
			488 B
		
	
	
	
		
			QML
		
	
	
	
	
	
		
		
			
		
	
	
			31 lines
		
	
	
		
			488 B
		
	
	
	
		
			QML
		
	
	
	
	
	
| 
								 | 
							
								import QtQuick
							 | 
						||
| 
								 | 
							
								import QtQuick.Controls
							 | 
						||
| 
								 | 
							
								import QtQuick.Layouts
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								ApplicationWindow {
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    width: 640
							 | 
						||
| 
								 | 
							
								    height: 480
							 | 
						||
| 
								 | 
							
								    visible: true
							 | 
						||
| 
								 | 
							
								    title: "Hello World"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    ColumnLayout {
							 | 
						||
| 
								 | 
							
								        anchors.fill: parent
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								        Text {
							 | 
						||
| 
								 | 
							
								            Layout.fillHeight: true
							 | 
						||
| 
								 | 
							
								            Layout.fillWidth: true
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								            text: "Hallo"
							 | 
						||
| 
								 | 
							
								        }
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								        Button {
							 | 
						||
| 
								 | 
							
								            text: "Quit"
							 | 
						||
| 
								 | 
							
								            height: 20
							 | 
						||
| 
								 | 
							
								            Layout.fillWidth: true
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								            onClicked: { Qt.quit() }
							 | 
						||
| 
								 | 
							
								        }
							 | 
						||
| 
								 | 
							
								    }
							 | 
						||
| 
								 | 
							
								}
							 |