Home > other >  Pyqt5 tableWidget judge question??
Pyqt5 tableWidget judge question??

Time:03-06

Have an empty tableWidget control tableWidget again after I set the button create forms,
I think excuse me, I how to write a conditional tableWidget controls is empty?

If self. TableWidget. Text () because there is no content,,, all the complains,,,

No item or should be how to determine tableWidget controls, not judge whether the item is null

How to write?



Thank you very much!
  • Related