well when I started PyQt4 standalone application I didnt planned to have a toolbar, but now I have reached the point where I find having a floating toolbar a good option .
So what I did is created a toolbar
toolbar = QtGui.QToolbar()
toolbar.setFloatable(True)
toolbar.setMovable(True)
and added the layout that contained the buttonsI want to place to this toolbar.
now I got the toolbar and layout containg the toolbar and the buttons that i wanted to be in the toolbar all showing up, but the toolbar I have added to the default main VBoxLayout() isnt floating
how should I get a floating toolbar or that docks back to the UI to the layout of which is part of !!