OpenGL with DB splitted

Database created in MainWindow and passed to the GLWidget