these params should be "screenWidth" and "screenHeight" .... "widget" is a Qt specific term. Yes I realize that the viewport may not be the entire screen, but we use screenWidth and screenHeight elsewhere in this code to denote the same thing.