Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. pyqt5 application devlopement
Qt 6.11 is out! See what's new in the release blog

pyqt5 application devlopement

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 203 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    datnt2509
    wrote on last edited by
    #1

    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,

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved