Results 1 to 3 of 3

Thread: QToolBar help

  1. #1
    Join Date
    Nov 2006
    Posts
    29
    Thanks
    3
    Thanked 3 Times in 3 Posts

    Default QToolBar help

    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

  2. #2
    Join Date
    Jan 2006
    Location
    Alingsås, Sweden
    Posts
    437
    Thanks
    3
    Thanked 39 Times in 39 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QToolBar help

    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.

  3. #3
    Join Date
    Nov 2006
    Posts
    29
    Thanks
    3
    Thanked 3 Times in 3 Posts

    Default Re: QToolBar help

    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

Similar Threads

  1. QToolBar help please
    By munna in forum Qt Programming
    Replies: 3
    Last Post: 29th June 2006, 17:18
  2. QToolBar in a new UI form?
    By gfunk in forum Qt Tools
    Replies: 7
    Last Post: 2nd June 2006, 11:19
  3. Insert separate QToolBar into QMainWindow
    By YuriyRusinov in forum Qt Programming
    Replies: 3
    Last Post: 24th April 2006, 10:37
  4. Is possible to hide a separator in a QToolBar?
    By Dark_Tower in forum Qt Programming
    Replies: 2
    Last Post: 20th April 2006, 10:03
  5. QToolBar go away! On startup anyway.
    By bitChanger in forum Qt Programming
    Replies: 1
    Last Post: 10th February 2006, 18:22

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.