0

I am trying to achieve tabs shelf when the number of max tabs is increasing.

For Example:

Max_Tabs = 5

if number of open tabs is getting greater than 5 then the oldest one should popout to the shelf.

Can I use setcornerwidget for this? If yes then which widget I should Consider using?

Thanks in advance for any help.

Similar to following picture: enter image description here

Vinod Puliyadi
  • 225
  • 1
  • 3
  • 14

1 Answers1

1

Yes, you can use setCornerWidget for this. You'll probably want to use a QToolButton with a QMenu for the widget.

Brendan Abel
  • 35,343
  • 14
  • 88
  • 118