Results 1 to 10 of 10

Thread: Changing QPalette Highlight doesn't work on Windows 7

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #9
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,373
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    3
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: Changing QPalette Highlight doesn't work on Windows 7

    Quote Originally Posted by Dong Back Kim View Post
    However, when it comes to visual information such as color or layout, shouldn't it be somewhat consistent as much as possible even it's different platform?
    No, I don't think so. If your program requires such things then I'd call it a misdesign.

    For example, if item text color in a QListView means somwhat very important then I believe it should be preserved even the base OS is different. Since you mentioned "russian-chinese language barrier issue", I want to paraphrase the example. Both Russian and Chinese use "Red" as "stop" and "Green" as "go-ahead" in their traffic networks. =)
    Suppose you want a red push-button to mark some important button in your program. What if the user of your program has such a theme installed in his system that all push buttons are by default red? If the OS guidelines state that the button colour is defined by the theme, relying on artificial colour settings is a misdesign and you should find a different highlighting mechanism (for example by rearranging widgets on the form so that the button is more exposed).

    This is a common mistake to assume that if my desktop looks in some way, everybody's desktops look similar. And the second common problem is that people think that if they use a program in a specific way, everybody uses (or will want to use or just have to use because it's superior to their current habits) this program the same way too. It's quite egocentric to assume that, isn't it?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


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

    Dong Back Kim (7th August 2011)

Similar Threads

  1. Replies: 0
    Last Post: 4th March 2011, 19:18
  2. Qt Creator SDK 2010.05 - 'Hallo world' doesn't work on Windows 7 64bit
    By mastupristi in forum Qt Tools
    Replies: 1
    Last Post: 15th November 2010, 09:25
  3. Replies: 2
    Last Post: 29th June 2010, 00:40
  4. QPalette works differently on windows and linux
    By babu198649 in forum Newbie
    Replies: 3
    Last Post: 6th March 2008, 07:27
  5. Connection doesn't work
    By ^NyAw^ in forum Qt Programming
    Replies: 2
    Last Post: 20th March 2007, 12:09

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.