Page 215 - 2020학년도 MDP과제발표회 자료집 (통신과) (3)
P. 215

button=self.num_pushbutton_4:  self.NumClicked(state,  button))
            self.num_pushbutton_5.clicked.connect(lambda
            state,

            button=self.num_pushbutton_5:  self.NumClicked(state,  button))
            self.num_pushbutton_6.clicked.connect(lambda
            state,
            button=self.num_pushbutton_6:  self.NumClicked(state,  button))

            self.num_pushbutton_7.clicked.connect(lambda
            state,
            button=self.num_pushbutton_7:  self.NumClicked(state,  button))
            self.num_pushbutton_8.clicked.connect(lambda
            state,

            button=self.num_pushbutton_8:  self.NumClicked(state,  button))
            self.num_pushbutton_9.clicked.connect(lambda
            state,
            button=self.num_pushbutton_9:  self.NumClicked(state,  button))

            self.num_pushbutton_0.clicked.connect(lambda
            state,
            button=self.num_pushbutton_0:  self.NumClicked(state,  button))


            self.del_pushbutton.clicked.connect(self.Delete)  #delete  버튼과  연  결된  함수
            self.home_pushbutton.clicked.connect(self.Back)  #  home  button    과  연결된  함수



            #   키패드버튼  이미지  self.num_pushbutton_1.setIcon(QIcon(QPixmap("n1.png")))
            self.num_pushbutton_2.setIcon(QIcon(QPixmap("n2.png")))
            self.num_pushbutton_3.setIcon(QIcon(QPixmap("n3.png")))

            self.num_pushbutton_4.setIcon(QIcon(QPixmap("n4.png")))
            self.num_pushbutton_5.setIcon(QIcon(QPixmap("n5.png")))
            self.num_pushbutton_6.setIcon(QIcon(QPixmap("n6.png")))
            self.num_pushbutton_7.setIcon(QIcon(QPixmap("n7.png")))
            self.num_pushbutton_8.setIcon(QIcon(QPixmap("n8.png")))
            self.num_pushbutton_9.setIcon(QIcon(QPixmap("n9.png")))

            self.num_pushbutton_0.setIcon(QIcon(QPixmap("n0.png")))
            self.num_pushbutton_1.setIconSize(QSize(80,80))



            s e l f . n u m _ p u s h b u t t o n _ 2 . s e t I c o n S i z e ( Q S i z e ( 8 0 , 8 0 ) )
            s e l f . n u m _ p u s h b u t t o n _ 3 . s e t I c o n S i z e ( Q S i z e ( 8 0 , 8 0 ) )
            s e l f . n u m _ p u s h b u t t o n _ 4 . s e t I c o n S i z e ( Q S i z e ( 8 0 , 8 0 ) )
            s e l f . n u m _ p u s h b u t t o n _ 5 . s e t I c o n S i z e ( Q S i z e ( 8 0 , 8 0 ) )

            s e l f . n u m _ p u s h b u t t o n _ 6 . s e t I c o n S i z e ( Q S i z e ( 8 0 , 8 0 ) )



                                                         -  224  -
   210   211   212   213   214   215   216   217   218   219   220