QTableWidget help!!

Barry barry at barrys-emacs.org
Fri Jan 31 15:44:19 EST 2020



> On 31 Jan 2020, at 03:38, Souvik Dutta <souvik.viksou at gmail.com> wrote:
> 
> Hi,
> I want to add a QTableWidget to an existing window with other labels and
> button. How can I add the QTableWidget without having to set it as
> centralwidget and be able to move it and set geometry. Because I am not
> being able to move the central widget by using
> self.centralwidget.setGeometry . The error is cannot find reference. Please
> advise.

Sounds like you have discover layouts yet.

Have read about them: https://doc.qt.io/qt-5/examples-layouts.html

Barry

> -- 
> https://mail.python.org/mailman/listinfo/python-list
> 


More information about the Python-list mailing list