<div dir="ltr">What do you mean by "tabs"?<br>Can't you just use a QTabWidget (and set it as centralWidget, if you are using a QMainWindow and are not using QtDesigner)?</div><br><div class="gmail_quote"><div dir="ltr">Il giorno mer 22 ago 2018 alle ore 16:19 inhahe <<a href="mailto:inhahe@gmail.com">inhahe@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I'm sure the solution is simple, but I can't figure it out. It seems that no matter what I do I can't have a menubar and tabs in the same PyQt4 window. Can someone create a minimal example for me that does both? Thanks.<div><br></div><div>(I'm using PyQt4 and Python 2.7 because I'm working on a project that I started many years ago.)</div><div><br></div></div>
_______________________________________________<br>
PyQt mailing list <a href="mailto:PyQt@riverbankcomputing.com" target="_blank">PyQt@riverbankcomputing.com</a><br>
<a href="https://www.riverbankcomputing.com/mailman/listinfo/pyqt" rel="noreferrer" target="_blank">https://www.riverbankcomputing.com/mailman/listinfo/pyqt</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">È difficile avere una convinzione precisa quando si parla delle ragioni del cuore. - "Sostiene Pereira", Antonio Tabucchi<br><a href="http://www.jidesk.net">http://www.jidesk.net</a></div>