Results 1 to 6 of 6

Thread: Need a dockwidget same as Visual Studio 2005

  1. #1
    Join Date
    Jun 2006
    Location
    Vietnam
    Posts
    59
    Thanks
    17
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Need a dockwidget same as Visual Studio 2005

    I need a dockwidget same as Visual Studio 2005, it has a button AutoHide to show or hide the dockwidget when user move mouse in and out of dockwidget .Thanks.

  2. #2
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Need a dockwidget same as Visual Studio 2005

    So, why don't you start implementing it?
    As a hint, you will have to draw the title bar manually and place all those buttons there.

  3. #3
    Join Date
    Jun 2006
    Location
    Vietnam
    Posts
    59
    Thanks
    17
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Need a dockwidget same as Visual Studio 2005

    Quote Originally Posted by marcel View Post
    So, why don't you start implementing it?
    As a hint, you will have to draw the title bar manually and place all those buttons there.
    Please tell me popular functions I need to implement them. If I want to draw the title bar manually, I will code it in which function? Thanks.

  4. #4
    Join Date
    Aug 2006
    Posts
    250
    Thanks
    19
    Thanked 49 Times in 36 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Need a dockwidget same as Visual Studio 2005

    Quote Originally Posted by vql View Post
    Please tell me popular functions I need to implement them. If I want to draw the title bar manually, I will code it in which function? Thanks.
    QDockWidget

    QDockWidget::setTitleBarWidget

  5. #5
    Join Date
    Jun 2006
    Location
    Vietnam
    Posts
    59
    Thanks
    17
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Need a dockwidget same as Visual Studio 2005

    Quote Originally Posted by pherthyl View Post
    QDockWidget

    QDockWidget::setTitleBarWidget
    No. I want add more buttons in the titlebar, ie button AutoHide ... Please tell me the popular functions of QDockWidget I need to overwrite. Thanks.

  6. #6
    Join Date
    Aug 2006
    Posts
    250
    Thanks
    19
    Thanked 49 Times in 36 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Need a dockwidget same as Visual Studio 2005

    Quote Originally Posted by vql View Post
    No. I want add more buttons in the titlebar, ie button AutoHide ... Please tell me the popular functions of QDockWidget I need to overwrite. Thanks.
    Well create your titlebar widget to contain whatever buttons you want (Autohide or whatever) and then add it with setTitleBarWidget

    I don't see the problem..

  7. The following user says thank you to pherthyl for this useful post:

    vql (18th November 2007)

Similar Threads

  1. Set up the Qt4.3.2 with Visual Studio 2005
    By lamoda in forum Installation and Deployment
    Replies: 6
    Last Post: 30th January 2008, 06:51
  2. Qt configure with msvc.net
    By jivanr in forum Installation and Deployment
    Replies: 1
    Last Post: 11th June 2007, 08:17
  3. Qt Cryptographic Architecture
    By vermarajeev in forum Qt Programming
    Replies: 6
    Last Post: 9th February 2007, 13:15
  4. Qt-4.2.2 qmake won't compile under visual studio 2005 on vista
    By moowy in forum Installation and Deployment
    Replies: 7
    Last Post: 13th January 2007, 21:06
  5. Qt Designer & Visual Studio 2005
    By pSiCho in forum Qt Tools
    Replies: 6
    Last Post: 9th February 2006, 13:40

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.