User Tools

Site Tools


qt:wiring_up_signals_and_slots

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
qt:wiring_up_signals_and_slots [2011/04/03 13:06] mithatqt:wiring_up_signals_and_slots [2011/04/03 13:07] – [Recommendation] mithat
Line 122: Line 122:
  
 ==== Recommendation ==== ==== Recommendation ====
-While the [[#Create an "event handler"]] approach is the fastest, I think using the Qt Designer approach of [[#Do it "visually"]] is actually the best way to do this--using the Signal/Slot editor panel if needed to add custom slots to the forms. The downside to this is that you will have to hand code the custom slots. The upsides are that the connections are well documented and that this approach simplifies moving your program from C++ to some other language (Python, Ruby, Java, etc.).+While the [[#Create an "event handler"]] approach is the fastest, my current thinking is that using the Qt Designer approach of [[#Do it "visually"]] is actually the best way to do this--using the Signal/Slot editor panel if needed to add custom slots to the forms. The downside to this is that you have to hand-code the custom slots. The upsides are that the connections are well documented and that this approach simplifies moving your program from C++ to some other language (Python, Ruby, Java, etc.).
  
 ===== Runtime signal→slot connection modifications ===== ===== Runtime signal→slot connection modifications =====
 I don't know. But it should be possible. I don't know. But it should be possible.
qt/wiring_up_signals_and_slots.txt · Last modified: 2011/04/03 13:14 by mithat

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki