Hi,
Have I to create a Model for every "myClass" instance and change the model of the view?
Thanks,
Hi,
Have I to create a Model for every "myClass" instance and change the model of the view?
Thanks,
Òscar Llarch i Galán
Hi,
I don't know where to start.
I have a class "CTool" that have a "QList<CParameter>". Each parameter can store "int", "double" or "QString" depending on its type. The "CTool" objects are created dynamically and also can be deleted.
I want to create a Model that have two columns, first one "parameter name" and the second one "value".
When I create a "CTool" object I have also to create a model that represent it, right? Where I create it? Have I to create a "CToolModel" into the "CTool" class?
I'm reading the docs and don't know how to do this.
Thanks,
Òscar Llarch i Galán
Bookmarks