Results 1 to 2 of 2

Thread: Customize QErrorMessage

  1. #1
    Join Date
    Oct 2009
    Location
    Vienna, Austria
    Posts
    57
    Thanks
    24
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Customize QErrorMessage

    I just discovered the handy QErrorMessage class but the icon (info) should be different when an error is shown.
    Would it be possible to customize the appearance of QErrorMessage?

  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

    Default Re: Customize QErrorMessage

    The icon is hardcoded, you can not change it.

    I suggest using a QMessageBox instead

  3. The following user says thank you to tbscope for this useful post:

    doberkofler (20th May 2010)

Similar Threads

  1. Customize QListWidgetItem, how to?
    By martinn in forum Qt Programming
    Replies: 24
    Last Post: 12th December 2016, 10:47
  2. Customize QFileDialog
    By Swankee in forum Newbie
    Replies: 10
    Last Post: 25th November 2009, 20:21
  3. How to customize the icon?
    By snowdream in forum Qt Programming
    Replies: 2
    Last Post: 12th November 2009, 06:59
  4. how can i customize a QMainWindow
    By wygggyxtf in forum Qt Programming
    Replies: 15
    Last Post: 23rd June 2007, 06:18
  5. How could i customize my QtTabWidget?
    By Rodrigo in forum Qt Programming
    Replies: 3
    Last Post: 29th May 2007, 14:30

Tags for this Thread

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.