cellWidgetRC Button Font

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
2 posts • Page 1 of 1
mattip
Posts:1
Joined: Thu Feb 26, 2015 8:58 am

cellWidgetRC Button Font

Post by mattip »

Hi,

If a Button is added in table cell like this:
TABLE1.cellWidgetRC(0, "#1", "PushButton", "Geb.")

Is it possible to change that button text Font type?

adaneau
Posts:310
Joined: Tue Feb 21, 2012 9:49 am

Re: cellWidgetRC Button Font

Post by adaneau »

Hi,

Yes you can use CSS for this:

QTableView QPushButton
{
font-size: 4px;
font-family: "Siemens Sans";
}


BR
Alexandre

2 posts • Page 1 of 1