[PyQt] How to mix tool button styles in a single toolbar

Dmitry Shachnev mitya57 at ubuntu.com
Wed Apr 23 12:03:29 BST 2014


See <http://qt-project.org/doc/qt-5/qaction.html#priority-prop>. The
relevant part:

“For instance, when toolbars have the Qt::ToolButtonTextBesideIcon
mode set, then actions with LowPriority will not show the text
labels.”

--
Dmitry Shachnev


On Tue, Apr 22, 2014 at 4:21 PM, rj_pyqt_qwzqfors
<rj_pyqt_qwzqfors at objectmail.com> wrote:
> I want to have a toolbar with some buttons containing both icons and text
> labels, and others only icons. Is this possible? I understand that I can set
> this style globally for the entire toolbar, but how can I do it for
> individual toolbar buttons?
>
> Thank you.
>
> -- Timothy
>
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt


More information about the PyQt mailing list