Do not draw a QTableView



  • This post is deleted!


  • @dima_slon
    I may be misunderstanding, but I do not see where you are actually adding your text into the table in insertComponent()?

    this->insertRows(this->rowCount(), 1);
    

    This adds a new, blank row at the end of the table model. But you do not set that row to hold your component/text?



  • @JonB This adds a new, blank row at the end of the table model. But you do not set that row to hold your component / text?
    How to do it? I did not correctly understand what this function does, so if it's not hard for you. You can suggest how to insert text in the first free cell


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.