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
qt:wiring_up_signals_and_slots [2011/04/03 13:13] mithatqt:wiring_up_signals_and_slots [2011/04/03 13:14] (current) mithat
Line 62: Line 62:
 There are a couple special cases that are worth mentioning. There are a couple special cases that are worth mentioning.
  
-Connecting to the window =+**Connecting to the window**
 If you want to connect a signal to the slot of a window, just drag onto the window rather than onto another widget. You will know you are connecting to the main window because the slot end of the connector will turn into an electrical earth ground symbol {{:qt:50px-earth_ground.svg.png?8|}} rather than an arrow. If you want to connect a signal to the slot of a window, just drag onto the window rather than onto another widget. You will know you are connecting to the main window because the slot end of the connector will turn into an electrical earth ground symbol {{:qt:50px-earth_ground.svg.png?8|}} rather than an arrow.
  
-Connecting a widget to itself =+**Connecting a widget to itself**
 You can also connect widgets to themselves. If you do this, you can set up all sorts of hilarity. Sometimes you can even do useful things. You can also connect widgets to themselves. If you do this, you can set up all sorts of hilarity. Sometimes you can even do useful things.
  
qt/wiring_up_signals_and_slots.1301836393.txt.gz · Last modified: 2011/04/03 13:13 by mithat

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki