ragnarius
ragnarius

Reputation: 5813

Where does Qt Designer store the signal to slot connections?

In Qt Designer, I have connected a pushButton to a slot. But where is this information stored? I cannot find it in the (xml) ui-file.

(In addition, I would like to remove the connection. How can I do that?)

Upvotes: 1

Views: 342

Answers (1)

Arpegius
Arpegius

Reputation: 5887

All slots that are named:

void on_<object name>_<signal name>(<signal parameters>);

are automatically connected to specified widget and signal, after the ui->setupUi method are called.

Upvotes: 3

Related Questions