Here some snippets of the code. VLCPlayer Constructor: VLCPlayer::VLCPlayer(QWidget *parent, QRect *_vidRect, bool _fullscreen, int _controllerHeight, int _movieWidth, int _movieHeight, int _trackNumber, bool prevBtn, bool nextBtn, float appVol, float appSavedVol, bool mute) : QWidget(parent) { ... ...