does there exists any sofware to manipulate/view signals/slots in graphical view?
does there exists any sofware to manipulate/view signals/slots in graphical view?
Re: does there exists any sofware to manipulate/view signals/slots in graphical view?
Define "manipulate". Qt Designer has a connection editor.
Re: does there exists any sofware to manipulate/view signals/slots in graphical view?
Quote:
Originally Posted by
wysota
Define "manipulate". Qt Designer has a connection editor.
but using Designer-qt4 signal/slots editor I can't connect signals to slots outside .ui object, for example I can't even add custom function(slot) to button clicked() signal, I only can add default slots from other widgets.
And it would be very nice to edit signal/slots in graphical view(not by hand code) to all Qt objects(for example QThread, etc), not only .ui objects.
Re: does there exists any sofware to manipulate/view signals/slots in graphical view?
Designer operates on forms. The rest is pure hand written code. Designer has no knowledge of it, so it won't allow any "graphical" way of connecting signals and slots that were not even defined yet.
Re: does there exists any sofware to manipulate/view signals/slots in graphical view?
Quote:
Originally Posted by
wysota
Designer operates on forms. The rest is pure hand written code. Designer has no knowledge of it, so it won't allow any "graphical" way of connecting signals and slots that were not even defined yet.
Ok, understood, it would be not as simple to do that as I expected, I confused objects with classes.
Re: does there exists any sofware to manipulate/view signals/slots in graphical view?
I guess one could make a tool that would scan class headers to look for signals and slots and then allow generating code for connecting them. But it's a tricky thing and would be prone to errors. It's much simpler to use the auto-connect feature to connect signals and slots according to object names.