Important: Please read the Qt Code of Conduct -

[solved] parentwidget problem

  • I have an QDockWidget and I have an QTableView in my dockwidget.
    In title of QDockWidget there is a QLineEdit. I'd like to reach this lineedit from my tableview:


    But I have no parent :(
    How can I reach the parent (or rather my lineedit)?

  • Why can't you introduce them to each other in the class where you add both?

  • Sorry, my fault was :)
    I put into the child wrong class type...

Log in to reply