use required properties in intro
This commit is contained in:
		
							parent
							
								
									9ea6f08156
								
							
						
					
					
						commit
						7ce7b6326f
					
				
					 1 changed files with 8 additions and 8 deletions
				
			
		| 
						 | 
					@ -213,7 +213,7 @@ import QtQuick
 | 
				
			||||||
    @@Quickshell.PanelWindow {
 | 
					    @@Quickshell.PanelWindow {
 | 
				
			||||||
      // the screen from the screens list will be injected into this
 | 
					      // the screen from the screens list will be injected into this
 | 
				
			||||||
      // property
 | 
					      // property
 | 
				
			||||||
      property var modelData
 | 
					      required property var modelData
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // we can then set the window's screen to the injected property
 | 
					      // we can then set the window's screen to the injected property
 | 
				
			||||||
      screen: modelData
 | 
					      screen: modelData
 | 
				
			||||||
| 
						 | 
					@ -280,7 +280,7 @@ import QtQuick
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    delegate: @@QtQml.Component {
 | 
					    delegate: @@QtQml.Component {
 | 
				
			||||||
      @@Quickshell.PanelWindow {
 | 
					      @@Quickshell.PanelWindow {
 | 
				
			||||||
        property var modelData
 | 
					        required property var modelData
 | 
				
			||||||
        screen: modelData
 | 
					        screen: modelData
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        anchors {
 | 
					        anchors {
 | 
				
			||||||
| 
						 | 
					@ -359,7 +359,7 @@ import QtQuick
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    delegate: @@QtQml.Component {
 | 
					    delegate: @@QtQml.Component {
 | 
				
			||||||
      @@Quickshell.PanelWindow {
 | 
					      @@Quickshell.PanelWindow {
 | 
				
			||||||
        property var modelData
 | 
					        required property var modelData
 | 
				
			||||||
        screen: modelData
 | 
					        screen: modelData
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        anchors {
 | 
					        anchors {
 | 
				
			||||||
| 
						 | 
					@ -429,7 +429,7 @@ import QtQuick
 | 
				
			||||||
    model: Quickshell.screens
 | 
					    model: Quickshell.screens
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    @@Quickshell.PanelWindow {
 | 
					    @@Quickshell.PanelWindow {
 | 
				
			||||||
      property var modelData
 | 
					      required property var modelData
 | 
				
			||||||
      screen: modelData
 | 
					      screen: modelData
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      anchors {
 | 
					      anchors {
 | 
				
			||||||
| 
						 | 
					@ -496,7 +496,7 @@ import QtQuick
 | 
				
			||||||
    model: Quickshell.screens
 | 
					    model: Quickshell.screens
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    @@Quickshell.PanelWindow {
 | 
					    @@Quickshell.PanelWindow {
 | 
				
			||||||
      property var modelData
 | 
					      required property var modelData
 | 
				
			||||||
      screen: modelData
 | 
					      screen: modelData
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      anchors {
 | 
					      anchors {
 | 
				
			||||||
| 
						 | 
					@ -574,7 +574,7 @@ import QtQuick
 | 
				
			||||||
    model: Quickshell.screens
 | 
					    model: Quickshell.screens
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    @@Quickshell.PanelWindow {
 | 
					    @@Quickshell.PanelWindow {
 | 
				
			||||||
      property var modelData
 | 
					      required property var modelData
 | 
				
			||||||
      screen: modelData
 | 
					      screen: modelData
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      anchors {
 | 
					      anchors {
 | 
				
			||||||
| 
						 | 
					@ -658,7 +658,7 @@ import Quickshell
 | 
				
			||||||
    model: Quickshell.screens
 | 
					    model: Quickshell.screens
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    @@Quickshell.PanelWindow {
 | 
					    @@Quickshell.PanelWindow {
 | 
				
			||||||
      property var modelData
 | 
					      required property var modelData
 | 
				
			||||||
      screen: modelData
 | 
					      screen: modelData
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      anchors {
 | 
					      anchors {
 | 
				
			||||||
| 
						 | 
					@ -745,7 +745,7 @@ import Quickshell
 | 
				
			||||||
    model: Quickshell.screens
 | 
					    model: Quickshell.screens
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    @@Quickshell.PanelWindow {
 | 
					    @@Quickshell.PanelWindow {
 | 
				
			||||||
      property var modelData
 | 
					      required property var modelData
 | 
				
			||||||
      screen: modelData
 | 
					      screen: modelData
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      anchors {
 | 
					      anchors {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue