I have this Design issue with my Qt app.
The two modules were created independently, and thus two "main.cpp" files. This helped us test the working independently.Module 1:
controller.h
controller.cpp
controller_main.cpp
Has 4 buttons.
//signal slots disabled...just display
Module 2:
MyInterface.h
MyInterface.cpp
myinterface_main.cpp
//has signals and slots, w.r.t. the buttons in the interface.
Has 4 interfaces (i.e 4 MyInterface objects), one for each button (w.r.t. module 1)
Now what I am not able to figure out is this:
Without using aggregation (i.e. declaring MyInterface objects in Controller) how do I activate the signals/slots,
s.t. when a button is clicked in Module 1, the Corresponding interface designed in module 2 should be invoked.
ummm I am quite
I'll appreciate your help
Thanks
Nupul
Bookmarks