Results 1 to 7 of 7

Thread: How to put a DockWidget or Widget over others??

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jun 2007
    Posts
    15
    Thanks
    2

    Question How to put a DockWidget or Widget over others??

    Hi all,

    In Qt 4.3, I want to create a small application similar to Slick Edit and have some troubles:

    1. Auto Hide feature: how to add a Widget is same as "project" tab or "classes" tab in the left of the Visual Slick application, It means that, when users move over the "Project", "Classes", "FTP" tabs, these widgets will expand slowly and increase its size. The trouble is that when these tabs are increasing its size, these must above the central widget, don't push the central widget to the right. I imitate the way of QRubberband class by using: setAttribute(Qt::WA_NoSystemBackground) method so that the left widget can put over others but it does not affect. How can I do?

    2. What should I do to replace the normal symbol on the top-right corner by the auto-hide symbol?

    Thanks!
    Last edited by dungsivn; 23rd October 2007 at 13:19.

Similar Threads

  1. Drawing a widget in QItemDelegate's paint method
    By darkadept in forum Qt Programming
    Replies: 17
    Last Post: 11th August 2009, 05:15
  2. Replies: 3
    Last Post: 17th October 2007, 12:52
  3. transparent background of the main widget
    By nagpalma in forum Qt Programming
    Replies: 2
    Last Post: 4th May 2007, 17:52
  4. Controlling which widget on top layer?
    By JonathanForQT4 in forum Qt Programming
    Replies: 6
    Last Post: 22nd March 2007, 14:27
  5. [Qt 4.1.0] Split a widget on demand
    By Townk in forum Qt Programming
    Replies: 3
    Last Post: 17th February 2006, 14:16

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
  •  
Qt is a trademark of The Qt Company.