Page 676 - 3-3
P. 676

# 최대화하여 보여줌


                            self.close()
                            # 현재 창 숨김


                    def GotoMainForm(self):
                    # 처음으로를 눌렀을 때


                            self.mw1 = MainForm()
                            # 초기화면을 염


                            self.mw1.showFullScreen()
                            # 최대화하여 보여줌


                            self.close()
                            # 현재 창 숨김


            class OutForm(QtWidgets.QDialog):
            # 퇴실할 때 화면


                    def __init__(self, parent=None):
                    # 객체 생성


                            QtWidgets.QDialog.__init__(self, parent)
                            # 상속받지 않음
                            self.ui = uic.loadUi("OutForm.ui",self)


                            current_class_t=open("current_class.txt",'r')
                            # 현재 교시 텍스트 파일 염


                            current_class=current_class_t.read()
                            #current_class 에 현재 교시를 넣음


                            self.ui.Informlabel.setText(" 현재 %c 교시 진행 중 입니다"%(current_class))
                            #UI 의 정보라벨에 몇 교시인지 출력함


                    @pyqtSlot()
                    #( 시그널 슬롯 이벤트가 발생되었을 때&  )


                    def Sick_Leave(self):
                    # 질병 조퇴를 할 경우


                            status_reason_input('2','0')
                            # 질병 조퇴를 의미하는 2 0          을 상태와 사유에 넣음




                                                        - 676 -
   671   672   673   674   675   676   677   678   679   680   681