作者: 狐狸家的鱼

Github: 八至

1.防止鼠标穿透

MouseArea{
        anchors.fill: parent;
        onClicked: {};
        onReleased: {};
        onPressed: {};
    }

2.允许穿透,控件增加enable属性

 

相关文章:

  • 2021-11-26
  • 2021-10-30
  • 2021-09-19
  • 2022-12-23
  • 2021-06-08
  • 2021-11-05
  • 2022-12-23
  • 2021-11-21
猜你喜欢
  • 2022-12-23
  • 2022-02-01
  • 2021-05-19
  • 2021-06-18
  • 2021-05-31
  • 2022-12-23
  • 2022-01-16
相关资源
相似解决方案