Results 1 to 5 of 5

Thread: "Do not show this message again" functionality in Message Boxes

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Wiki edits
    5

    Default Re: "Do not show this message again" functionality in Message Boxes

    Hi,

    just use QSettings and store a bool value for each dialog, if it should be displayed again or not.


    Lykurg

    Edit: If the value should only stored for the lifetime of the application use a static "QHash<QString> doNotShow" as QErrorMessage does.
    Last edited by Lykurg; 8th October 2008 at 14:20.

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.