Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

pyqt5 application devlopement



  • Hi,

    I am new to pyqt and trying to develop one simple pyqt5 application,
    in which I want to create table with four columns, and one button,
    after push on that button the data (generating random numbers) should
    be filled in table cells one by one.

    I am developing same with pyqt5 module of python3.
    Currently I am able to load the data to table all at one time using
    insertRow() method of tableView,
    But as this method inserts a complete row instead of one element.

    So, I tried creating table with fixed no of rows and setting the value
    to the cells using self.tableWidget.setItem() of tableWidget.
    This also setting the values all at same time, which I don't want.

    I tried creating thread class, but failing to achieve.

    I am not getting way to how load values to table cells one by one
    after only one click to button.

    Any suggestions would be greatly appreciated.

    Thanks & regards,


Log in to reply