i am new to PyQt and still bit confused anyhow. I have a text file structure like this:
- Name Surname Telephone Email
Where spaces are actually tabs " \t " now when i read this file whit my method i wish to populate the QTable Widget.
My QTable Widget has 4 columns called Name
, Surname
, Telephone
, Email
now it has no rows but as I read lines from the file and split each line by tabulator I wish to add a new row that in each column contains whatever was in the line.
Could someone point me in the direction how to go about this because I cannot find a solution or a method offered by QTable Widget that allows you to this.