You are not logged in.

1

Monday, November 27th 2006, 5:08pm

Controlling palettes

Hi there.

I would like to use Qt to program GUIs to present various forms of data plots, like geographical maps and various graphs. While Qt's palette seems OK for general widgets, I would like to use a custom palette for my data plots.

The problem I face is that some of my applications are likely to be used on ships, where it is paramount to select color palettes very carefully, in order not to destroy the crew's night vision in the dark.

Other applications will be used by color-blind people, who will have to design their own color palettes based on their personal visual perceptions.

What is the best way to customize Qt's palettes to satisfy all these requirements?

-- R
Make things as simple as possible. But not simpler.

Junior

Professional

  • "Junior" is male

Posts: 1,613

Location: San Antonio, TX USA

Occupation: Senior Secure Systems Engineer

  • Send private message

2

Wednesday, November 29th 2006, 12:39am

RE: Controlling palettes

Qt4 stylesheets.

Take a look at the example from the QtDemo on stylesheets, it might be what you are interested in.