def returnBookButtonClicked(self):
     returnDialog = returnBookDialog(self.userId,self)
     returnDialog.return_book_success_signal.connect(self.borrowStatusView.returnedQuery)
     returnDialog.return_book_success_signal.connect(self.borrowStatusView.borrowedQuery)
     returnDialog.return_book_success_signal.connect(self.storageView.searchButtonClicked)
     returnDialog.show()
     returnDialog.exec_()
示例#2
0
 def returnBook(self):
     return_book = returnBookDialog()
     return_book.return_book_success_signal.connect(
         self.storageView.searchButtonClicked)
     return_book.show()
     return_book.exec_()