Skip to main content

Posts

Showing posts from August, 2020

MDToolbar (Bottom)

CREATING TOOLBAR(Bottom) USING KIVYMD Link of video On YouTube :-  https://youtu.be/gsj97f5r6nQ Following are the steps that are required to create Toolbar :    1. Creating the App by importing the MDApp class of kivymd module. 2. Creating the Box Layout by using MDBoxLayout class of kivymd module. 3. Placing the toolbar in the bottom of the screen by using MDBottomAppBar class of kivymd. 4. Creating Toolbar using MDToolbar class of kivymd module. First Create a Python file (extension .py) then, create a kivy file (.kv extension) name of kivy file should be same as app name. App name is the name of the class that consist of b uild function and created by inheriting the MDApp class Following is the list of attributes used in this program :- Attributes of MDBoxLayout class 1. md_ bg_color - To change the background color (Takes values in RGB format). 2. orientation - To change the orientation of items of box layout (Takes values vertical and  horizontal). Attributes of MDToolbar class 1.

MDToolbar (Top)

CREATING TOOLBAR(Top) USING KIVYMD  Link of Video on Youtube -  https://youtu.be/wbSliTPE4pg Following are the steps that are required to create Toolbar :    1. Creating the App by importing the MDApp class of kivymd module. 2. Creating the Box Layout by using MDBoxLayout class of kivymd module. 3. Creating Toolbar using MDToolbar class of kivymd module. First Create a Python file (extension .py) then, create a kivy file (.kv extension) name of kivy file should be same as app name. App name is the name of the class that consist of b uild function and created by inheriting the MDApp class Following is the list of attributes used in this program :- Attributes of MDBoxLayout class 1. md_ bg_color - To change the background color (Takes values in RGB format). 2. orientation - To change the orientation of items of box layout (Takes values vertical and  horizontal). Attributes of MDToolbar class 1. title - Title of Toolbar (Takes string). 2. left_action_items - To add the items which is on t

MDTextFieldRect

TAKING INPUT FROM USER USING MDTEXTFIELDRECT WIDGET Link of Video on You Tube -  https://youtu.be/a3Kqj0RDW2E Following are the steps that are required to take input from user :    1. Creating the App by importing the MDApp class of kivymd module. 2. Creating the Screen by using MDScreen class of kivymd module. 3. Creating Text Field using MDTextFieldRect Class First Create a Python file (extension .py) then, create a kivy file (.kv extension) name of kivy file should be same as app name. App name is the name of the class that consist of b uild function and created by inheriting the MDApp class Following is the list of attributes used in this program :- Attributes of MDScreen class 1. md_bg_color - To change the background color  2. radius - to change the corner radius of screen Attributes of MDTextFieldRect class 1. hint_text - To print hint text on text field (Takes String). 2. pos_hint - To change the position of button (Takes values in dictionary format like pos_hint : {"cente

MDTextFieldRound

TAKING INPUT FROM USER USING MDTEXTFIELDROUND WIDGET Link of Video on You Tube -  https://youtu.be/b5B9KkYa1Mo Following are the steps that are required to take input from user :    1. Creating the App by importing the MDApp class of kivymd module. 2. Creating the Screen by using MDScreen class of kivymd module. 3. Creating Text Field using MDTextFieldRound Class First Create a Python file (extension .py) then, create a kivy file (.kv extension) name of kivy file should be same as app name. App name is the name of the class that consist of b uild function and created by inheriting the MDApp class Following is the list of attributes used in this program :- Attributes of MDScreen class 1. md_bg_color - To change the background color  2. radius - to change the corner radius of screen Attributes of MDTextFieldRound class 1. hint_text - To print hint text on text field (Takes String). 2. pos_hint - To change the position of button (Takes values in dictionary format like pos_hint : {"ce

MDTextField

TAKING INPUT FROM USER USING MDTEXTFIELD WIDGET Link Of Video On You Tube -  https://youtu.be/Sgtui8zhMBI Following are the steps that are required to take input from user :    1. Creating the App by importing the MDApp class of kivymd module. 2. Creating the Screen by using MDScreen class of kivymd module. 3. Creating Text Field using MDTextField Class First Create a Python file (extension .py) then, create a kivy file (.kv extension) name of kivy file should be same as app name. App name is the name of the class that consist of b uild function and created by inheriting the MDApp class Following is the list of attributes used in this program :- Attributes of MDScreen class 1. md_bg_color - To change the background color  2. radius - to change the corner radius of screen Attributes of MDTextField class 1. hint_text - To print hint text on text field (Takes String). 2. helper_text - To print helper text on text field (Takes String). 3. heper_text_mode - To change the mode of helper_text

MDFloatingActionButtonSpeedDial

  CREATING A FLOATING ACTION BUTTON SPEED DIAL USING KIVYMD   Link Of Video On You Tube -  https://youtu.be/z8y6_c55F20 Following are the steps that are required to create Flat Button :    1. Creating the App by importing the MDApp class of kivymd module. 2. Creating the Screen by using MDScreen class of kivymd module. 3. Creating a button using MDFloatingActionButtonSpeedDial class of kivymd module.  First Create a Python file (extension .py) then, create a kivy file (.kv extension) name of kivy file should be same as app name. App name is the name of the class that consist of b uild function and created by inheriting the MDApp class Following is the list of attributes used in this program :- Attributes of MDScreen class 1. md_bg_color - To change the background color  2. radius - to change the corner radius of screen Attributes of MDFloatingActionButtonSpeedDial class 1.  data - Text data of button in dictionary type. In data the key is the name of the icon and value is the text to b

Attendence Soft.. (Project)

DESIGNING A ATTENDENCE SOFTWARE USING PYTHON AND KIVYMD FRAMEWORK Imp Note -  First Create a Python file (extension .py) then, create a kivy file (.kv extension) name of kivy file should be same as app name. App name is the name of the class that consist of b uild function and created by inheriting the MDApp class. For this Program First Create a file by name Main.py and write python code in this file and then create a new file by name MainApp.kv and write kivy code in that file. Following is the code of this Software :- 1. Code of Python program - # Code of python Program # A Python Program to create a Attendence Software using KIVYMD Frame work from kivymd.app import MDApp from kivymd.uix.list import MDList , IRightBodyTouch , OneLineAvatarIconListItem from kivy.properties import StringProperty from kivymd.uix.selectioncontrol import MDCheckbox from kivy.core.window import Window from kivymd.uix.boxlayout import BoxLayout from kivymd.uix.label import MDLabel Window.size = ( 370 , 600