Exemple #1
0
def app(qtbot):
    app = MainWindow()
    qtbot.addWidget(app)
    app.show()
    app.load_images(fpath="tests/resources")

    # Clearing autoloaded project, must wait until
    # images are loaded in
    qtbot.wait(1000)
    app.clear_project()

    return app
Exemple #2
0
def app_anno(qtbot):
    app = MainWindow()
    qtbot.addWidget(app)
    app.show()
    app.load_images(fpath="tests/resources")
    return app