The current GraphicsScene class has the following method:
def getViewWidget(self):
return self.views()[0]
But calling it without having created a GraphicsView causes a IndexError because self.views() returns a empty list. Shall the method return None in case it has no view associated?