INNER CODE UNIT · Python

quit

pairinteraction/pairinteraction · src/pairinteraction_gui/app.py:67

    def quit() -> None:
        """Quit the application."""
        logger.debug("Calling Application.quit().")
        MultiThreadWorker.terminate_all()
        QApplication.quit()
        logger.debug("Application.quit() done.")


class SplashScreen(QSplashScreen):
    """Startup splash screen with the PairInteraction logo."""

    def __init__(self) -> None:
        super().__init__()
        self.setWindowTitle("Launching the PairInteraction GUI")
        border = 16
        logo_size = 250
        full_size = logo_size + 2 * border
        pixmap = QPixmap(full_size, full_size)

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…