[PyQt] How to have more than one widget on the right of the menu bar?

Kyle Altendorf sda at fstab.net
Sat Aug 25 17:38:17 BST 2018

Add a QWidget, give it a layout, add your multiple widgets to that layout.


On August 25, 2018 11:59:31 AM EDT, inhahe <inhahe at gmail.com> wrote:
>I can put a widget on the right side of the menu bar by calling
>setCornerWidget, but when I try to add another one the first one moves
>the left side of the menu bar. It does say in the docs that if you
>setCornerWidget on a second widget it'll become the new corner widget
>the first one will become unmanaged, or something like that. But what
>if I
>want/need to have 3 widgets right next to each other on the right side
>the menu bar? I'm using PyQt4 btw.

More information about the PyQt mailing list