PyQt5 Designer + Python Stacked Widget Walkthrough

Поделиться
HTML-код
  • Опубликовано: 7 ноя 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

  • @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

  • @ministawilly
    @ministawilly Год назад

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

  • @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.

  • @prashkd7684
    @prashkd7684 3 года назад +1

    I like the way Australians explain things.

  • @johnemanuelalamares2206
    @johnemanuelalamares2206 3 года назад +2

    u deserve more subs

  • @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 ?

  • @DannielaPintoD
    @DannielaPintoD 4 года назад +2

    the best tutorial

  • @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...

  • @lynx0001
    @lynx0001 4 года назад +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  4 года назад +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!

  • @王冠信-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.

  • @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  4 года назад

      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.

  • @tomh12341
    @tomh12341 Год назад

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

  • @AntonioRodriguez-fv6vt
    @AntonioRodriguez-fv6vt 4 года назад +1

    Very useful! Thank you mate

  • @enacheandrei7932
    @enacheandrei7932 4 года назад +1

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

  • @shobhitsylvester7330
    @shobhitsylvester7330 3 года назад

    That was wonderful. Thank you.

  • @abdulrahmanatwah1727
    @abdulrahmanatwah1727 3 года назад

    Amazing, Thanks man !

  • @RiadhBoutarfa
    @RiadhBoutarfa 3 года назад

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

  • @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.

  • @botambucollins3769
    @botambucollins3769 2 года назад

    thanks man, how to contact u?

  • @oguzturkyilmaz543
    @oguzturkyilmaz543 4 года назад +1

    Thanks mate

  • @camellia3698
    @camellia3698 3 года назад

    thnks bro, this one help me

  • @Life-zx5wp
    @Life-zx5wp 3 года назад

    nice ^^

  • @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..

  • @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.

  • @CloudzyR
    @CloudzyR 2 года назад

    i sold your kindle.