PDA

View Full Version : How to get system color in QT4 as in C#.NET



mitesh
19th September 2006, 06:50
Hi All,

I want to know how can i get system color in my QT application. Means that i want to use system's color in my qt application.

like in C#.NET i have:

Color forecolor = SystemColors.WindowText
Color backcolor = SystemColors.Window

is there anything in QT 4? if yes pls give me guidence how could i get in my application.

Thanks & Regards,
Mitesh.

sunil.thaha
19th September 2006, 07:03
try


widget->palette();