Exemplo n.º 1
0
    def show_dependencies(self):
        """Show Spyder Dependencies dialog."""
        # This is here in case the user tries to display the dialog before
        # dependencies_thread has finished.
        if not dependencies.DEPENDENCIES:
            dependencies.declare_dependencies()

        dlg = DependenciesDialog(self)
        dlg.set_data(dependencies.DEPENDENCIES)
        dlg.show()
Exemplo n.º 2
0
def setup_dependencies(qtbot):
    """Set up dependency widget test."""
    widget = DependenciesDialog(None)
    qtbot.addWidget(widget)
    return widget
Exemplo n.º 3
0
 def show_dependencies(self):
     """Show Spyder Dependencies dialog."""
     dlg = DependenciesDialog(self)
     dlg.set_data(dependencies.DEPENDENCIES)
     dlg.show()