Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import sys
- import PyQt5
- from PyQt5.QtGui import QFont
- from PyQt5.QtWidgets import QApplication,QWidget,QLabel,QTextEdit
- app=QApplication(sys.argv)
- widget=QWidget()
- widget.resize(400,400)
- label=QLabel(widget)
- label.setFont(QFont("arial",20))
- label.setText("*******************************\n*Oskar Staiński *\n*Nr telefonu: 213 742 051 *\n*Adres: Lipinki Luzyckie *\n*Ul: Laczna 48 *\n********************************")
- label.setGeometry(20,0,400,400)
- textbox=QTextEdit("Nowy numer telefonu",widget)
- textbox.setReadOnly(True)
- textbox.setGeometry(180,300,150,20)
- textbox.setFont(QFont("arial",12))
- label1=QLabel(widget)
- label1.setText("Wpisz numer telefonu")
- label1.setFont(QFont("arial",12))
- label1.setGeometry(10,260,200,100)
- widget.show();
- app.exec();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement