forked from quickshell/quickshell
		
	feat: make proxy windows visible by default
This commit is contained in:
		
							parent
							
								
									dc616923aa
								
							
						
					
					
						commit
						ea2cdf38b8
					
				
					 1 changed files with 2 additions and 5 deletions
				
			
		| 
						 | 
					@ -33,10 +33,7 @@ class ProxyWindowBase: public Reloadable {
 | 
				
			||||||
	/// >
 | 
						/// >
 | 
				
			||||||
	/// > Use **only** if you know what you are doing.
 | 
						/// > Use **only** if you know what you are doing.
 | 
				
			||||||
	Q_PROPERTY(QQuickWindow* _backingWindow READ backingWindow);
 | 
						Q_PROPERTY(QQuickWindow* _backingWindow READ backingWindow);
 | 
				
			||||||
	/// The visibility of the window.
 | 
						/// If the window is shown or hidden. Defaults to true.
 | 
				
			||||||
	///
 | 
					 | 
				
			||||||
	/// > [!INFO] Windows are not visible by default so you will need to set this to make the window
 | 
					 | 
				
			||||||
	/// > appear.
 | 
					 | 
				
			||||||
	Q_PROPERTY(bool visible READ isVisible WRITE setVisible NOTIFY visibleChanged);
 | 
						Q_PROPERTY(bool visible READ isVisible WRITE setVisible NOTIFY visibleChanged);
 | 
				
			||||||
	Q_PROPERTY(qint32 width READ width WRITE setWidth NOTIFY widthChanged);
 | 
						Q_PROPERTY(qint32 width READ width WRITE setWidth NOTIFY widthChanged);
 | 
				
			||||||
	Q_PROPERTY(qint32 height READ height WRITE setHeight NOTIFY heightChanged);
 | 
						Q_PROPERTY(qint32 height READ height WRITE setHeight NOTIFY heightChanged);
 | 
				
			||||||
| 
						 | 
					@ -152,7 +149,7 @@ private slots:
 | 
				
			||||||
	void onHeightChanged();
 | 
						void onHeightChanged();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
protected:
 | 
					protected:
 | 
				
			||||||
	bool mVisible = false;
 | 
						bool mVisible = true;
 | 
				
			||||||
	qint32 mWidth = 100;
 | 
						qint32 mWidth = 100;
 | 
				
			||||||
	qint32 mHeight = 100;
 | 
						qint32 mHeight = 100;
 | 
				
			||||||
	QColor mColor = Qt::white;
 | 
						QColor mColor = Qt::white;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue