Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | |||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- PER
- node.js
- 함수
- mssql
- 맛집
- PyQt5
- tensorflow
- swift
- Linux
- GIT
- Excel
- flutter
- MS-SQL
- 리눅스
- MySQL
- PyQt
- port
- python
- IOS
- 유니티
- javascript
- sqlite
- 라즈베리파이
- pandas
- urllib
- 날짜
- ASP
- ubuntu
- Unity
- 다이어트
Archives
아미(아름다운미소)
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