Creating A Login Screen With KivyMD - Python Kivy GUI Tutorial #44

preview_player
Показать описание
In this video we'll create a basic login screen for KivyMD and Python.

We'll use MDTextFieldRound, MDLabel, and MDRoundFlatButton...as well as son icons for the username and password field.

Creating design elements with KivyMD is pretty easy as you'll see in this video.

#codemy #kivy

Timecodes
0:00​​ - Introduction
1:40 - Create A Card With MDCard
3:23 - Create Label with MDLabel
4:52 - Create Text Field With MDTextFieldRound For Username
5:16 - Add Icon To Text Field With icon_right
6:07 - Add Second Text Field For Password
6:48 - Create Login and Clear Buttons With MDRoundFlatButton
7:57 - Add Widget For Spacing
8:39 - Make Buttons Clickable With on_press
9:07 - Create Login Function
10:42 - Create Clear Screen Function
11:52 - Conclusion
Рекомендации по теме
Комментарии
Автор

John. Please make a video about the navigation drawer in kivy. I think the navigation drawer is useful. Thank you so much!

sithuhtun
Автор

Hello Sir, I write exactly the same code which you have written, but in my .kv file while using "MDTextFieldRound", giving this error - Unknown class <MDTextFieldRound>. I am new to kivy programming so not able to figure it out. if I use "MDTextFieldRect" it works fine. Is this the Python version Issue ? Or I have not included any class ?
Please HELP. Thanks

rockyrocky
Автор

Can you do one with logging in with Google or with using biometrics for more security? Thanks.

JasonJurotich
Автор

I'll appreciate a video on changing screen via button press

chiemerieokoro
Автор

Although you explain quickly, the explanation is interesting, so I understand everything even though I am not a programmer. Thank you

hossienhassanhamow
Автор

Could you make a tutorial on actually installing an app on iPhone/Android

arthughes
Автор

elevation (shadow) is not working even if I copy paste your code. In IDE a Warning Message Show every time I run the code (If you see this error, this means that either youre using `CommonElevationBehavio`r directly or your 'shader' dont have a `_draw_shadow` instruction, remember to overwrite this functionto draw over the image context. Тhe figure you would like. Or your class MDCard is not inherited from any of the classes ('CommonElevationBehavior', 'RectangularElevationBehavior', 'CircularElevationBehavior', 'RoundedRectangularElevationBehavior', 'ObservableShadow', 'FakeRectangularElevationBehavior',

laveshpal
Автор

got an error when writing MDTextFieldRound saying this raise FactoryException('Unknown class <%s>' % name)
Unknown class <MDTextFieldRound> please help me how to fix this

anishchowdarychitturi
Автор

John Can you tell me how to change the text color of the kv file please? I searched on google but I didn't not find answer. It's look wired with the plain text.

sithuhtun
Автор

Hi, I just want to know if you have a video where you are on the login page in python kivy and if you click sign up then the sign up page will appear on the screen made in python kivy. Please help cant find any resource to do that or any other video. Other videos are telling me how to gather data from text boxs when user clicks the submit button but what I need is if I click signup on the login page it should take me to an exsisting sign up page I have created using python kivy. Thanks

saifaljabry
Автор

If you would make a app using kivy and kivy md with database and would you use maps in that app

TOMASHREYASYT
Автор

thanks for your great tutorial, can we make an app half in tkinter half in kivy, i mean can we mix kivy and tkinter?

ziasilab
Автор

Sir, can you create a Login screen with Kivy only and not KivyMD? I love to create login screen that logs only when verified in mysql database.

james.
Автор

Great Job! Many Thx!. Can you make a movie about how to make graphs or matplot lib???

michagonet
Автор

can u pls tell me how can i access data from a text field when there are multiple screens, it's urgent i have a deadline and i m stuck here
it made the function in the class of the screen but it says that it doesn't have an attribute root but putting the function in the main app class wouldn't work either

saubhagyatandon
Автор

Thanks so good for project but also can you show some tutorials to use kivy with MySQL

studyingisfun
Автор

Love the video. Keep up the good work John!

ludwighurtado
Автор

hi. Where i can get the code? in the video you talk about a pin comment but i dont see it anymore? Thanks!

milslion
Автор

Seem like MDTextFieldRound is removed from KivyMD

Alternative:

MDTextField:
mode: "round"
id: user
hint_text: "Username"

kjelltoresteiro
Автор

how to we improve password textfield input? how can we make appear password when clicked right icon?

hopdedimbe