qt - QToolButton - html text -


is possible format qtoolbutton text html in qlabel? toolbutton.settext("text <b>test</b>") doesn't work

i don't think possible without subclassing qtoolbutton , overriding paintevent, if want style text in button, can use qt style sheets this:

toolbutton->setstylesheet("font-weight: bold"); 

Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -