<div dir="ltr">Thanks, I got it now.<div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Aug 22, 2018 at 10:54 AM Maurizio Berti <<a href="mailto:maurizio.berti@gmail.com">maurizio.berti@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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" target="_blank">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="m_-4459402666675170424gmail_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" target="_blank">http://www.jidesk.net</a></div>
</blockquote></div>