[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] How to have a menubar and tabs in the same app?
From: inhahe <inhahe () gmail ! com>
Date: 2018-08-22 19:13:34
Message-ID: CAPeSgWoVLf+zneRhZGF-dfgCWqjJo9SLQdYDec+Vz9Hqdr7TOg () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Thanks, I got it now.
On Wed, Aug 22, 2018 at 10:54 AM Maurizio Berti <maurizio.berti@gmail.com>
wrote:
> What do you mean by "tabs"?
> Can't you just use a QTabWidget (and set it as centralWidget, if you are
> using a QMainWindow and are not using QtDesigner)?
>
> Il giorno mer 22 ago 2018 alle ore 16:19 inhahe <inhahe@gmail.com> ha
> scritto:
>
>> I'm sure the solution is simple, but I can't figure it out. It seems tha=
t
>> 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? Than=
ks.
>>
>> (I'm using PyQt4 and Python 2.7 because I'm working on a project that I
>> started many years ago.)
>>
>> _______________________________________________
>> PyQt mailing list PyQt@riverbankcomputing.com
>> https://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
>
>
> --
> =C3=88 difficile avere una convinzione precisa quando si parla delle ragi=
oni
> del cuore. - "Sostiene Pereira", Antonio Tabucchi
> http://www.jidesk.net
>
[Attachment #5 (text/html)]
<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>
[Attachment #6 (text/plain)]
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic