I've got a class I've written, and I'm trying to connect it to Qt. I've got some "best practices" questions I hope you all can help me with.
When creating a mainWindow to contain data, I inherit the header file into my custom class specified above, so I can make use of the elements created within Qt Creator. Is this the proper way of doing things? I borrowed this idea from the second chapter of the official book Should I be making a NEW class that binds these together?
Inside of the class itself should I be strictly encapsulating data, or making it friendly to like-classes? Does this help with accessability?
Aside from the official book's chapter on MVC, and the on-line tutorial here, what are some other resources to a MVC newcomer in Qt?
Thanks in advance