Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Python PyQt5 setup a basic GUI Application! ๐Ÿ–ฅ๏ธ
Play lesson

Python tutorial for beginners ๐Ÿ - Python PyQt5 setup a basic GUI Application! ๐Ÿ–ฅ๏ธ

4.0 (0)
8 learners

What you'll learn

This course includes

  • 14.3 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

#python #pythonprogramming #pyqt5 00:00:00 intro 00:00:12 pip install PyQt5 00:00:46 imports 00:01:35 boiler-plate code 00:05:26 .setWindowTitle() 00:05:57 .setGeometry() 00:07:28 icons # PyQt5 introduction import sys from PyQt5.QtWidgets import QApplication, QMainWindow from PyQt5.QtGui import QIcon class MainWindow(QMainWindow): def __init__(self): super().__init__() self.setWindowTitle("My cool first GUI") self.setGeometry(700, 300, 500, 500) #self.setWindowIcon(QIcon("profile_pic.jpg")) def main(): app = QApplication(sys.argv) window = MainWindow() window.show() sys.exit(app.exec_()) if __name__ == "__main__": main()

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere