[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: TypeError: __init__() takes 1 positional argument but 2 were given
From:       Rich Shepard <rshepard () appl-ecosys ! com>
Date:       2021-04-29 19:42:59
Message-ID: alpine.LNX.2.20.2104291239500.26355 () salmo ! appl-ecosys ! com
[Download RAW message or body]

On Thu, 29 Apr 2021, Ludovic Bellière wrote:

> Don't forget to add your content widgets to a layout, and then that layout
> to your window. I'm pretty sure content widgets (like a text area or
> whatever) will not be displayed unless they're within a layout.

Ludovic,

The content on the imported module has the widgets in a grid layout and the
grid inserted in a container. I added the assignment,
self.setCentralWidget(self.sw), but it makes no difference.

I'll back up and re-read the PyQt5 book's section on QTabWidget and review
the code.

Thanks for you input,

Rich
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic