On Wed, Apr 04, 2018 at 05:10:07AM +, Vadim Peretokin wrote:
> How can I programatically make a tab's text bold? I'm looking to notify the
> user that they need to look at it.
>
> Note that this is different from using a stylesheet to set the selected tab
> bold - I'd like to set any random ta
Thanks a ton! Works.
On Wed, Apr 4, 2018 at 12:07 PM Igor Mironchik
wrote:
>
> #include
> #include
> #include
> #include
> #include
> #include
>
> class Style : public QProxyStyle
> {
> public:
> Style( QTabBar * bar )
> :m_boldTab( 0 )
> ,m_bar( bar )
> {
>
#include
#include
#include
#include
#include
#include
class Style : public QProxyStyle
{
public:
Style( QTabBar * bar )
: m_boldTab( 0 )
, m_bar( bar )
{
}
~Style()
{
}
void drawControl( ControlElement element,
const QStyleOption
Alternatively suffix an asterisk; Tab -> Tab*. Then remove it on highlight.
/René
On Wed, 4 Apr 2018 at 09:47 Vadim Peretokin wrote:
> On Wed, Apr 4, 2018 at 7:35 AM Hamish Moffatt
> wrote:
>
>> On 04/04/18 15:10, Vadim Peretokin wrote:
>> > How can I programatically make a tab's text bold? I'
On Wed, Apr 4, 2018 at 7:35 AM Hamish Moffatt
wrote:
> On 04/04/18 15:10, Vadim Peretokin wrote:
> > How can I programatically make a tab's text bold? I'm looking to
> > notify the user that they need to look at it.
> >
> > Note that this is different from using a stylesheet to set the
> > select
On 04/04/18 15:10, Vadim Peretokin wrote:
How can I programatically make a tab's text bold? I'm looking to
notify the user that they need to look at it.
Note that this is different from using a stylesheet to set the
selected tab bold - I'd like to set any random tab's text bold.
Been looking