How to process signals in a Qt subclass?

前端 未结 3 1672
生来不讨喜
生来不讨喜 2021-01-11 17:17

How do I process a signal of in a subclass? Let\'s say my subclass is derived from QTextEdit and is interested in the signal textChanged. It seem

3条回答
  •  情话喂你
    2021-01-11 17:59

    Maybe it seems silly, but that's the way I did it : connecting my derived class to the signal emited by the parent class.

    But I'm interested if there are any other solutions !

提交回复
热议问题