mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-10-19 20:44:16 +02:00
24c90cc049
Linux build and tests / Build and test (Qt 6, Debug) (push) Failing after 1m41s
Opening the terminal block manager builds the folios not built yet (lazy folios). This is done in one go without running the event loop, so the window system said the opening message was "not responding". - QETProject::setFolioBuildObserver(): a function called after each folio built by buildFolios(), with the number of folios built and to build. - The manager uses it to show "Reading folio n of N..." with a real progress bar, and runs the event loop (without the user input) between two folios, so the window system keeps getting answers. - The autosave skips its turn while folios are being built, since the event loop can now run then. - The opening message only has a title bar: nothing to minimize, maximize or close.