Made MapDisplay a child of QWidget and implement setGridSize()