Python, PySide2 and Qt Designer - Toggle Menu / Burguer Menu Animated (Time-lapse Video)

Поділитися
Вставка
  • Опубліковано 6 січ 2025

КОМЕНТАРІ • 115

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

    At first I was like "What are these damn QFrames for he's adding hundreds of them", and in the result I found that all widgets which have great positions with suitable spaces are based on those QFrames in different layouts; You're a TRUE UI designer!

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

    Broooo!!!!! Your videos are fire!! You should consider creating a tutorial series for Qt Designer 100% subscribed

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

    Not even kidding like you make such good videos man you have some talent

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

    thanks for an awesome tutorial. I'm currently doing a school project right now and this video really helps me a lot. 😊

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

    A cada vídeo um novo aprendizado com seus vídeos, parabéns mano

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

    You are amazing and you have helped me so many times, Thank you so much.

  • @e.g.solutions8744
    @e.g.solutions8744 3 роки тому

    Muito bom tutorial, tão intuitivo que não tive problemas em adaptá-lo ao QTCreator com C++. Parabéns pelo trabalho.

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

    Quick question, why have you provided enabled as a parameter? (11:35). It must always be true each time the button is clicked right?

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

    06:51 I can't view python code in pt designer. My version of designer is 5.9.7.. How can I make ui_main.py?

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

      This a function of Qt Designer PySide2 version: pypi.org/project/PySide2/

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

      @@WandersonItsMe Thanks! I solved it!!

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

    Thank you for sharing this!! This looks so much more fun than web design. :)

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

    Thanks very much bro. You are a life saver. This helped me way too much!

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

    Very interesting ! Thank you brother !

  • @TC-xi9vw
    @TC-xi9vw 4 роки тому +5

    great tutorial for beginner, thanks a lot

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

    Can you tell me what needs to be modified to make the selected page highlighted, as it happens when you hover the mouse over it?

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

    Excelente Wanderson, parabéns

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

    i am unable to use vertical layout option in PyQt5... What to do?

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

    Hi. Im new to qt and just started working on a project. I have menu bar with buttons, but have yet to figure out how to change content in body. I have previously worked with vue where this was done with routers, but dont know where to start in qt. Im using c++, not python

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

      Hi, I unfortunately don't know anything about C ++, everything I learned about Qt for Python was studying alone and reading the official documentation, maybe it will help you:
      doc.qt.io/archives/qt-4.8/stylesheet-reference.html

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

      @@WandersonItsMe I will do my best, thank you

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

    one word: brilliant

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

    Thank you. I downloaded the code but how can I change the Menu/Page Names? I have main.py, ui_functions.py, ui_main.py, ui.main.ui. Where do I find it?

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

    wooooww great tutorial, really appreciate this, thank u

  • @digitalmachine0101
    @digitalmachine0101 7 місяців тому

    Good information

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

    thank you man, you are a blessing.

  • @PALUKUSARUTI-wj9ut
    @PALUKUSARUTI-wj9ut 5 місяців тому

    I have an error in ui_functions name 'Mainwindow' is not defined

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

    Can anyone explain why we need to add "lambda:" when we connect the button to the toggleMenu function?

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

    *How do I convert my PySide or PyQt programs into Android Applications?*

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

    You should start a tutorial series. It will ne very helpfull for us.

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

    I'm still new to programming in python and I must ask, how do you modify the content in page 1 etc. ?

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

    C'est bien fait et expliqué, je ne pensais pas que c'était possible. Merci pour la vidéo. Do you know how to make circular progress bar with pyqt5 ? A lot of thanks. Merci

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

      I think that only using canvas, I don't know if this feature exists natively and I don't know about it 😕. I did a circular progress bar recently, but in WPF.

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

    Parabéns !! Assim fica fácil de fazer, agora é só corte e cola kkk

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

    Maybe you can make an example where the * MainWindows * has a slightly transparent background. For example if I am seeing a blue image and I open the software window it should have a slightly blue background, if the image is green the software should show that green color a bit. I hope you let me understand.
    That way the groove music windows 10 options bar works.

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

      Hi, unfortunately like Groove is not possible, this effect is called "acrylic brush" and is available in the C# UWP tools, it is also possible with WPF making some adjustments. Qt Unfortunately, I don't think you have that possibility, just with transparency, which is not so cool.

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

    Now that your project is done, is there a way I can add another frame to the central widget? I tried to do it in my project but I can't and don't want to redesign another gui by adding one more qframe.
    I have been able to add other elements within qframes but not within the central widget.

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

      By the way, I really like your projects, I learned interesting things

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

      The best way would be to create a project from scratch. Adding this function now may break your entire interface.

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

    Pleasee create a tutorial series, its so good to see great UI like these done in python

  • @585ghz
    @585ghz 4 роки тому

    Nice Bro! (from Brazil)

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

      Também sou brasileiro mano. Seja bem vindo! 😀

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

    Hello Wanderson, I tried out your example with the functions from your git but I get some weird error:
    "File "/Users/johanbjork/Documents/programmering/repos/test/ui_main.py", line 18, in setupUi
    MainWindow.setMinimumSize(QtCore.QSize(1000, 500))
    TypeError: 'PySide2.QtWidgets.QWidget.setMinimumSize' called with wrong argument types:
    PySide2.QtWidgets.QWidget.setMinimumSize(QSize)
    Supported signatures:
    PySide2.QtWidgets.QWidget.setMinimumSize(PySide2.QtCore.QSize)
    PySide2.QtWidgets.QWidget.setMinimumSize(int, int)"
    Might it be due to a version of PyQt5? I'm new as PyQt and find the documentations to be quite hard to understand, so I thought watching your videos would be a good start to learn instead. Thank

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

    I have this problem.
    ImportError: DLL load failed while importing QtCore: The specified module could not be found.

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

      I had the same problem. Many methods in the StackFlow were attempted, but the import error could not be resolved.
      Anaconda reinstallation and all libraries have been successfully reinstalled. It was settled after that. I don't think it's just a path problem.

  • @Christine-ne3dw
    @Christine-ne3dw 3 роки тому

    Thanks for the vid

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

    EXCELLENT

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

    Wanderson, Você ja tentou fazer um menu estilo Ribbon com esse visual moderno?

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

      Ainda não, porém acho que em breve terei que criar algo nessa linha.

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

    Hi, Is there anyway to get in contact with you? I found one of your repo on GitHub and would love to ask you a few questions!

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

      Hi man, post your questions here, maybe help others 😃. I don't work with programming

  • @MarcusVinicius-ek5oq
    @MarcusVinicius-ek5oq 3 роки тому

    Eu adorei o tutorial, só tive um problema, em que os botões não expandem junto da janela

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

    Hi! Great video! I've been following some of your videos and they really helped me! For this particulary video, I did what you show, but my GUI is kind of minimalist (just like the one you make for the Custom Title Bar video), so I would like to know If there is a way to make the toggle menu fully hiden? I've tried changing my buttons setVisible property, but it makes the animation look weird. Thanks!

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

      For anyone having this same issue, I solved it by breaking the frame_left_menu layout(I was using a vertical LayOut). You will need to set each button's position manually

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

    Thanks thanks thanks ❤❤❤

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

    wanderson como configuro para visualizar o código python do mainwindow?

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

      Não entendi bem mano, quando diz configurar seria qual código no caso?

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

      @@WandersonItsMe vi que vc gera o código python do janela automaticamente

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

    How can I change the content viewed on each page ?

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

      Maybe this video can help you: ua-cam.com/video/RYdAf2NH0TY/v-deo.html

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

      @@WandersonItsMe this helped me thank you, keep up the great work, everything you create looks beautiful 👌

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

    very useful

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

    hi bro, i have a problem with the animation part. im able to expand the frame but unable to reset it.i tried my own way didnt work.then i used your method still didnt work.would be happy to find a solution.

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

      Hi, you checked your code with original? github.com/Wanderson-Magalhaes/Toggle_Burguer_Menu_Python_PySide2/blob/master/ui_functions.py
      Because have so many causes to this problem.

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

      @@WandersonItsMe thank you so much for replying. My problem is a lot simpler,i made a mistake in layout while designing. So it couldnt revert back to size.
      Is it neccesary to place the stacked widget inside another frame? i cant align layout of stacked widget like you did
      Edit:nevermind i had serious problem with frames.i figured it out,thanks for the awesome Video

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

      @@ploppyploo Hi, what did you do to fix the design? I am having the same issue right now but I'm not sure how to fix it

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

    Thank's 😍😍

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

    Thank you for this video and source code! I'm studying PySide2 and wonder why doesn't circular import error ouccur even though main.py import ui_functions.py and ui_functions.py import main.py.

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

      In Python this is common at the beginning and a bit confusing too, read on:
      stackoverflow.com/questions/744373/circular-or-cyclic-imports-in-python
      At Stackoverflow there are several speeches on this subject.

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

      @@WandersonItsMeYes, I encountered this issue.. builtins.ImportError: cannot import name 'UIFunctions' from partially initialized module 'ui_functions' (most likely due to a circular import)

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

    Nice video..! I need help in changing pages through toggle menu can you make a video or give me a hint or something I am really struggling with it..thanks in advance😃

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

      Hi man 😃. Done! ua-cam.com/video/RYdAf2NH0TY/v-deo.html

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

    Excelente Mano! Me ajudou bastante.. agora será que eu consigo fazer isso tudo num EXE só? usando pyinstaller ou py2exe algo do tipo? Ja usei o pyinstaller mas era 1 arquivo.py bem simples..

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

    Can you show us how to do this using C++? or can you give some tip how to do this in qt5 c++

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

    great

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

    Eae, por algum motivo meu programa sempre inicia na página 3, sabe o que poder ser ?
    Se possível, pode fazer um vídeo mostrando como troca de tela ? Tipo, tem aquele vídeo seu que você cria uma tela de login, daí você podia aproveitar ele e mostrar como passar daquela tela, pra essa por exemplo ao colocar login e senha.
    Parabéns pelos vídeos, são muito bons e obrigado por disponibilizar os códigos, estão me ajudando muito mesmo.

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

      Vlw mano, e que bom que tenha ajudado. Basta salvar no Qt Designer em formato .py deixando a primeira página em destaque, fiz um vídeo esse sabado mostrando isso até.
      Caso ai não sirva basta setar sua página inicial que desejar antes da interface iniciar como mostro no vídeo. Ai em vez de usar a função no botão, use ela fora do escopo dela para chamar a página que quiser:
      ua-cam.com/video/RYdAf2NH0TY/v-deo.html

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

      @@WandersonItsMe Eu vi esse vídeo, mas o meu Qt design não tem essa opção, eu tenho que converter o arquivo na mão pra python e depois converter pra pyqt5 trocando os imports. Pode explicar como faço pra surgir essa opção de converter pra python direto do qt design ?

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

      @@augustoruviaro7345 sim mano, quando vc instala o PySide2 ele instala junto o Qt Designer, essa versão dele é a oficial para o Python, então para facilitar eles fizeram essa opção que já gera o código convertido.

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

    Bro, who suggested you to keep this loud background music?

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

      These are UA-cam's non-copyrighted audios. Only for video not be without any sound.

  • @5chr4mm
    @5chr4mm 4 роки тому

    Parabéns pelo trabalho, ficou muito legal esse projeto. É possível inserir ícones ao invés de texto nos menus? Pra colocar o icone do Burguer ao invés da palavra TOGGLE. E também seria possível colocar apenas um ícone quando o menu estiver retraído e mostrar o texto quando expandir?

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

      Fala mano, vlw mesmo 😄. E sim, é possível. Fiz um vídeo mostrando inserir imagens e converter e resource.
      Fiz com imagens nesse projeto, se quiser baixar para estudar como tudo funciona:
      ua-cam.com/video/iaIooM9FlRI/v-deo.html
      Nesse vídeo mostro como inserir images:
      ua-cam.com/video/8V0l-Ds7VXY/v-deo.html

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

    What python version do you use here, bro?

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

    Hi wanderson. I am learning lot from your tutorials. I have a query regarding Loading a UI in python. Whats the difference between loading a ui via QUiLoader.load() and via compiling UI file into py and than loading it (In the way you do it in your videos) ? Thanks in advance.

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

      I don't like to use UI files without convert to Python, I have a lot of problems to try execute runtime events using UI

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

    Благодарю!

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

    não consigo usar esse layout alignment :v

  • @zakariae.eddatssi
    @zakariae.eddatssi 4 роки тому

    thanks a lot Bro

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

    Parabens pelo conteudo para desenvolvimento de sistemas com pyside preciso pagar a licença

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

    MORE MORE MOREMORE PLEASE

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

      Actually thank you, 24 hours later I've made it look SO good. You are the only person on the internet who was actually able to help me.

  • @ГусейнГаджиев-п5к
    @ГусейнГаджиев-п5к 4 роки тому

    hello I have a problem can you help me?

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

      Hi, whats the problem? 😀

    • @ГусейнГаджиев-п5к
      @ГусейнГаджиев-п5к 4 роки тому

      @@WandersonItsMe Hi ,
      Thank you very much for answering. For the first time, a person with 1.5 million subscribers answered me, but I already found a problem

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

    Muito legal! Queria conversar contigo sobre uma oportunidade de trabalho. Como consigo te contatar?

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

      Fala Pedro, tudo bem? Infelizmente não trabalho com programação cara, é apenas hobby e para automatizar algumas ferramentas de trabalho.

  • @heroshe7786
    @heroshe7786 7 місяців тому

    If you want to work with it try with 0.25×.

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

    We demand a full project tutorial.

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

      I have 😀: ua-cam.com/video/pD0UeD7S27s/v-deo.html

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

    Cara muito bommmm eu queria dar 1000 likesss se pudessee

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

      Vlw mano 😃. Que bom que o vídeo tem ajudado.

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

    it didnt work because it couldnt view it as python code :(

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

      I couldn't understand what your problem is, could you explain in more detail?

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

      @@WandersonItsMe i accidently used the qt desinger from the pyqt5 not the pyside2 folder... The video was great tho(edit: my qt designer only outputs c++ code even if i select :" view as python code"(second edit lol: i fixed the problem by creating a new bin folder in the Pyside2 folder and just putting the content of the Pyside2 folder in the bin folder in the Pyside2. my pip installer really is broken lol)

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

      @@drip7547 Haha. Glad you found the problem. Only the Qt Designer version of PySide2 has the option to export in Python

  • @VitorSilva-gi3lb
    @VitorSilva-gi3lb 3 роки тому

    O br vai la e poe o video em ingles pra dificultar pra mim 👌

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

    Looks cool, but there's no hamburger ;

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

    WTF