Pyqt tabs like in Google Chrome

后端 未结 3 1206
既然无缘
既然无缘 2021-01-01 06:51

I would like to have my pyqt aplication have tabs in the menu bar like Google Chrome :)

Any suggestions or a simple example on how to do it?

I did find these

3条回答
  •  天命终不由人
    2021-01-01 07:22

    If I understand correctly, just create a QWindow that contains a QTabBar widget(and not a QMenuBar, or simply use a QTabWidget as your main program widget.

提交回复
热议问题