new form created in main form is not defined
Question:
I created a class of MainWindow and a class of FirstParty which is a second form. I created a object of FirstParty with the name of firstPartyForm in MainWindow class but when i run my program it shows that the firstPartyForm is not defined do you mean FirstParty.
Answers:
check your AddFirstParty.ui file, probably there is no firstPartyForm name
I think it is because you are not using self with firstPartyForm.
Try self.firstPartyForm
I created a class of MainWindow and a class of FirstParty which is a second form. I created a object of FirstParty with the name of firstPartyForm in MainWindow class but when i run my program it shows that the firstPartyForm is not defined do you mean FirstParty.
check your AddFirstParty.ui file, probably there is no firstPartyForm name
I think it is because you are not using self with firstPartyForm.
Try self.firstPartyForm