Вопрос

Is there a way to disconnect a Qt signal only temporarily, but store a list of the objects connected to it, so the signal can later be reconnected to them?

Это было полезно?

Решение

http://qt-project.org/forums/viewthread/6820

This post discusses ways to keep track of the list of connections to a particular signal which could be used for reconnecting it after disconnect is called.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top