PDA

View Full Version : QDockwidget



peace_comp
29th June 2008, 20:41
Hi..
I want to use a QdockWidget ..but I still have a trouble..in my interface there are a graphicsView and a dockwidget.. when I reduce or move the qdockwidget I want that the graphicsview became lagest (to cover the Qdockwiget place.. )
any ideas?
thx

jpn
29th June 2008, 21:39
Are you using QMainWindow?

peace_comp
29th June 2008, 22:49
Yes I'm using QMainWindow..

aamer4yu
30th June 2008, 05:19
what is the relation between main window and graphics view ? Have u set view as central widget of the main window ?

Also to give view the maximum area, u can hide the dock widget or shrink its size... cant u do that ?