
이번은 이제까지 공부한 위젯 몇 개를 함께 사용해 보도록 하자. QPushButton, QLineEdit, QLabel를 사용하였다. QLineEdit 위쳇으로 입력을 받은 내용을 QLabel 위젯에 표시하는 프로그램이다, 문자열의 치환은 QLineEdit 입력창에서 엔터를 입력하는 경우와 옆의 QPushButton을 누르는 경우에 빌생한다. 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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 import sys from PyQt5.QtWidgets import * class My..
Python/PyQt5
2019. 11. 30. 17:53
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- python3
- 리찬규
- MacOS
- PyQt5
- QLineEdit
- 소수
- 북한말
- BOJ
- Tistory
- 백준
- baekjoon
- C
- django
- NK
- setText()
- QLabel
- words
- books
- Python
- Mac
- locallibrary
- 유래
- QGridLayout
- 어원
- QtDesigner
- QComboBox
- tips
- judge
- word
- 리규찬
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함
04-18 00:45