photons.plugins.black_screen module

Plugin that is just a widget with a black background.

class photons.plugins.black_screen.BlackScreen(parent, **kwargs)[source]

Bases: BasePlugin

Make the desktop screen black.

Parameters:
  • parent (MainWindow) – The main window.

  • **kwargs – All keyword arguments are passed to super().

toggle()[source]

Toggle between full screen and normal display.

Return type:

None

mousePressEvent(event)[source]

Overrides QtWidgets.QWidget.mousePressEvent().

Return type:

None

keyPressEvent(event)[source]

Overrides QtWidgets.QWidget.keyPressEvent().

Return type:

None