I am using QDesigner to create a new form. I want this form to be a widget window, not a main window, because it will be called from some other windows. So, I am defining them to be moveable etc, but when I make them and run them, they don't move at all. You can make them float, but not move them. I checked the dockwidget example, and the only noticeable difference I found was, that the example uses the addDockWidget function, whereas the automatically created from QtDesigner header file does not. I experimented with it(commenting this function in the example) and indeed the dock widgets stopped movind. Therefore, I tried to call it in my program, but I realized that this function exists only for QMainWindow.
Is this actually the reason for the dock widgets not to be able to move ? If yes, is there any way to call this function inside a QWidget inherited class ?


 
					
					 
							
						 
    
    
    
    
    
    
   
    
    
    
    
    
   DockWidget not moving inside QWidget ?
 DockWidget not moving inside QWidget ?
		 
				
				
				
					 Reply With Quote
  Reply With Quote
 
    
    
       
    
    
       
    
    
    
       
    
   Originally Posted by aurelius
 Originally Posted by aurelius
					

Bookmarks