I'm looking for a way to manage the complexity of multiple strung together signals that eventually reach the object that knows the addresses of all the qwidgets so as to be able to speak to them.
Some perspective:
Code:
Class MainWindow : ui_myUI { slot: myWidget->send(text); } private: MyClass containedObject; }; Class MyClass{ signal: private: My2ndClass containedObjectNumber2; }; Class My2ndClass { //I want to send text through myWidget. public: inline void sendText() { } signal: };
Can someone talk about how to deal with this without signaling, and relaying signals to slots?
I have been taking a look at postEvent(), but even there, how do you send an event to a specific widget if you don't know its address?