QT : Setting Text Under Tool Button in QToolBar

QT : Setting Text Under Tool Button in QToolBar

I am create a designer with QDesigner and try to add toolbar in that mainwindow. But I dont see text under toolbutton when running my program. This is how look my program :

The problem is I want to add text under Tool Button in QtoolBar. We can setting how look our toolbar by check in QToolBar Properties. Please check this :

So, we can change this “tooButtonSytle” value to “ToolButtonTextUnderIcon” Variable if we want to create a text under tool button in QToolbar. This is how look my new program after change this variable :

Add a Comment

Your email address will not be published. Required fields are marked *