qt:wiring_up_signals_and_slots
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
qt:wiring_up_signals_and_slots [2011/03/31 13:06] – [Do it in the constructor] mithat | qt:wiring_up_signals_and_slots [2011/03/31 15:02] – mithat | ||
---|---|---|---|
Line 3: | Line 3: | ||
===== Creating signal→slot connections ===== | ===== Creating signal→slot connections ===== | ||
Qt uses a signals and slots system to process events. If you use Qt Creator for development, | Qt uses a signals and slots system to process events. If you use Qt Creator for development, | ||
- | * Create an "event handler" | + | * [[#Create an "event handler" |
* Do it " | * Do it " | ||
* Do it in the *.ui file | * Do it in the *.ui file | ||
Line 29: | Line 29: | ||
=== Behind the scenes === | === Behind the scenes === | ||
How does the build system know that that '' | How does the build system know that that '' | ||
+ | == Question == | ||
+ | If the above is true, then it should be possible to create event handlers just by writing code. Two tests are indicated: | ||
+ | * Write the handlers manually in Qt Creator. | ||
+ | * Write the handlers manually in a project managed by something other than Qt Creator. | ||
==== Do it " | ==== Do it " |
qt/wiring_up_signals_and_slots.txt · Last modified: 2011/04/03 13:14 by mithat