摘要:
signal clicked MouseArea { anchors.fill: parent onClicked: { root.clicked() //传递信号给root console.log("MouseArea signal") } //绑定 信号到parent } onClicked: 阅读全文
摘要:
#-*-coding:utf-8 -*-import sysfrom PyQt5.QtWidgets import QApplication,QWidget,QLabelfrom PyQt5.QtWidgets import QMainWindow,QAction,qAppfrom PyQt5.Qt 阅读全文