-
Notifications
You must be signed in to change notification settings - Fork 0
/
RegisterComplain.py
72 lines (46 loc) · 2.13 KB
/
RegisterComplain.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
from tkinter import *
from tkinter.font import Font
root = Tk()
root.title("Compalin Registration")
titleframe = Frame(root, width=30, height=30)
title_font = Font(family="Times New Roman", size=14)
title_name = Label(titleframe, text="Register Complain", font=title_font)
title_name.pack()
titleframe.pack()
# ---------STATION INFORMATION-----
frame1 = Frame(root, width=30, height=30, pady=15)
frame1.pack()
label_font = Font(family="Times New Roman", size=13)
station_name = Label(frame1, text="Station Name ", font=label_font).grid(row=0, column=0)
enter_station_name = Entry(frame1).grid(row=0, column=1)
Label(frame1).grid(row=1, column=1)
station_state = Label(frame1, text="Station State ", font=label_font).grid(row=2, column=0)
enter_station_name = Entry(frame1).grid(row=2, column=1)
Label(frame1).grid(row=3, column=3)
station_area = Label(frame1, text="Station Area ", font=label_font).grid(row=4, column=0)
enter_station_area = Entry(frame1).grid(row=4, column=1)
Label(frame1).grid(row=5, column=5)
station_postalcode = Label(frame1, text="Station Postal Code ", font=label_font).grid(row=6, column=0)
enter_station_postalcode = Entry(frame1).grid(row=6, column=1)
# -----RegisterComplain
frame2 = Frame(root)
frame2.pack()
label_font = Font(family="Times New Roman", size=14)
vname = Label(frame2, text="enter victim name ", font=label_font, anchor=NW)
vname.grid(row=0, column=0)
enter_victim_name = Entry(frame2).grid(row=0, column=1)
lab2 = Label(frame2, anchor=NW).grid(row=1, column=1)
wname = Label(frame2, text="enter witness name", font=label_font, anchor=NW)
wname.grid(row=3, column=0)
enter_victim_name = Entry(frame2).grid(row=3, column=1)
lab2 = Label(frame2, anchor=NW).grid(row=4, column=4)
comp = Label(frame2, text="enter your complain statement", font=label_font, anchor=NW)
comp.grid(row=5, column=0)
f4 = Frame(root)
f4.pack()
txt_font = Font(family="Times New Roman", size=10)
enter_your_complain_statement = Text(f4, width=90, height=12, wrap=WORD,
padx=7, pady=7, bd=5, font=txt_font)
enter_your_complain_statement.pack()
root.geometry("600x650+180+10")
root.mainloop()