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

  Рет қаралды 63,234

Wanderson

Wanderson

4 жыл бұрын

//// DONATE ////
🔗 Donate (Gumroad): gum.co/mHsRC
DOWNLOAD PROJECT:
github.com/Wanderson-Magalhae...
A simple project showing how to make an animated menu using Python, Qt Designer and PySide2
Good studies for everyone!

Пікірлер: 114
@franciscodemelo7
@franciscodemelo7 4 жыл бұрын
A cada vídeo um novo aprendizado com seus vídeos, parabéns mano
@marcjosephcole1208
@marcjosephcole1208 3 жыл бұрын
thanks for an awesome tutorial. I'm currently doing a school project right now and this video really helps me a lot. 😊
@tesseract7777
@tesseract7777 4 жыл бұрын
Thank you for sharing this!! This looks so much more fun than web design. :)
@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.
@overkill4262
@overkill4262 3 жыл бұрын
Not even kidding like you make such good videos man you have some talent
@TC-xi9vw
@TC-xi9vw 4 жыл бұрын
great tutorial for beginner, thanks a lot
@mdaasil2329
@mdaasil2329 3 жыл бұрын
Thanks very much bro. You are a life saver. This helped me way too much!
@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!
@bacishogemerci2517
@bacishogemerci2517 4 жыл бұрын
Very interesting ! Thank you brother !
@antonyalen2745
@antonyalen2745 3 жыл бұрын
Broooo!!!!! Your videos are fire!! You should consider creating a tutorial series for Qt Designer 100% subscribed
@kamamedia3535
@kamamedia3535 3 жыл бұрын
thank you man, you are a blessing.
@manjunathneelmath2104
@manjunathneelmath2104 2 жыл бұрын
You are amazing and you have helped me so many times, Thank you so much.
@juanmartinmestica899
@juanmartinmestica899 3 жыл бұрын
wooooww great tutorial, really appreciate this, thank u
@emersonsilva6647
@emersonsilva6647 3 жыл бұрын
Excelente Wanderson, parabéns
@WandersonItsMe
@WandersonItsMe 3 жыл бұрын
Vlw Emerson. Muito obrigado.
@digitalmachine0101
@digitalmachine0101 2 ай бұрын
Good information
@Christine-ne3dw
@Christine-ne3dw 3 жыл бұрын
Thanks for the vid
@bengbeng2005
@bengbeng2005 3 жыл бұрын
EXCELLENT
@isnardmachado3337
@isnardmachado3337 3 жыл бұрын
Parabéns !! Assim fica fácil de fazer, agora é só corte e cola kkk
@kilopo958
@kilopo958 4 жыл бұрын
Thanks thanks thanks ❤❤❤
@galaxymariosuper
@galaxymariosuper 3 жыл бұрын
one word: brilliant
@WandersonItsMe
@WandersonItsMe 3 жыл бұрын
Thanks man 😀
@zakariae.eddatssi
@zakariae.eddatssi 4 жыл бұрын
thanks a lot Bro
@badereddinedif2824
@badereddinedif2824 3 жыл бұрын
Thank's 😍😍
@adityashrivastava1503
@adityashrivastava1503 3 жыл бұрын
very useful
@linuxtubers7313
@linuxtubers7313 3 жыл бұрын
You should start a tutorial series. It will ne very helpfull for us.
@585ghz
@585ghz 3 жыл бұрын
Nice Bro! (from Brazil)
@WandersonItsMe
@WandersonItsMe 3 жыл бұрын
Também sou brasileiro mano. Seja bem vindo! 😀
@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?
@averaldo_
@averaldo_ 2 жыл бұрын
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..
@dennisasamoah2213
@dennisasamoah2213 4 жыл бұрын
great
@facundoreyes
@facundoreyes 3 жыл бұрын
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 3 жыл бұрын
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
@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?
@Nikbleat
@Nikbleat 4 жыл бұрын
Благодарю!
@SumanPokhrel0
@SumanPokhrel0 3 жыл бұрын
Pleasee create a tutorial series, its so good to see great UI like these done in python
@WandersonItsMe
@WandersonItsMe 3 жыл бұрын
Yes, I will create soon 😀❤
@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. ?
@muhammadsaadurrehman1498
@muhammadsaadurrehman1498 Жыл бұрын
i am unable to use vertical layout option in PyQt5... What to do?
@MarcusVinicius-ek5oq
@MarcusVinicius-ek5oq 2 жыл бұрын
Eu adorei o tutorial, só tive um problema, em que os botões não expandem junto da janela
@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 жыл бұрын
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: kzbin.info/www/bejne/n5KsoKKDbqufiKs Nesse vídeo mostro como inserir images: kzbin.info/www/bejne/boeTnWB6qJyJjrs
@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?
@juliangrieco
@juliangrieco 3 жыл бұрын
Can anyone explain why we need to add "lambda:" when we connect the button to the toggleMenu function?
@soulaimanacrespo9475
@soulaimanacrespo9475 4 жыл бұрын
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.
@cristhianelvisvelasquezven3726
@cristhianelvisvelasquezven3726 4 жыл бұрын
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 жыл бұрын
By the way, I really like your projects, I learned interesting things
@WandersonItsMe
@WandersonItsMe 4 жыл бұрын
The best way would be to create a project from scratch. Adding this function now may break your entire interface.
@cristhianelvisvelasquezven3726
@cristhianelvisvelasquezven3726 4 жыл бұрын
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 жыл бұрын
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.
@kritikbangera
@kritikbangera 4 жыл бұрын
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! kzbin.info/www/bejne/iIrHcplog61jirs
@thelostman5625
@thelostman5625 2 жыл бұрын
*How do I convert my PySide or PyQt programs into Android Applications?*
@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.
@DiamondDemon09
@DiamondDemon09 4 жыл бұрын
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
@ayushgoel26
@ayushgoel26 3 жыл бұрын
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 3 жыл бұрын
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
@clebsonsantiago
@clebsonsantiago 3 жыл бұрын
Wanderson, Você ja tentou fazer um menu estilo Ribbon com esse visual moderno?
@WandersonItsMe
@WandersonItsMe 3 жыл бұрын
Ainda não, porém acho que em breve terei que criar algo nessa linha.
@mun97696
@mun97696 3 жыл бұрын
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 3 жыл бұрын
This a function of Qt Designer PySide2 version: pypi.org/project/PySide2/
@mun97696
@mun97696 3 жыл бұрын
@@WandersonItsMe Thanks! I solved it!!
@caca684
@caca684 4 жыл бұрын
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
@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.
@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++
@augustoruviaro7345
@augustoruviaro7345 4 жыл бұрын
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 жыл бұрын
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: kzbin.info/www/bejne/iIrHcplog61jirs
@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.
@seungminshin7652
@seungminshin7652 4 жыл бұрын
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)
@SergioDev2024
@SergioDev2024 2 жыл бұрын
Parabens pelo conteudo para desenvolvimento de sistemas com pyside preciso pagar a licença
@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.
@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: kzbin.info/www/bejne/iIrHcplog61jirs
@joschuaalexanderthies4587
@joschuaalexanderthies4587 3 жыл бұрын
@@WandersonItsMe this helped me thank you, keep up the great work, everything you create looks beautiful 👌
@zaphkielbellofiore185
@zaphkielbellofiore185 3 жыл бұрын
não consigo usar esse layout alignment :v
@ploppyploo
@ploppyploo 3 жыл бұрын
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 3 жыл бұрын
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 3 жыл бұрын
@@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 3 жыл бұрын
@@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
@Cashalotenko
@Cashalotenko 3 жыл бұрын
What python version do you use here, bro?
@WandersonItsMe
@WandersonItsMe 3 жыл бұрын
I'm using the version 3.8.2
@naziburrahman852
@naziburrahman852 3 жыл бұрын
We demand a full project tutorial.
@WandersonItsMe
@WandersonItsMe 3 жыл бұрын
I have 😀: kzbin.info/www/bejne/pnWThph6bLhlbdU
@heroshe7786
@heroshe7786 2 ай бұрын
If you want to work with it try with 0.25×.
@ssssikarwar
@ssssikarwar 3 жыл бұрын
Bro, who suggested you to keep this loud background music?
@WandersonItsMe
@WandersonItsMe 3 жыл бұрын
These are KZbin's non-copyrighted audios. Only for video not be without any sound.
@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.
@user-wf4zp2hf5s
@user-wf4zp2hf5s 3 жыл бұрын
hello I have a problem can you help me?
@WandersonItsMe
@WandersonItsMe 3 жыл бұрын
Hi, whats the problem? 😀
@user-wf4zp2hf5s
@user-wf4zp2hf5s 3 жыл бұрын
@@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
@drip7547
@drip7547 4 жыл бұрын
it didnt work because it couldnt view it as python code :(
@WandersonItsMe
@WandersonItsMe 4 жыл бұрын
I couldn't understand what your problem is, could you explain in more detail?
@drip7547
@drip7547 4 жыл бұрын
@@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 жыл бұрын
@@drip7547 Haha. Glad you found the problem. Only the Qt Designer version of PySide2 has the option to export in Python
@adrianiskra3521
@adrianiskra3521 3 жыл бұрын
Looks cool, but there's no hamburger ;
@WandersonItsMe
@WandersonItsMe 3 жыл бұрын
Is a rectangular burguer hahaha
@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
@VitorSilva-gi3lb
@VitorSilva-gi3lb 3 жыл бұрын
O br vai la e poe o video em ingles pra dificultar pra mim 👌
@WandersonItsMe
@WandersonItsMe 3 жыл бұрын
Qual o problema?
@husansharipov2484
@husansharipov2484 3 жыл бұрын
WTF
Secret Experiment Toothpaste Pt.4 😱 #shorts
00:35
Mr DegrEE
Рет қаралды 39 МЛН
Llegó al techo 😱
00:37
Juan De Dios Pantoja
Рет қаралды 61 МЛН
Stop, Intel’s Already Dead! - AMD Ryzen 9600X & 9700X Review
13:47
Linus Tech Tips
Рет қаралды 1 МЛН
Qt дизайн. Компоновка. Система компоновки Qt
32:52
Молодёжная студия «Я»
Рет қаралды 1,9 М.
Creating Your Own Qt Applications...It's Easy!
15:27
DistroTube
Рет қаралды 36 М.
Qt - Компоновка виджетов 1 (для начинающих)
13:42
Лев Алексеевский
Рет қаралды 71 М.
Can I Run Youtube Entirely From My Terminal? (No Browser)
15:31
Working With Qt Designer's UI Files And PyQt
19:17
DistroTube
Рет қаралды 16 М.
BEST WAY to make Desktop Applications in C++
26:00
The Cherno
Рет қаралды 901 М.
A basic PySide6 and Qt Designer tutorial.
1:33:05
Jason Codes Qt
Рет қаралды 37 М.
ПОМОГЛА НАЗЫВАЕТСЯ😂
0:20
Chapitosiki
Рет қаралды 3,8 МЛН
YouTube запретили
0:38
Макс Рэйн
Рет қаралды 951 М.
Потоп из какашек??? @zackdfilms - автор анимации.
0:31
Время знаний
Рет қаралды 5 МЛН
Кто из девушек быстрее печатает?
0:58
头还可以刷卡买东西的吗?#海贼王#路飞
0:26
路飞与唐舞桐
Рет қаралды 24 МЛН
YouTube запретили
0:38
Макс Рэйн
Рет қаралды 951 М.