StackView {
          id: stackview
          anchors.fill: parent
          initialItem: "qrc:/main/Default.qml"
          focus: true
          Keys.enabled: true
          Keys.onBackPressed: {
              event.accepted = true;
              if((appIdentity === 0 & depth === 2) | (appIdentity === 1 & depth === 4))
              {
                    mainMessage.showMessage();
              }
              else
              {
                pop();
              }

          }
}

相关文章:

  • 2022-12-23
  • 2021-05-30
  • 2021-10-10
  • 2021-08-02
  • 2021-09-25
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-13
  • 2022-12-23
  • 2022-12-23
  • 2022-02-25
  • 2021-10-24
相关资源
相似解决方案