libpqq: Qt Extension Layers for Demand-Driven Updating and for Automated Testing Using Capture and Replay
The C++ library libpqq extends the graphical user interface (GUI) widget library Qt for demand-driven updating and for automated replay. Views are updated on demand: when a parameter changes, a global remake cycle asks all visible views to refresh, and each view retrieves its data lazily, so that recomputation happens only where needed, and only once even in diamond-shaped dependency graphs. The screen-refresh glitches that arise in push-based designs when large datasets are reloaded cannot occur. No dependency is registered by hand: data caches record, while they compute, which cells they read, and recompute themselves whenever one of those has changed. Every user interaction can be logged as a command and replayed, so that the full GUI can be tested automatically. libpqq consists of three modules. Module Cells, free of Qt, provides the parameter cells and the self-validating data caches. Module Qdyn provides the enhanced Qt widgets and the remake cycle. Module Qcr wraps the Qdyn widgets with logging and replay.
Authors
- Joachim Wuttke (ORCID: https://orcid.org/0000-0002-4028-1447)
Institutions
- Forschungszentrum Jülich (DE)
Publication Details
- Journal
- Journal of Open Research Software
- Published
- 2026-12-01
- DOI
- https://doi.org/10.5334/jors.739
- Primary Topic
- Scientific Computing and Data Management
- Type
- article
- Field-Weighted Citation Impact
- 0.00