I have to preference this with I'm still a beginner/intermediate to Qt however I am beginning to do more advanced applications. One thing I'm beginning to realize is that lots of code could potentially be placed in the derived class of yours that represents the QMainWindow.
This is what I mean....Right now I have a QTabWidget and a QDockWidget. Each one of those controls get stuffed into the main Ui class so if say i had 10 buttons on each tab and I had 10 Tabs that would be 100 potentially separate functions (slots) for handling them. Same goes for the QDockWidget.
Am I wrong in this or is there a way to segment up your code so you don't end up with just one huge 5000 line file. I guess I'm coming from an MFC background where each Tab of the Tab control would be a separate derived class.
Thanks in advance!
Bookmarks