-
Notifications
You must be signed in to change notification settings - Fork 0
/
clothing.py
105 lines (67 loc) · 4.62 KB
/
clothing.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
from cProfile import label
from tkinter import *
from PIL import ImageTk
import additemmens
import qrcode
import table
def content(root):
def qr(group):
q=Toplevel(root)
qrcode.qrcode(q,group)
def viewdetails(group):
view=Toplevel(root)
table.viewdetail(view,group)
def adddetails(group):
add = Toplevel(root)
additemmens.addcategories(add,group)
root.title("Inventory management system")
root.geometry("1350x800+0+0")
root.iconbitmap('C:/Users/vrush/OneDrive/Desktop/Mini_Proj/loginicon.ico')
root.bg=ImageTk.PhotoImage(file="C:/Users/vrush/OneDrive/Desktop/Mini_Proj/loginbgimg.png")
root.bg_image=Label(root, image=root.bg).place(x=0,y=0,relwidth=1,relheight=1)
lbltitle=Label(root,text="Clothing",bg="powder blue",fg="black",bd=20,relief=RIDGE,font=("times new roman",50,"bold"),padx=2,pady=6)
lbltitle.pack(side=TOP,fill=X)
#===============================ele=================================
Frameelectronic = LabelFrame(root,text="Women", bd=12,relief=RIDGE,padx=20,bg="powder blue",font=("times new roman",12,"bold"))
Frameelectronic.place(x=20,y=200,width=240,height=240)
buttonviewdetail = Button(root, text="View Details", padx=2, pady=2,bd=10,fg="white",bg="purple",font=("times new roman",12,"bold"),command=lambda :viewdetails("women"))
buttonviewdetail.place(x=75, y=250)
buttonadd = Button(root, text="QR Code", padx=2, pady=2,bd=10,fg="white",bg="purple",font=("times new roman",12,"bold"),command=lambda :qr("women"))
buttonadd.place(x=85, y=370)
buttonadddetail = Button(root, text="Add Details", padx=2, pady=2, bd=10, fg="white", bg="purple",
font=("times new roman", 12, "bold"),command=lambda: adddetails("women"))
buttonadddetail.place(x=77, y=310)
#===================================== clothing =========================================
Frameclothing = LabelFrame(root, text="Men", bd=12, relief=RIDGE, padx=20, bg="powder blue",
font=("times new roman", 12, "bold"))
Frameclothing.place(x=350, y=200, width=240, height=240)
buttonviewdetail = Button(root, text="View Details", padx=2, pady=2, bd=10, fg="white", bg="purple",
font=("times new roman", 12, "bold"),command=lambda :viewdetails("men"))
buttonviewdetail.place(x=405, y=250)
buttonadd = Button(root, text="QR Code", padx=2, pady=2, bd=10, fg="white", bg="purple",
font=("times new roman", 12, "bold"),command=lambda: qr("men"))
buttonadd.place(x=415, y=370)
buttonadddetail = Button(root, text="Add Details", padx=2, pady=2, bd=10, fg="white", bg="purple",
font=("times new roman", 12, "bold"),command=lambda: adddetails("men"))
buttonadddetail.place(x=407, y=310)
#=====================================grocery =====================================
Framegrocery = LabelFrame(root, text="Children", bd=12, relief=RIDGE, padx=20, bg="powder blue",
font=("times new roman", 12, "bold"))
Framegrocery.place(x=685, y=200, width=240, height=240)
buttonviewdetail = Button(root, text="View Details", padx=2, pady=2, bd=10, fg="white", bg="purple",
font=("times new roman", 12, "bold"),command=lambda :viewdetails("children"))
buttonviewdetail.place(x=745, y=250)
buttonadd = Button(root, text="QR Code", padx=2, pady=2, bd=10, fg="white", bg="purple",
font=("times new roman", 12, "bold"),command=lambda: qr("children"))
buttonadd.place(x=755, y=370)
buttonadddetail = Button(root, text="Add Details", padx=2, pady=2, bd=10, fg="white", bg="purple",
font=("times new roman", 12, "bold"),command=lambda: adddetails("children"))
buttonadddetail.place(x=747, y=310)
#add category ==============================================================================
Frameaddcategory = LabelFrame(root, text="Add Item", bd=12, relief=RIDGE, padx=20, bg="powder blue",
font=("times new roman", 12, "bold"))
Frameaddcategory.place(x=1025, y=200, width=240, height=240)
buttonviewdetail = Button(root, text="Add Item", padx=10, pady=10, bd=10, fg="white", bg="purple",
font=("times new roman", 12, "bold"))
buttonviewdetail.place(x=1090, y=280)
root.mainloop()