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

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

#1

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?


#2


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