m_UserProfileMe..." /> m_UserProfileMe..." /> m_UserProfileMe..."/>

How to give color to a particular text in the Qmenu Bar

473 Views Asked by At

I am setting the title of the one the menu option as mentioned below:

QString Str = "User Profile: " + loFile.baseName();
m_titleBar->m_UserProfileMenu->setTitle(Str);

Here my requirement is, I need to change the font color of the text loFile.baseName() which is been added as part of the title.

Is it possible to change of the color of this text? Examples would be helpful...

0

There are 0 best solutions below