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 |
Tags
- GIT
- 유니티
- 리눅스
- mssql
- Excel
- pandas
- 맛집
- node.js
- swift
- MySQL
- urllib
- 날짜
- PER
- MS-SQL
- sqlite
- tensorflow
- javascript
- Linux
- Unity
- IOS
- PyQt5
- port
- ASP
- python
- 함수
- PyQt
- ubuntu
- 다이어트
- 라즈베리파이
- flutter
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