Is there a class that lets me use the same rubber band used on Windows Desktop? It’s something like this:

If you see closely it’s when you keep the mouse pressed and drag it over the Windows Desktop to select files.
What i need to do is to display some Buttons on that Widget and then if i want to select them all with the method i shown above.
Your image/video didn’t show up.EDIT: That is a very simple image… I thought it didn’t show up at first.Here is something in the direction of what you want:
http://qt-project.org/doc/qt-4.8/qrubberband.html#details