Get position of a QWidget in a QGridLayout