[Interest] How to programatically make a tab's text bold?

René Hansen renehh at gmail.com
Wed Apr 4 11:10:20 CEST 2018


Alternatively suffix an asterisk; Tab -> Tab*. Then remove it on highlight.

/René

On Wed, 4 Apr 2018 at 09:47 Vadim Peretokin <vperetokin at gmail.com> wrote:

> On Wed, Apr 4, 2018 at 7:35 AM Hamish Moffatt <hamish at risingsoftware.com>
> 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
>> > selected tab bold - I'd like to set any random tab's text bold.
>> >
>> > Been looking at this for several days, appreciate any advice!
>>
>> Using widgets? You didn't say what context.
>>
>> Maybe you can set a dynamic property on the tab when you want it to be
>> bold, and attach a special style using properties in the stylesheet.
>>
>>
>> Hamish
>> _______________________________________________
>> Interest mailing list
>> Interest at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/interest
>>
>
> Yes, using widgets.
>
> I've tried a dynamic property however as far as I can see, I can only set
> the dynamic property on the entire tab bar - not a specific tab. How can I
> set it on a specific tab?
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20180404/a4878f35/attachment.html>


More information about the Interest mailing list