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

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

Комментарии • 41

  • @davethinkingsystems
    @davethinkingsystems 2 месяца назад +1

    This was really brilliant. So clear. Much appreciated.

  • @doctormanfer
    @doctormanfer Месяц назад

    Awesome!!!! Marvellous work!!!

  • @tonygreen4812
    @tonygreen4812 Месяц назад

    Fantastic work!

  • @Tetianaoutdoors
    @Tetianaoutdoors 2 месяца назад +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

  • @lolnewtonzlol
    @lolnewtonzlol 2 месяца назад

    Fantastic video. Thank you!

  • @fredericroland8204
    @fredericroland8204 5 месяцев назад

    Nice! Thank you

  • @OaZJumper
    @OaZJumper 4 месяца назад

    Really helpful video, thanks!

  • @cletusikennachukwuemeka9418
    @cletusikennachukwuemeka9418 4 месяца назад

    You have a new follower Sir

  • @younesdeveloper
    @younesdeveloper 3 месяца назад

    awesome

  • @sebastianmb88
    @sebastianmb88 2 месяца назад

    thanks a lot from Colombia you are a master

  • @Slbaz
    @Slbaz 3 дня назад

    Thanks!

  • @wewe-rg9yu
    @wewe-rg9yu 19 дней назад

    You are my hero

  • @anti_shade3436
    @anti_shade3436 26 дней назад

    You're blessed

  • @oualidbennahia5336
    @oualidbennahia5336 2 месяца назад

    great thanku so much

  • @user-xn3kc7ig6f
    @user-xn3kc7ig6f 3 месяца назад

    The Best tutorial

  • @II-er7gj
    @II-er7gj 12 дней назад +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!

  • @sennlich
    @sennlich 3 месяца назад

    Top Top Top

  • @neverdiewibu4108
    @neverdiewibu4108 Месяц назад

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

  • @jaziyasj2109
    @jaziyasj2109 Месяц назад

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

  •  3 месяца назад

    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  3 месяца назад

      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 2 месяца назад

    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  2 месяца назад

      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 Месяц назад

    Very beautiful tutorial.
    Thank you!

  • @user-xn3kc7ig6f
    @user-xn3kc7ig6f 2 месяца назад

    Please a CRUD 3.0

  • @love_laugh6428
    @love_laugh6428 3 месяца назад

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

    • @love_laugh6428
      @love_laugh6428 3 месяца назад

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

    • @CreateBeautifulThings
      @CreateBeautifulThings  3 месяца назад +1

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

  • @nieska6706
    @nieska6706 3 месяца назад

    how to hide stackedwidget pager?

    • @CreateBeautifulThings
      @CreateBeautifulThings  3 месяца назад +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 3 месяца назад

      @@CreateBeautifulThings awesome, thank

  • @sivahariharan
    @sivahariharan 3 месяца назад

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

    • @CreateBeautifulThings
      @CreateBeautifulThings  3 месяца назад +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 2 месяца назад

    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)

  • @user-sk4xs3qv4e
    @user-sk4xs3qv4e 16 дней назад

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