[Qt-interest] setHorizontalHeaderLabels in bold
mierdatutis mi
mmm286 at gmail.com
Wed Aug 5 22:48:36 CEST 2009
It works!
Many thanks!
Best regards,
2009/8/5 David Boosalis <david.boosalis at gmail.com>
> See if this works for you.
>
>
> QFont fnt = myTable->horizontalHeader->font();
> fnt.setBold(true);
> myTable->horizontalHeader->setFont(fnt);
>
>
> On Wed, Aug 5, 2009 at 11:35 AM, mierdatutis mi<mmm286 at gmail.com> wrote:
> > Hi,
> >
> > I have a qtablewidget with horizontal headers like this:
> >
> > QStringList list;
> >
> > list<<"LA 1"<<"DIA-HORA";
> >
> > tabla->setHorizontalHeaderLabels(list);
> >
> > I would like that the headers are in bold, how could I do this?
> >
> > Many thanks and sorry for my english!
> >
> > _______________________________________________
> > 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/20090805/2662106d/attachment.html
More information about the Qt-interest-old
mailing list