> On 31 Jan 2020, at 03:38, Souvik Dutta <souvik.vik...@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 > -- https://mail.python.org/mailman/listinfo/python-list