Results 1 to 2 of 2

Thread: QDockWidget and more

  1. #1
    Join Date
    May 2009
    Posts
    52
    Thanks
    4
    Qt products
    Qt4
    Platforms
    Windows

    Default QDockWidget and more

    Hello,

    I have 2 probably silly questions:

    1) I have a fixed width QDockWidget placed on the left or on the right of the main window. The problem is that the dock widgets has a splitter like control on the side, which being useless I want to have it removed. How do I remove it? :O

    2) This is unrelated with the first question. I add dinamically buttons and widgets, which I keep in some lists. I want to press on the buttons and do some actions on the corresponding widgets. How can I do that?

    Thanks a lot

    Edit: the version is Qt4
    Last edited by Carlsberg; 1st June 2009 at 19:59. Reason: Forgot to say the version

  2. #2
    Join Date
    May 2009
    Posts
    52
    Thanks
    4
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QDockWidget and more

    Ok, the no.2 problem was solved with QSignalMapper, but I still don't have any ideea how I can hide a QMainWindow::separator. Instead I changed its hover color to match the background color and I'll live with it...

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.