|
To connect the signal to the slot, we use QObject::connect(). There are several ways to connect signal and slots. The first is to use function pointers: connect(sender, &QObject::destroyed, this, &MyObject::objectDestroyed); To begin connecting objects, enter the signals and slots editing mode by opening the Edit menu and selecting Edit Signals/Slots, or by pressing the F4 key. All widgets and layouts on the form can be connected together. However, spacers just provide spacing hints to layouts, so they cannot be connected to other objects. |
|||||
Chip Romig, MMR 423 |
||||||
sitemap endereço:Travessa Miralva Sarafim,11- Fazenda Coutos, Salvador BA Brasil Contate-nos:+55 31 932187079Uncle
Dudes Web Shop
|