narendra
25th February 2010, 07:27
Hi,
I have a problem using style sheet can any one help me please.
If we have widget which is child of some other widget then style properties of the parent is inherited. How can we stop this ?
I want my child widget to take the default style which qt provides.
For ex if i have a widget A with background red .
Widget B is child of A even widget B gets background red but i want B to look like native. What should i do ?
I can set style sheet for B it has to be some default like what we get when widget is created with out setting any style sheet for the first time.
I have a problem using style sheet can any one help me please.
If we have widget which is child of some other widget then style properties of the parent is inherited. How can we stop this ?
I want my child widget to take the default style which qt provides.
For ex if i have a widget A with background red .
Widget B is child of A even widget B gets background red but i want B to look like native. What should i do ?
I can set style sheet for B it has to be some default like what we get when widget is created with out setting any style sheet for the first time.