PDA

View Full Version : QToolBar help



Erlendhg
6th November 2006, 12:33
Hi!
I'm using QT 4, and want a floatable toolbar.
In QT 3, the QToolBar class (now known as Q3ToolBar) had "floatability" integrated, but it is removed in QT 4´s QToolBar class.

I have heard that if you want a floatable toolbar in QT 4, you should use the QDockWidget, but I can't get it to look like a toolbar.

And is there any reasons for not using Q3ToolBar?

Can someone help me with this problem?


Many thanks,
Erlend Graff

e8johan
6th November 2006, 14:52
The reason for not using the Qt 3 support classes is that they you depend on the Qt 3 support library that in turn depends on most of Qt. This means a huge installation for users.

For floating toolboxes, use QDockWidget.

Erlendhg
6th November 2006, 15:20
But as I said in my last post, I can't get the QDockWidget to look anything like a toolbar.
It is so huge, and the title bar is still there when you dock it.
Can you help me with it?



Many Thanks,
Erlend Graff