The Connection Editor Dialog (Edit Connections)

Figure 9-2. The connection editor dialog

This dialog is shown when you use the connection tool to connect two GUI elements together and have “drawn” a connection with the mouse. You can also open this dialog by clicking Edit in the connection viewer (see Section 7.3). See Section 3.2 for an introduction to how to use this dialog.

Signals

This list box shows all the signals of the outgoing GUI element, i.e., the element where you started to drag the mouse. Click on one of the signals to select it; this is the signal part of the connection.

Slots

This list box shows all the slots of the incoming GUI element, i.e., the element you released the mouse button over. Click on one of the slots to make a connection between the outgoing and the incoming GUI elements. Be careful: you makethe connection by just clicking on a slot — clicking does not just select the slot. You can, however, always remove a connection later.

Connections

This list box shows all connections that already exist between the outgoing and the incoming GUI element. The outgoing GUI elements, the signal name, the incoming GUI element, and the slot name are listed for each connection.

Connect

Click on this button to make a connection between the selected signal and the selected slot. Since clicking on a slot makes a connection, you only need this button if you operate the dialog from the keyboard.

Edit Slots

This button lets you edit an existing connection.

Disconnect

Removes the connection that is currently selected in the Connectionslist box.