[Qt-interest] Pseudo style setting in a local object
Santhosh Y
santhosh at softjin.com
Wed Jun 24 12:16:44 CEST 2009
Hi,
I would like to set different style for 2- QTabBar present in my
applicaiton. Globally I can set for all the QTabBars
in the following manner on qApp->setStyleSheet (
"QTabBar::tab:selected { color:black \
background-color: blue; }"
"QTabBar::tab:!selected { color:black; \
background-color:white}"
);
If I want to set to a single tab bar but not for the other one, how to
set this pseudo state style set on QTabBar;
Let us say I have a QTabBar* tb1 = new QTabBar ();
tb1->setStyleSheet (..............//How
can I set pseudo state here!);
Please help me somebody.
--
----------------------------------------------------
Y Santhosh Kumar
Senior Software Engineer
SoftJin Technologies Private Limited
Unit No. 102, Mobius Tower,
I Floor, SJR I - Park,
EPIP, White Field,
Bangalore - 560066, India
U : www.softjin.com
E : santhosh at softjin.com
T : +91-80-41779999
M : +91-9740535265
----------------------------------------------------
Business Disclaimer
____________________________________________________________
This e-mail message and any files transmitted with it are intended solely
for the use of the individual or entity to which they are addressed. It
may contain confidential, proprietary or legally privileged information.
If you are not the intended recipient please be advised that you have
received this message in error and any use is strictly prohibited. Please
immediately delete it and all copies of it from your system, destroy any
hard copies of it and notify the sender by return mail. You must not,
directly or indirectly, use, disclose, distribute, print, or copy any part of
this message if you are not the intended recipient.
___________________________________________________________
More information about the Qt-interest-old
mailing list