Home > other >  Python's PyQt5 QtableWidget inspect the status of the checkbox in a table
Python's PyQt5 QtableWidget inspect the status of the checkbox in a table

Time:09-29

Self. SetCellWidet (0, 0, QcheckBox ()), I'm form 0 0 put a check box, how to detect his status?

CodePudding user response:

With q, and tried several kinds of methods are not line, can only detection did not check the status, check the state of detection

CodePudding user response:

The check box when I was a new record object (such as within a list), and read it later

CodePudding user response:

Self. CellWidget (0, 0). The isChecked ()
  • Related