Re: Drawing a variable number of rectangles every x seconds (Dynamic Objects)
Originally Posted by xdn
I have a stream of images on top of which rectangles are shown to mark certain regions/objects. As new regions/objects show up and others disappear, I need to add/destroy rectangles. Technically there is an upper limit to the number of rectangles but I'd rather have them created dynamically.
You have to remember creating/destroying is always slower than showing/hiding. It's a trade-off decision you have to make.
As for keeping all the rectangles -- you can create a property that will hold a list of items.
Your biological and technological distinctiveness will be added to our own. Resistance is futile.
Please ask Qt related questions on the forum and not using private messages or visitor messages.
Bookmarks