Results 1 to 3 of 3

Thread: Docked main window

  1. #1
    Join Date
    Jul 2008
    Posts
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default Docked main window

    Hi everyone,

    how can I develop a main window program in qt that can be docked in any side of the windows desktop sides.

    In other words , I want to create a program that reacts as the start taskbar in windows.

    The QDockWidget handles widgets that are within the main window, but I want the main window itself to be docked.

    I hope my question is clear.

    Thanks in advance.

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Docked main window

    Usually it's up to the underlying window manager to handle this, but some Windows apps tend to implement things like this on their own. I suppose you just have to handle move events and "dock" the window to the edge of the screen once it's moved close enough.
    J-P Nurmi

  3. #3
    Join Date
    Jul 2008
    Posts
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Docked main window

    Thank you I will try that.

Similar Threads

  1. access main window from function
    By eric in forum Qt Programming
    Replies: 6
    Last Post: 19th January 2008, 21:29
  2. minimizing main window
    By eric in forum Qt Programming
    Replies: 4
    Last Post: 28th November 2007, 16:54
  3. Background image for main window widget using css.
    By Enygma in forum Qt Programming
    Replies: 8
    Last Post: 23rd August 2007, 15:40
  4. cannot make a main window modal
    By Dark_Tower in forum Qt Programming
    Replies: 12
    Last Post: 23rd March 2006, 10:21
  5. Main window
    By Michiel in forum Qt Tools
    Replies: 1
    Last Post: 20th March 2006, 23:54

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.