How to create and animate an expandable Sidebar menu In Python | Pyside6 / PyQt6 (2023)

Sdílet
Vložit
  • čas přidán 21. 12. 2023
  • Today we build a simple GUI Sidebar Menu in Python. For the graphical user interface we use PySide6 or PyQt6 inside QtDesigner.
    Accessories
    www.mediafire.com/folder/0iou...

Komentáře • 44

  • @Yhwhaleks1602
    @Yhwhaleks1602 Před 4 dny

    Great lesson. Thank you. I applied it to my project !

  • @davethinkingsystems
    @davethinkingsystems Před 2 měsíci +1

    This was really brilliant. So clear. Much appreciated.

  • @doctormanfer
    @doctormanfer Před 2 měsíci

    Awesome!!!! Marvellous work!!!

  • @tonygreen4812
    @tonygreen4812 Před 2 měsíci

    Fantastic work!

  • @Tetianaoutdoors
    @Tetianaoutdoors Před 2 měsíci +3

    Oh man. I was so upset at a project because it wouldn't import my resource files. I gave up on it then watched this video just for entertainment and then you formatted the .qrc file to an .rc file and made a lightbulb go on over my head. I needed to convert it to be readable. Lol. Thanks

  • @fredericroland8204
    @fredericroland8204 Před 6 měsíci

    Nice! Thank you

  • @lolnewtonzlol
    @lolnewtonzlol Před 3 měsíci

    Fantastic video. Thank you!

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

    Really helpful video, thanks!

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

    You have a new follower Sir

  • @younesdeveloper
    @younesdeveloper Před 3 měsíci

    awesome

  • @wewe-rg9yu
    @wewe-rg9yu Před měsícem

    You are my hero

  • @Slbaz
    @Slbaz Před 24 dny

    Thanks!

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

    You're blessed

  • @sebastianmb88
    @sebastianmb88 Před 2 měsíci

    thanks a lot from Colombia you are a master

  • @oualidbennahia5336
    @oualidbennahia5336 Před 3 měsíci

    great thanku so much

  • @II-er7gj
    @II-er7gj Před měsícem +1

    Bro, it's awesome!! Please do more tuts like this one and more python! I subscribed your channel! Thank you very much for your time to show such fantastic knowledge! I learned a lot something new for Me from you tutorials!

  • @user-xn3kc7ig6f
    @user-xn3kc7ig6f Před 3 měsíci

    The Best tutorial

  • @jotarojoestar1399
    @jotarojoestar1399 Před 11 dny

    can the stacked widget not collapse when the icon with name is expanded? like it would just pop up above the stacked widget and turn it dark or something?

  • @neverdiewibu4108
    @neverdiewibu4108 Před 2 měsíci

    how can i make the sidebar have animation when hide/show ?

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

    Top Top Top

  • @mdsafikulislam9113
    @mdsafikulislam9113 Před 7 dny

    Is it suitable for enterprise level.

  • @jaziyasj2109
    @jaziyasj2109 Před 2 měsíci

    I tried the toggle functionality but upon clicking it shows no result

  •  Před 3 měsíci

    When I put elements or widgets on a page, for example 'messages_page', they do not grow proportionally on the page when I maximize the window. They remain in their position on the window, although the entire program window becomes larger. How can I change this in the program code?

    • @CreateBeautifulThings
      @CreateBeautifulThings  Před 3 měsíci

      There is a concept called "Size policies and stretches". It's only that I didn't mention that in this video. But in this concept you are able to make an object expandable both vertically and horizontally

  • @user-sv9gl3yg8k
    @user-sv9gl3yg8k Před 2 měsíci

    Hi, can you tell me. When I configure the panel to hide and appear, the text panel does not take up space with the icon panel. They stay in their places and only disappear and appear in turn

    • @CreateBeautifulThings
      @CreateBeautifulThings  Před 2 měsíci

      You may have missed a step when I do horizontal layout, vertical layout or grid layout of the widgets. Make sure to follow the steps as I do carefully. Otherwise it may not work

  • @qozia1370
    @qozia1370 Před 2 měsíci

    Very beautiful tutorial.
    Thank you!

  • @user-xn3kc7ig6f
    @user-xn3kc7ig6f Před 3 měsíci

    Please a CRUD 3.0

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

    why when you check a button, other button become unckeck? how did you do that?

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

      i got it, select all pushbuttong and right click to add to a button group

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

      Please follow each step in the video. I explained mutually exclusive in the video

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

    how to hide stackedwidget pager?

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

      Do you mean the arrows that appear at the top right corner. I realized when you implement your software and convert UI file to python file, you won't see it appearing. It's as easy as that

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

      @@CreateBeautifulThings awesome, thank

  • @user-sk4xs3qv4e
    @user-sk4xs3qv4e Před měsícem

    Hi! Please, take me you .ui file and python code.

  • @sivahariharan
    @sivahariharan Před 3 měsíci

    your rushing the code explaination and then the uft 8 be changed before converting the ui to py file

    • @CreateBeautifulThings
      @CreateBeautifulThings  Před 3 měsíci +1

      If I didn't speed up the code the video would be longer than 1 hour. Above all, I wish the video was of help and that you understood the coding process

  • @leogsantos
    @leogsantos Před 3 měsíci

    That was extremely helpful!
    But I have a suggestion for button attributions:
    # Connecting the buttons directly to the switch_page method
    self.dashboard_1.clicked.connect(lambda: self.switch_page(0))
    self.dashboard_2.clicked.connect(lambda: self.switch_page(0))
    self.profile_1.clicked.connect(lambda: self.switch_page(1))
    self.profile_2.clicked.connect(lambda: self.switch_page(1))
    self.messages_1.clicked.connect(lambda: self.switch_page(2))
    self.messages_2.clicked.connect(lambda: self.switch_page(2))
    self.settings_1.clicked.connect(lambda: self.switch_page(3))
    self.settings_2.clicked.connect(lambda: self.switch_page(3))
    # Single method to switch pages
    def switch_page(self, index):
    self.stackedWidget.setCurrentIndex(index)