Thanks alot for the advice! When I get a chance I'll try what you suggested.
Thanks alot for the advice! When I get a chance I'll try what you suggested.
That's about the first time I see an application being derived from QApplication. I wonder if you really need to subclass QApplication for your purposes. Maybe you should consider deriving from QWidget, QMainWindow or QDialog instead.
Well, I'm not sure either. This design was suggested to me by my boss, who has much more experience than me. I think its mainly for clarity, as this is going to be a casino game with several applications starting and quitting. But I will keep your suggestion in mind...do you think it would help solve my current problem?
No, as I told you, your problems are with the signals and slots, not with the way you implemented your application.
Anyway, momesana was right. You usually subclass QApplication of you really need to override some of its functionality.
For interfaces, main windows, widgets and/or dialogs are used.
Regards
Bookmarks