def OnChat(self): chat = Chat(self) chat.show()
def OnChat(self): chat = Chat(self.parent()) chat.show()