Hi everybody,
With which components can I build something similar to the Qt Creators's resource selector (a draggable list of icons presented like files icons in file explorer) ?
test.png
Thanks.
Hi everybody,
With which components can I build something similar to the Qt Creators's resource selector (a draggable list of icons presented like files icons in file explorer) ?
test.png
Thanks.
You could probably use the FlowLayout class (from the Qt Flow Layout example) to do the layout. The Draggable Icons example and the Fridge Magnets example are good places to start for implementing the drag and drop features. In your case, you probably won't be dragging something out of one widget and into another, but you'll create a duplicate and drag that instead. The Drop Site example will probably help there.
<=== The Great Pumpkin says ===>
Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.
embeddedmz (5th May 2020)
Bookmarks