PyQt5 Designer + Python Stacked Widget Walkthrough

Поділитися
Вставка
  • Опубліковано 14 жов 2024

КОМЕНТАРІ • 46

  • @peekaboo6026
    @peekaboo6026 3 роки тому +2

    Ohhh myy God. I can't thank you enough bro... I looked entire youtube for this video.
    You saved my calculator multi window project

  • @filmingle6227
    @filmingle6227 2 роки тому +2

    Loved this vid! You are a great programmer, thought-through and well-explained videos. Thank you for this. Subscribed with all notificaions.

  • @josemadarieta865
    @josemadarieta865 3 роки тому +1

    i just spent 50 bucks on a book and udemy courses for this exact use case. subscribed

    • @JekyllHydeTutorials
      @JekyllHydeTutorials  3 роки тому

      I will push out a little more content in the coming while. Just hope it helps.

  • @hisheighnessthesupremebeing
    @hisheighnessthesupremebeing Рік тому +1

    @JekyllHydeTutorials .. why did you start with a "Main Window" and remove the menubar and statusbar instead of starting with a "Widget"?

    • @JekyllHydeTutorials
      @JekyllHydeTutorials  Рік тому

      Force of habit that one!

    • @hisheighnessthesupremebeing
      @hisheighnessthesupremebeing Рік тому

      @@JekyllHydeTutorials ah ok.. I am new to all this gui stuff so I thought that there might be som reason for doing it this way .. maybe som extra stuff happening hidden in the background.... anyway thanks for the reply

  • @jsctohfish293
    @jsctohfish293 2 роки тому +1

    hello sir, i have 1 trouble when working with QStackedWidget, i can't align it to center, for details I have a Frame, I put Labels and Widgets in it and they're all center align, but when i add QStackedWidget, itself and all my labels has been aligned to top-left, please help me
    thank you very much

  • @madjiddjennane7788
    @madjiddjennane7788 3 роки тому +2

    thank's for the video. It was very useful. i want to ask you a question, if i want to divide my app to several classes that correspond to each widget (blue, red, yellow) how could i perform that ?

  • @ministawilly
    @ministawilly Рік тому

    This really helped. Thank you! You just earned a follower 🎉

  • @王冠信-o1c
    @王冠信-o1c 3 роки тому +1

    Hi, thank you so much for the tutorial for the stacked widget. I have a question, though.
    Is that the convention to convert the UI file into a py file, and import it into the coding file? Thanks.
    Since I could do like this without convertion:
    ```
    from PyQt5.uic import loadUi
    class MainWindow(QMainWindow):
    def __init__(self):
    super(MainWindow, self).__init__()
    self.ui = loadUi('stack_widget.ui',self)
    self.ui.stackedWidget.setCurrentWidget(self.ui.home)
    ```
    The rest of the code would be the same.

  • @lynx0001
    @lynx0001 3 роки тому +1

    can i put buttons on stacked widget and change page on these buttons? btw very useful and good video and i like your desktop, maximum of minimalism, love that

    • @JekyllHydeTutorials
      @JekyllHydeTutorials  3 роки тому +1

      Anything on the stacked widget can be programmed to perform a function. Just need to be mindful, that if you are using the functionality of the stacked widget for a menu, you need a way to get the menu visible again.
      I stripped the desktop back a while ago. I run a series of images now rather than the plain black but for a time there it was my favourite!

  • @rithika6077
    @rithika6077 4 роки тому +1

    So I have a few push buttons on one page of the stacked widget and When it is clicked I want another page to get displayed. I have tried every possible method, it doesn't seem to be working.

    • @JekyllHydeTutorials
      @JekyllHydeTutorials  3 роки тому

      A couple of options. Specifically I would start by looking at making sure that the names of the widget pages match the section in your code.

    • @RakaZet
      @RakaZet 3 роки тому

      Hi, did you manage to find the solution? I'm having the exact same problem.

  • @prashkd7684
    @prashkd7684 3 роки тому +1

    I like the way Australians explain things.

  • @sarimbinwaseem
    @sarimbinwaseem 2 роки тому

    Great video so far but I am really itching to comment that hopefully you have learned that arrow keys and tab are your best friends when typing commands... BTW really helpful video...

  • @enacheandrei7932
    @enacheandrei7932 4 роки тому +1

    Mate, I really hope you get more views. Cheers!

  • @johnemanuelalamares2206
    @johnemanuelalamares2206 3 роки тому +2

    u deserve more subs

  • @tomh12341
    @tomh12341 Рік тому

    if i want to connect a tool bar icon to move between pages the concept will be the same?

  • @RiadhBoutarfa
    @RiadhBoutarfa 3 роки тому

    New subscriber!
    Thanks a lot, keep up the good work.

  • @AntonioRodriguez-fv6vt
    @AntonioRodriguez-fv6vt 4 роки тому +1

    Very useful! Thank you mate

  • @DannielaPintoD
    @DannielaPintoD 4 роки тому +2

    the best tutorial

  • @GoodBoyDanny
    @GoodBoyDanny 4 роки тому

    this is great although I am getting weird error with PyQt5.QtWidgets no name in the module

    • @JekyllHydeTutorials
      @JekyllHydeTutorials  4 роки тому

      Potentially a couple of different issues here.
      Could be that the way you are referencing the packages doesn't align between how they're imported and how they're called in the code.
      Or potentially you might have named the components of your interface differently to how they're referenced in the Python code.
      If you can share your code in the comments here I can take a look.

  • @shobhitsylvester7330
    @shobhitsylvester7330 3 роки тому

    That was wonderful. Thank you.

  • @abdulrahmanatwah1727
    @abdulrahmanatwah1727 3 роки тому

    Amazing, Thanks man !

  • @botambucollins3769
    @botambucollins3769 2 роки тому

    thanks man, how to contact u?

  • @oguzturkyilmaz543
    @oguzturkyilmaz543 4 роки тому +1

    Thanks mate

  • @camellia3698
    @camellia3698 3 роки тому

    thnks bro, this one help me

  • @gamdgdn7884
    @gamdgdn7884 3 роки тому

    PS C:\Color.Swi
    tch.Tutona> pyuic5 MainWindow.ui -o ui_Mainwindow.pycd
    '"C:\Users\Tarek\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Python 3.9\python"' is not recognized as an internal or external
    command,
    operable program or batch file.

  • @Jdeadevil
    @Jdeadevil 2 роки тому

    Today I learned you don't have to install modules for each individual project, you can just use your existing Python install. Omg..

  • @Life-zx5wp
    @Life-zx5wp 3 роки тому

    nice ^^

  • @cloudzy7972
    @cloudzy7972 2 роки тому

    i sold your kindle.