Page 380 - MDP2020-3
P. 380

374
                      |    인천전자마이스터고등학교  ·············································································································

                            labelExit  =  Label(frameExit,  image=imageExit,  bg=statusButtonColor)
                            labelExit.place(x=40,  y=30)

                            frameExit.bind("<Button-1>",  executeExit)
                            labelExit.bind("<Button-1>",  executeExit)
                            textExit  =  Label(frameExit,  font=statusFont,  text="퇴근",  bg=statusButtonColor,
            fg="white")
                            textExit.place(x=70,  y=160)

                            textExit.bind("<Button-1>",  executeExit)


                            if  lPersonNums[num  -  1]['Status']  ==  '재실':
                                    starLabel  =  Label(frameEnter,  width=7,  height=3,  bg="yellow")
                                    starLabel.place(x=70,  y=210)

                            elif  lPersonNums[num  -  1]['Status']  ==  '출장':
                                    starLabel  =  Label(frameBusiness,  width=7,  height=3,  bg="yellow")
                                    starLabel.place(x=70,  y=210)
                            elif  lPersonNums[num  -  1]['Status']  ==  '외출':
                                    starLabel  =  Label(frameSemiExit,  width=7,  height=3,  bg="yellow")

                                    starLabel.place(x=70,  y=210)
                            elif  lPersonNums[num  -  1]['Status']  ==  '퇴근':
                                    starLabel  =  Label(frameExit,  width=7,  height=3,  bg="yellow")
                                    starLabel.place(x=70,  y=210)





            def  resetList():
                    global  listToggle,  started,  sqlDex
                    listScroll.delete(0,  len(personNums)  +  1)
                    listToggle  =  True

                    started  =  False
                    sqlDex  =  False




            def  listAllTime():

                    global  exitImage,  statusButtonColor,  l2Font,  personNums,  barColor,  listImage
                    listWindow  =  Toplevel(frame,  bg=numsColor)
                    listWindow.title("시간  확인  창")
                    listWindow.overrideredirect(True)
                    listWindow.geometry("1280x720+0+0")

                    listWindow.lift()


                    def  closeExecute2():
                            listWindow.quit()
   375   376   377   378   379   380   381   382   383   384   385