Results 1 to 2 of 2

Thread: Non-Modal about dialog?

  1. #1
    Join Date
    Aug 2009
    Location
    United States
    Posts
    45
    Thanks
    20
    Qt products
    Qt4
    Platforms
    Windows

    Default Non-Modal about dialog?

    It it possible to have a non-modal QMessageBox::about dialog box? I want to have a hyperlink in the dialog box that the user can click to go to a website, which I implemented with this code:

    Qt Code:
    1. HINSTANCE status =::ShellExecute( this->winId(), NULL,
    2. ( TCHAR * ) L"www.google.com", NULL, NULL, SW_SHOW );
    To copy to clipboard, switch view to plain text mode 

    But the url doesn't open until I click the OK button in the dialog box, which I'm assuming is because the dialog box is blocking the program?

    Appreciate any advice you might have!

  2. #2
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

Similar Threads

  1. Replies: 3
    Last Post: 17th December 2010, 02:06
  2. QT Modal Dialog
    By jiapei100 in forum Qt Programming
    Replies: 1
    Last Post: 16th January 2010, 17:15
  3. Modal dialog not behaving
    By tpf80 in forum Qt Programming
    Replies: 7
    Last Post: 16th September 2008, 22:03
  4. Special Modal Dialog
    By adonel in forum Qt Programming
    Replies: 2
    Last Post: 13th May 2008, 08:12
  5. System modal dialog!!
    By boss_bhat in forum Qt Programming
    Replies: 2
    Last Post: 23rd June 2006, 07:01

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.