forked from qt-creator/qt-creator
		
	
		
			
	
	
		
			25 lines
		
	
	
		
			464 B
		
	
	
	
		
			QML
		
	
	
	
	
	
		
		
			
		
	
	
			25 lines
		
	
	
		
			464 B
		
	
	
	
		
			QML
		
	
	
	
	
	
| 
								 | 
							
								Item {
							 | 
						||
| 
								 | 
							
								    //! [states]
							 | 
						||
| 
								 | 
							
								    states: [
							 | 
						||
| 
								 | 
							
								        State {
							 | 
						||
| 
								 | 
							
								            name: "State1"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								            PropertyChanges {
							 | 
						||
| 
								 | 
							
								                target: icon
							 | 
						||
| 
								 | 
							
								                x: middleRightRect.x
							 | 
						||
| 
								 | 
							
								                y: middleRightRect.y
							 | 
						||
| 
								 | 
							
								            }
							 | 
						||
| 
								 | 
							
								        },
							 | 
						||
| 
								 | 
							
								        State {
							 | 
						||
| 
								 | 
							
								            name: "State2"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								            PropertyChanges {
							 | 
						||
| 
								 | 
							
								                target: icon
							 | 
						||
| 
								 | 
							
								                x: bottomLeftRect.x
							 | 
						||
| 
								 | 
							
								                y: bottomLeftRect.y
							 | 
						||
| 
								 | 
							
								            }
							 | 
						||
| 
								 | 
							
								        }
							 | 
						||
| 
								 | 
							
								    ]
							 | 
						||
| 
								 | 
							
								    //! [states]
							 | 
						||
| 
								 | 
							
								}
							 |