input(2)
-
[PyQt5] TextEdit 이용하여 Text 입력 받기 + (LineEdit과 차이점) (How to use TextEdit?) [10]
[ PyQt5 ] 이번 포스팅은 QTextEdit을 이용하여 입력된 Text를 받아오는 방법에 대해서 포스팅을 하겠습니다 TextEdit은 LineEdit과 유사 하지만 두 Edit의 명확한 차이는 TextEdit은 텍스트를 입력할때 개행을 할 수 있지만, LineEdit은 텍스트를 입력할때 개행을 할 수 없습니다. 해당 포스팅은 아래 링크 자료의 코드를 참고하여 작성하였습니다 https://mr-doosun.tistory.com/31 [PyQt5] LineEdit 이용하여 Text 입력 받기 (How to use LineEdit?) [9] [ PyQt5 ] 이번 포스팅은 QLineEdit을 이용하여 입력된 Text를 받아오는 방법에 대해 포스팅을 하겠습니다. QLineEdit은 보통 개행이 필요없는 텍..
2021.07.25 -
[PyQt5] LineEdit 이용하여 Text 입력 받기 (How to use LineEdit?) [9]
[ PyQt5 ] 이번 포스팅은 QLineEdit을 이용하여 입력된 Text를 받아오는 방법에 대해 포스팅을 하겠습니다. QLineEdit은 보통 개행이 필요없는 텍스트를 입력받을때 많이 사용됩니다. 우선 메인 윈도우를 구성해줍니다. 이번 포스팅은 이해를 돕기위해, Label, Button을 추가로 사용되었습니다 def setupUi(self): self.setWindowTitle('LineEdit') self.resize(300, 300) self.line_edit = QLineEdit(self) self.line_edit.move(75,75) self.text_label = QLabel(self) self.text_label.move(75, 125) self.text_label.setText('hel..
2021.07.25