Results 1 to 17 of 17

Thread: Problem about staying on taskbar

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    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: Problem about staying on taskbar

    Use this in the constructor of the dialog:
    Qt Code:
    1. setWindowFlags( Qt::Dialog );
    To copy to clipboard, switch view to plain text mode 

    Also, have you tried running the Window Flags example? It is in the Widgets section, in qt demos. Just switch the flags and see for which one you get an entry in the task bar.

    Regards

  2. The following user says thank you to marcel for this useful post:

    adorp (24th July 2007)

  3. #2
    Join Date
    Jul 2007
    Posts
    12
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Problem about staying on taskbar

    Quote Originally Posted by marcel View Post
    Use this in the constructor of the dialog:
    Qt Code:
    1. setWindowFlags( Qt::Dialog );
    To copy to clipboard, switch view to plain text mode 

    Also, have you tried running the Window Flags example? It is in the Widgets section, in qt demos. Just switch the flags and see for which one you get an entry in the task bar.

    Regards
    That still fails, but if we change Qt:ialog to Qt::Window, look, it works! Thanks anyway, and I found that example which although can't help solve the problem, but it is heuristic after all
    Last edited by adorp; 24th July 2007 at 21:50. Reason: spelling error

  4. #3
    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: Problem about staying on taskbar

    That is not normal. At least in KDE, Windows and Mac a QDialog has a taskbar/dock button/icon.

    Regards

Similar Threads

  1. Replies: 16
    Last Post: 7th March 2006, 15:57

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.