def goTemp(self): data = self.parent.getCurrentUser() if (data.type() == "STUDENT"): self.createM = sendMessageUI(parent = self.parent) self.createM.show() elif (data.type() == "PROFESSOR"): self.createM = sendMessageUI(parent = self.parent) self.createM.show() elif (data.type() == "ADMIN"): self.parent.changePageLoginSection("addcourse")
def goTemp(self): self.createM = sendMessageUI(parent=self.parent) self.createM.show()
def createMessage(self): self.createM = sendMessageUI(parent=self.parent) self.createM.show()
def createMessage(self): self.createM = sendMessageUI(id="ALL USER", bulk=self.userID, parent=self.parent) self.createM.show()