in PySide6 I am using this module def maximizeonscreen(self): screen =…
- User
in PySide6 I am using this module def maximize_on_screen(self): screen = QGuiApplication.primaryScreen() screen_geometry = screen.availableGeometry() # Excludes taskbar self.setGeometry(screen_geometry). This is the main program which calling number of child programs. Can I store the screen geometry as a global variable so that it is accessible for all child form. The logic is - for the current session by a user the screen geometry is not going to change and the same variable can be used as reference for plotting other child programs
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.