Hello!
I'd like sizeHint to control the size of my main window. Basically I need my window to be 80% of the size of the computer screen. I know that screenGeometry gives me a QRect representing screen size. How do I feed this info into sizeHint function which takes QSize. What's the way to make these two functions interact so that my window is 80% of the screen size?


 
					
					 
							
						 
    
    
    
    
    
    
   
    
    
    
    
   sizeHint
 sizeHint
		 
				
				
				
					 Reply With Quote
  Reply With Quote
 
    
    
       
    
    
       
    
    
    
       
    
  
Bookmarks