Adding an inheritance to an Qt designed object

Posted by Jaguar on Stack Overflow See other posts from Stack Overflow or by Jaguar
Published on 2010-03-25T19:58:58Z Indexed on 2010/03/25 20:03 UTC
Read the original article Hit count: 176

Filed under:
|

Hello,

I have a problem and I want to implement the MVC pattern to my QT application, that's why I need for example to inherite in my QTableWidget about another class like

myClass
{
    myMethod();
}

but our QTableWidget is contained by our Mainwidows that is designed by the QT designer and generate an ui_MainWindow class !

Do you know how to do that ?

Is that a method inside the Qt Designer to do that ? or another method ?

Thank you for your answer !

© Stack Overflow or respective owner

Related posts about qt4

Related posts about c++