def setFullscreen(self, fullscreen):
if not fullscreen:<EOL><INDENT>self.ckBox_fullscreen.setChecked(False)<EOL>self.parent().showNormal()<EOL><DEDENT>else:<EOL><INDENT>self.ckBox_fullscreen.setChecked(True)<EOL>self.parent().showFullScreen()<EOL><DEDENT>
toggle between fullscreen and normal window