A QLineEdit *is not* a checkbox.

I used this code in my program.but it doesn't work .
Why not? What isn't working? If you don't show us any code, we could guess forever about what is wrong.