Notice
Recent Posts
Recent Comments
Link
아미(아름다운미소)
Python PyQt5 click action on Qwidget 본문
Python PyQt5 click action on Qwidget
'''
Created on 2018. 12. 10.
@author: bhm
'''
from PyQt5.QtWidgets import (QWidget, QApplication)
import sys
class MyWidget(QWidget):
def mousePressEvent(self, event):
print("clicked")
app = QApplication(sys.argv)
widget = MyWidget()
widget.show()
app.exec_()
'랭귀지 > python' 카테고리의 다른 글
| Python PyQt5 messagebox (0) | 2018.12.17 |
|---|---|
| Python PyQt5 QtSql 사용예 (0) | 2018.12.14 |
| Python PyQt5 QInputDialog 다이얼로그 팝업창 띄우기 (0) | 2018.12.12 |
| Python PyQt5 submenu (0) | 2018.12.11 |
| python CSV 파일 쓰기 (0) | 2018.12.09 |
Comments