'Called after an item is added to a GLViewWidget.
The widget\'s GL context is made current before this method is called.
(So this would be an appropriate time to generate lists, upload textures, etc.)'

def initializeGL(self):

    pass
