qt - I need to connect a ComponetA Signal to a method of another ComponentB -


i need create componentc dynamically when button of componenta clicked , componentc must created in componentb not accessible through id componenta.

so how realisable qml ?

thanks.

a signal can return object returned called slot:

int b::slot() {   return 12; }  void a::test() {   connect( this, signal(sig()), objectb, slot(slot());   int = emit sig(); // should equal 12 } 

but, don't know if it's expected behavior...


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -