Python GUI Development Using PyQt5

Sdílet
Vložit
  • čas přidán 26. 07. 2024
  • In this video we learn how to develop graphical user interfaces in Python, by using PyQt5.
    ◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
    📚 Programming Books & Merch 📚
    🐍 The Python Bible Book: www.neuralnine.com/books/
    💻 The Algorithm Bible Book: www.neuralnine.com/books/
    👕 Programming Merch: www.neuralnine.com/shop
    🌐 Social Media & Contact 🌐
    📱 Website: www.neuralnine.com/
    📷 Instagram: / neuralnine
    🐦 Twitter: / neuralnine
    🤵 LinkedIn: / neuralnine
    📁 GitHub: github.com/NeuralNine
    🎙 Discord: / discord
    🎵 Outro Music From: www.bensound.com/
    Timestamps:
    (0:00) Intro
    (0:55) Coding The GUI
    (10:10) QtDesigner
    (21:36) Outro
  • Věda a technologie

Komentáře • 97

  • @akshatdodhiya
    @akshatdodhiya Před 2 lety +26

    Creating UI using Qt designer is so simple, it blew my mind!
    Wish I knew it before. Nice video!

  • @LordDestrojer
    @LordDestrojer Před 10 měsíci +2

    Love your speed. You can put so much stuff into 20 minutes. Thank you

  • @rabiumuhammedeffect423
    @rabiumuhammedeffect423 Před 2 lety +6

    INDEED, I LOVE EVERYTHING IN THIS CHANNEL, THAT'S WHY I NEVER MISS.
    THANKS SO MUCH.

  • @rtr195807
    @rtr195807 Před 2 lety +1

    Always a pleasure!

  • @lpqocqeeinem2692
    @lpqocqeeinem2692 Před 2 lety +24

    For those who are having problems with the GUI closing by itself, you should check your code because instead of raising an exception the GUI will just terminates itself whenever there is an error

  • @MMKurdia
    @MMKurdia Před rokem

    Amazing and easy to follow video!
    I love it!

  • @royz_1
    @royz_1 Před 2 lety +28

    I avoided implementing GUI in my python projects as much as possible because how horrible it is to work with tkinter.
    After watching this, it blew my mind how easy it is to create an awesome GUI using PyQt5. I will probably end up adding GUI to my client projects more than I should from now on.

    • @azkaarkhatib
      @azkaarkhatib Před rokem +2

      My situation exactly!

    • @katersaid11
      @katersaid11 Před rokem +7

      I recommend pyside2 because it is practically just pyqt but with a better licence.
      PyQt5 is GPL licensed, PySide2 is LGPL
      This means that with PyQt5 you would have to provide your source code to your client, whereas with PySide2 you don't have to.

    • @CubingBones
      @CubingBones Před rokem +1

      I used to use ttk but i moved to customtkinter

  • @nguyentai9140
    @nguyentai9140 Před 2 lety

    Thanks for your video! It's really useful

  • @craighansen2818
    @craighansen2818 Před 2 lety

    Great video, thank you!

  • @uday-xyz1523
    @uday-xyz1523 Před 2 lety +1

    Thanks for this video 😄

  • @BobbyTomMathew
    @BobbyTomMathew Před 11 měsíci

    OMG. I didn't know you wrote the Python Bible. I just got it yesterday on Amazon.

  • @yasir45982
    @yasir45982 Před 5 měsíci

    thnx for this video, it was so helpful for my school project

  • @charlesspringer4709
    @charlesspringer4709 Před měsícem

    I needed this. (Hot tip: Never use the word "what" unless you are asking a question. You can train yourself and never say "what I'm gonna do is I'm gonna" and its relatives again.)

  • @Pelek495
    @Pelek495 Před rokem

    That intro is fire

  • @allannortje6440
    @allannortje6440 Před rokem

    Awesome !

  • @hexa3333
    @hexa3333 Před 2 lety +1

    Thank you so much!

  • @18lan
    @18lan Před 5 měsíci

    Thank you very much for the great video :)

  • @thewu32
    @thewu32 Před rokem

    Just amazing!!! 😇😇😲😲🤩🤩🤩

  • @Blindmin
    @Blindmin Před rokem

    finally a non qt-designer tutorial why did it take me so long to find this lol

  • @jacktinney
    @jacktinney Před rokem

    super helpful thank you

  • @WahreZocker
    @WahreZocker Před rokem

    brr i love all your videos thxxx!

  • @germanbrunini5204
    @germanbrunini5204 Před rokem

    pure gold!

  • @bachelorscookery7984
    @bachelorscookery7984 Před 4 měsíci

    Thankyou very much
    Very useful

  • @gopalrathi901
    @gopalrathi901 Před 2 lety

    this guy is so underrated

  • @giuseppeciccone6946
    @giuseppeciccone6946 Před 2 lety +13

    Could you make a video on how to use PyQt5/Designer in order to make a scientific GUI? ie a GUI in which you can upload data, graph data etc.? This would be super useful! I cannot find any resources on this specific application of GUIS in Python online.

    • @Volodymyr_Honcharov
      @Volodymyr_Honcharov Před 2 lety +3

      Maybe you should use for this DearPyGui that includes a plotting API (ImPlot Wrapping).

  • @eduardotejeda
    @eduardotejeda Před 2 lety

    🔥🔥🔥

  • @mcasualjacques
    @mcasualjacques Před rokem

    hi there, any idea why after 2 or 3 Designer sessions, the Designer's own [ File Edit View Tools.... ] menu bar stopped working? i uninstalled, re-installed rebooted.

  • @anthonywoods2550
    @anthonywoods2550 Před rokem

    Thank you, Good Instructions. I am running VS Professional 2022. Is there a way to not display console when I run program?

  • @CaratacusAD
    @CaratacusAD Před 2 lety +2

    Reminds of visual basic :)

  • @gowthamvideos4713
    @gowthamvideos4713 Před rokem

    thanks u for this

  • @dmitry_belonozhko
    @dmitry_belonozhko Před rokem

    Super. Like.

  • @parthbansal2775
    @parthbansal2775 Před 2 lety +1

    What pycharm theme do you use? It looks sick

  • @DeezyDwarf
    @DeezyDwarf Před 11 měsíci

    what about threading ?
    im trying to connect to eCAT devices using PYSOEM and its hard to understand how to work properly with signals and QThreads.

  • @vladimirsherman6883
    @vladimirsherman6883 Před rokem

    Thank you

  • @LascelleMckenzie
    @LascelleMckenzie Před 2 lety

    Nice🤙

  • @kamisema
    @kamisema Před 10 měsíci

    Thank you so much. the design part remind me the visual basic which we had in school time. also the question that I have is that can we use this framework and Qt design to build a mobile Apps ?. thank you.

  • @daizwap9454
    @daizwap9454 Před 2 lety

    Thanks

  • @mimurajam1501
    @mimurajam1501 Před 2 lety +15

    how do you know exactly what I need????

    • @NeuralNine
      @NeuralNine  Před 2 lety +11

      I am a medium

    • @hiwab41
      @hiwab41 Před rokem

      why do you need this? i want to know.

    • @rjh7728
      @rjh7728 Před rokem

      I was thinking the same thing!

  • @brutal3369
    @brutal3369 Před rokem

    I thought it was hard but it's actually pretty easy

  • @kemar3789
    @kemar3789 Před 8 měsíci

    I have a question?
    How does 1 convert these files to .apk in order to run my own code on my mobile for testing

  • @clh6879
    @clh6879 Před rokem +4

    Why might it be that on my PyCharm I get unresolved attribute reference warnings for the buttons and textboxes within the class definition? It bothers me quite a bit.

    • @mateuszrosiek1668
      @mateuszrosiek1668 Před rokem

      Im bumping this question up. Im wondering how to fix this? I see you are using tabnine, is it why you are not receiving warnings? Do suggestions what methods that unresolved objects have is caused by that extension?
      PS. Great video 👍

  • @alexd3gv14
    @alexd3gv14 Před 2 lety +1

    Can a android app be built using PyQt5 and the designer?

  • @rodrigocerna5756
    @rodrigocerna5756 Před 2 lety

    Make a video explaining DeepFake please!

  • @sabyasachimaity8903
    @sabyasachimaity8903 Před rokem +1

    For once, the software is actually really useful

  • @sg8nj
    @sg8nj Před 5 měsíci

    Can we create here one console and execute python or any language script on this gui?

  • @user3027
    @user3027 Před rokem

    I built a gui desktop app in java as a school project. It fetched information from a radio website about different timetables and programs. It was actually quite easy and fun. We used the MVC design pattern and put the GUI on its own thread so it wouldn't hang. Would you recommend the same strategy for python programs that are a bit beyond basic beginner level?

    • @user3027
      @user3027 Před rokem

      @D R Yes, thanks! Sounds like something I'm gonna try!

  • @Kabanoooo
    @Kabanoooo Před rokem

    i installed pyqt5 (via cmd) but when i try to code something it still shows me that ModuleNotFoundError: No module named 'PyQt5', even when i check in cm if its installed it shows me that it is :/

  • @Shrek-iv8gu
    @Shrek-iv8gu Před 2 lety

    Im using Visual Studio for my editor and every time i run the file it opens a box for a second but instantly closes it

  • @Frank78565
    @Frank78565 Před rokem

    anyone when they type from PyQt5.QtWidgets import * I am getting an error saying No Module named PyQt5. I have checked it is installed what else could be in the way?

  • @SusanAmberBruce
    @SusanAmberBruce Před rokem

    This video has captured my interest, and I am wondering if pyQt5 scores over tkinter with things like validating input, binds, variables and the things that tkinter is not so brilliant at

    • @hiwab41
      @hiwab41 Před rokem

      you mean events right?

  • @flamethekid
    @flamethekid Před rokem

    how do you get the designer? when I look up the designer its just a website that offers it for $300 a month

  • @vincent-ox5rz
    @vincent-ox5rz Před 2 lety +1

    10:23 reminder ;)

  • @ln5185
    @ln5185 Před rokem

    Your name is Flowers? :D

  • @ruxxuc2091
    @ruxxuc2091 Před 2 lety

    gtk+ vs qt5 ??

  • @edmel144
    @edmel144 Před 6 měsíci +1

    20:28 I was sooo triggered

  • @VypeReaper
    @VypeReaper Před 2 lety +1

    Great vid! I am learning Python, is there a reason for line# 3? What does it do? at 2:00
    Also the Discord link is not working! :)
    Thanks again for the awesome vids!

    • @littricks3631
      @littricks3631 Před rokem

      if you import that script from another script and call main or other functions of the same script,it just won't work

    • @SHONNER
      @SHONNER Před 10 měsíci

      That line tells the python script to execute only if it is the main program (either double clicked on or ran from a CMD or Terminal prompt) and not if it's an imported python script. If this script was imported by another Python program, it would not auto-execute after importing. This is best practice. Typically, imported Python scripts are not meant to execute when imported. Only executed when made calls to.

  • @dhanviner1983
    @dhanviner1983 Před rokem

    what is the use of a lambda function?

    • @akalabayapal9634
      @akalabayapal9634 Před 4 měsíci +1

      it helps to call the function provided in it with parameters.

  • @krishna290gamer2
    @krishna290gamer2 Před rokem +1

    Give me 1 reason not to using tkinter or customtkinger over PyQt5

  • @ayushmishra6077
    @ayushmishra6077 Před 2 lety

    me using ursian and in 2 line i have window

  • @alien_X1
    @alien_X1 Před 2 lety

    tkinter or pyqt5 which is best

    • @atlantic_love
      @atlantic_love Před rokem

      You can find gozillions of websites that compare this or that.

    • @gr3gtf2
      @gr3gtf2 Před rokem

      pyqt5
      it has a literal designer unlike tkinter

  • @ahmedgamberli2250
    @ahmedgamberli2250 Před 2 lety

    6th comment!

  • @shourya9998
    @shourya9998 Před 2 lety

    first 🙂

  • @wartem
    @wartem Před rokem

    Why use PyQt instead of PySide ? Licensing is better with PySide, otherwise more or less identical. Only a few changes in syntax. So why is anyone using PyQt I wonder.

    • @atlantic_love
      @atlantic_love Před rokem

      Because PyQt is older and more mature, better supported, better documentation. PySide is a wrapper to PyQt, yes?

    • @wartem
      @wartem Před rokem

      @@atlantic_love Qt itself is developed as part of the Qt Project and Pyside is made by The Qt Company.
      The Qt Company is responsible for Qt development, productization and licensing under commercial and open-source licenses. It oversees the development of its Qt application framework within the Qt Project.
      PyQt was developed by Riverbank Computing Limited.

  • @blitzpark1250
    @blitzpark1250 Před 2 lety

    How efficient is this?

    • @NeuralNine
      @NeuralNine  Před 2 lety

      what do you mean by efficient?

    • @blitzpark1250
      @blitzpark1250 Před 2 lety

      @@NeuralNine i mean if it is memory hungry or leaks memory

    • @fus3n
      @fus3n Před 2 lety +1

      @@blitzpark1250 it will be on python you dont have to worry about that but you want to convert it to exe it loads the gui really slow

    • @blitzpark1250
      @blitzpark1250 Před 2 lety

      @@fus3n makes sense

  • @linkstart1424
    @linkstart1424 Před 2 lety

    like 10

  • @TheEnderOcelot
    @TheEnderOcelot Před rokem

    there was 68 comments i had to...

  • @Zak-l7e
    @Zak-l7e Před rokem +5

    i wonder why programmers are making it hard for themselves, having to code a GUI instead of drag and drop, PyQt5 saved me tones of hours and better GUI, i think it is time to move away from hard coding GUI to using Designer Studios for your GUI, in the years to come, TKinter and the like will be like looking at cobol or pascal code now. thank you for the video very informative by the way

    • @atlantic_love
      @atlantic_love Před rokem

      History has shown us that WYSIWYG's are far more trouble than they're worth.

    • @yuukisieq942
      @yuukisieq942 Před rokem +2

      Actually there is something called Proxlight designer.
      You can design interface in figma by drag and drop and then proxlight converts it to tkinter code

    • @privacyhelp
      @privacyhelp Před 4 měsíci +1

      the problem is those drag and drop programs are bloated and produce too much unnecessary code lines

    • @thelavagod
      @thelavagod Před 3 dny

      The problem with drag and drop programs is they produce way tooo much lines of code. For example if you drag a button and it is colored white by default the drag and drop will just do something like "Button.Color = white" even though it's already defaulted to white

  • @s.aravindh6227
    @s.aravindh6227 Před 2 lety

    No vedio 🙂🙂🙂🙂🙂🙂