Why should we need setEnabled(bool enabled) and setTouchEnabled(bool enabled) in the Widget Class?

setTouchEnabled(bool enabled) and setEnabled(bool enabled) have the same feature according to the annotations and codes. What’s the different and which one should we choose?


你好,我遇到了这个问题 如果你解决了 能不能跟我分享一下