[Qt-interest] Qt-4.2 How to set color for QGroupBox Title
ARUN_KUMAR at denso-diam.com
ARUN_KUMAR at denso-diam.com
Fri Dec 5 02:13:55 CET 2008
Wow,
Thanks for imm reply and it worked great.
Thanks & Regards,
Arun.
"Efan Harris" <efanharris at gmail.com>
12/04/2008 04:58 PM
To
ARUN_KUMAR at denso-diam.com
cc
"Qt Interest" <qt-interest at trolltech.com>
Subject
Re: [Qt-interest] Qt-4.2 How to set color for QGroupBox Title
Hi
You can use style sheet it will do the job
int main(int argc, char **argv)
{
QApplication app(argc, argv);
app.setStyleSheet("QGroupBox::title{ color: red }");
QGroupBox groupBox("Exclusive Radio Buttons");
groupBox.show();
return app.exec();
}
On Thu, Dec 4, 2008 at 3:30 PM, <ARUN_KUMAR at denso-diam.com> wrote:
Hi ,
I want to set color for GroupBox Title, just for title, not whole
background.
How can I do that?
Thanks & Regards,
Arun
_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20081204/3d44112f/attachment.html
More information about the Qt-interest-old
mailing list