1 Attachment(s)
How to draw rectangle with moveable edge
Hi,
I want to create an application that have one main rectangle and it consist more than one rectangle inside the main rectangle with moveable edge and also want to shift one inner rectangle up and down inside the main rectangle. Just like the DiskUtily but diskutily does not have the shift facility.
Thanks & Regards
Sagir Ahmed
Re: How to draw rectangle with moveable edge
I guess what you need is QListWidget. The items can be moved within the list, you will only need to set some property.
Have a look at QListWidgetand QListWidgetItem
Re: How to draw rectangle with moveable edge
I want to draw rectangles with moveable edge, I think it is used for item . Any other class can be used like QSplitter or QDockWidget. I want to know that can we move widget in QSplitter . I can able to resize the widget in Qsplitter but not able to shift or move up and down
Re: How to draw rectangle with moveable edge
Re: How to draw rectangle with moveable edge
I have draw rectangles using paintEvent but not able to move the edge and also not able to shift up and down.