What aspect of it is "not working"? The button slot is never called, a new row is not added, the new row is not added at the end...