Results 1 to 4 of 4

Thread: Actions in QDcokWidget

  1. #1
    Join Date
    May 2011
    Posts
    20
    Qt products
    Qt4
    Platforms
    Windows

    Question Actions in QDcokWidget

    hi all,
    how it is possible to place a toolbar with actions in a qdockwidget? ... like in the Qt Designer:

    Unbenannt.PNG

    thx

  2. #2
    Join Date
    Oct 2010
    Location
    Berlin, Germany
    Posts
    358
    Thanks
    18
    Thanked 68 Times in 66 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Actions in QDcokWidget

    Of course, I'm doing that in one of my applications

    You can set a custom TitleWidget do a QDockWidget. This TitleWidget can contain whatever you want since it is just a QWidget. So, you can define a Widget that contains a ToolBar and set that as cutom TitleWidget.

    hth,
    Felix

  3. #3
    Join Date
    May 2011
    Posts
    20
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Actions in QDcokWidget

    ok thx,

    and I think there is no way to do this with the Qt Designer?

  4. #4
    Join Date
    Oct 2010
    Location
    Berlin, Germany
    Posts
    358
    Thanks
    18
    Thanked 68 Times in 66 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Actions in QDcokWidget

    no. But you can design your custom title widget in the designer, of course!

Similar Threads

  1. How to add right click actions?
    By hakermania in forum Newbie
    Replies: 2
    Last Post: 17th November 2010, 06:31
  2. Drop Actions
    By MTK358 in forum Newbie
    Replies: 3
    Last Post: 9th September 2010, 21:12
  3. Menubar actions
    By srohit24 in forum Qt Programming
    Replies: 9
    Last Post: 23rd July 2009, 11:35
  4. Get the actions from a toolbar
    By jano_alex_es in forum Newbie
    Replies: 3
    Last Post: 20th May 2009, 09:02
  5. Actions and what to do with them?
    By krsmichael in forum Qt Tools
    Replies: 2
    Last Post: 20th January 2006, 22:08

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.