Advertisement
programusy

kod python oienka

Feb 5th, 2023 (edited)
19
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. import sys
  2. import PyQt5
  3. from PyQt5.QtGui import QFont
  4. from PyQt5.QtWidgets import QApplication,QWidget,QLabel,QTextEdit
  5.  
  6. app=QApplication(sys.argv)
  7. widget=QWidget()
  8. widget.resize(400,400)
  9. label=QLabel(widget)
  10. label.setFont(QFont("arial",20))
  11. label.setText("*******************************\n*Oskar Staiński *\n*Nr telefonu: 213 742 051 *\n*Adres: Lipinki Luzyckie *\n*Ul: Laczna 48 *\n********************************")
  12. label.setGeometry(20,0,400,400)
  13. textbox=QTextEdit("Nowy numer telefonu",widget)
  14. textbox.setReadOnly(True)
  15. textbox.setGeometry(180,300,150,20)
  16. textbox.setFont(QFont("arial",12))
  17. label1=QLabel(widget)
  18. label1.setText("Wpisz numer telefonu")
  19. label1.setFont(QFont("arial",12))
  20. label1.setGeometry(10,260,200,100)
  21.  
  22.  
  23.  
  24.  
  25. widget.show();
  26. app.exec();
  27.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement