Commit Graph
18 Commits
Author SHA1 Message Date
Leonardo Zide 61be531444 Manage piece data ownership with scoped asset references
Replace manual piece-data retain/release bookkeeping with shared copyable
asset-reference handles. Pieces, models, selection, minifigs, thumbnails,
and stored insertion previews retain their dependencies explicitly, while
transient queries continue to borrow pointers.

Separate registered lookup and acquisition from asynchronous load requests
and explicit readiness waits. Keep loader-held references through work and
notification delivery, resetting shared request handles on the UI thread
and guarding callback-triggered library teardown.

Validated with the Qt 6.10 debug build and 26 offscreen lifecycle checks,
including cancellation, stale requests, copy/move operations, model/preview
teardown, undo, project merge/export, and loader shutdown.
2026-10-19 10:02:26 -07:00
Leonardo Zide 7bc6c018b1 Rename PieceInfo to lcPieceData
Use PieceData consistently for the shared part/model record, its related
APIs and variables, and its source files. Keep the existing reference
counting and loading behavior so ownership and readiness changes can be
reviewed separately.
2026-10-18 23:22:28 -07:00
Leonardo Zide a8e37df8ce Whitespace cleanup. 2026-03-10 21:11:40 -07:00
Leonardo Zide 3ddeb8cfbd Use the part picker widget on the replace widget. 2026-02-16 15:19:56 -08:00
Leonardo Zide e69bbf5460 Removed action icons in the parts widget edits. 2024-10-16 18:17:00 -07:00
Leonardo Zide cba4dfb468 Added missing tooltips. 2024-01-15 10:18:50 -08:00
Leonardo Zide c75c645675 Added close button to find/replace. 2024-01-14 19:34:01 -08:00
Leonardo Zide 9430e339c9 Use lcPieceIdStringModel to make the replace window load faster. 2024-01-14 19:29:25 -08:00
Leonardo Zide 2f034c1763 Updated file names. 2023-05-15 21:12:08 -07:00
Leonardo Zide bda1acf7a5 Updated to coding standards. 2023-05-15 21:02:17 -07:00
Leonardo f033578abc Keep find next working after closing the find widget. 2021-02-01 14:12:03 -08:00
Leonardo Zide 680511879a Removed replace checkboxes. 2021-01-31 17:49:22 -08:00
Leonardo Zide c182daa10d Removed find color checkbox. 2021-01-31 17:32:38 -08:00
Leonardo Zide dc0ffbc8bb Removed Select By Color. 2021-01-31 12:23:28 -08:00
Leonardo Zide 3bee3a2bcf Removed the find widget part checkbox. 2021-01-31 12:05:15 -08:00
Leonardo Zide 6a2c8a715e Added find all. 2021-01-31 11:02:50 -08:00
Leonardo Zide 7f0ed057b6 Added find next icon. 2021-01-30 18:03:35 -08:00
Leonardo Zide b74eb3a81e New find/replace widget. 2021-01-30 15:37:17 -08:00