Hi,
Excuse my english, maybe I was not clear here.
What I am trying to do is to design the whole GUI with designer, generate a header file from the .ui file and sub class that header in another class to add custom SLOTS and processes.
So, I dont want to make any modification to the header generated by UIC.
My problem is that I dont find anywhere the proper way to sub-class QMainWindow, apparently.
To answer you questions:
- yes, it does work properly with Dialog
- the debugger refers to : QDirModelPrivate::restorePersistentIndexes () this is where it stops
By the way, if you use the "Trolltech" way for QMainWindow, ie the "application" example in the "examples" dir from the QT source, and open a "save as" dialog, it works !!!!
But once again, I need the sub classing approach, since I need to keep a way of maintaining my GUI with designer, I dont want to mess with the header file comming from the UIC.
So if you have an idea, I am really lost with that ....
Bookmarks