Hello Everybody,
I am working on a project which need to show 5-10 graphics items just like stack... means each item will be displayed at the bottom of other item.
And this bunch of items need to be grouped together in a scroll area...
i am stuck somewhere to ass a scroll area in the QGraphicsScene and this scroll area contains QGraphicsItems...
like
// SCENE ->
+--------------------------------------------------------------------------------------+
| | ITEM | |
| | ITEM | |
| | ITEM | |
+--------------------------------------------------------------------------------------+
| | SCROLL AREA | |
| | | |
| +----------------------------------------------------------------------------------+ | |
| | | | |
| | ITEM | | |
| | | | |
| | | | |
| +----------------------------------------------------------------------------------+ | |
| | | |
| +----------------------------------------------------------------------------------+ | |
| | | | |
| | | | |
| | ITEM | | | < - Scroll Bar
| | | | |
| | | | |
| +----------------------------------------------------------------------------------+ | |
| | | |
| +----------------------------------------------------------------------------------+ | |
| | | | |
| | | | |
| | ITEM | | |
| | | | |
| +----------------------------------------------------------------------------------+ | |
+--------------------------------------------------------------------------------------+
// SCENE ->
+--------------------------------------------------------------------------------------+
| | ITEM | |
| | ITEM | |
| | ITEM | |
+--------------------------------------------------------------------------------------+
| | SCROLL AREA | |
| | | |
| +----------------------------------------------------------------------------------+ | |
| | | | |
| | ITEM | | |
| | | | |
| | | | |
| +----------------------------------------------------------------------------------+ | |
| | | |
| +----------------------------------------------------------------------------------+ | |
| | | | |
| | | | |
| | ITEM | | | < - Scroll Bar
| | | | |
| | | | |
| +----------------------------------------------------------------------------------+ | |
| | | |
| +----------------------------------------------------------------------------------+ | |
| | | | |
| | | | |
| | ITEM | | |
| | | | |
| +----------------------------------------------------------------------------------+ | |
+--------------------------------------------------------------------------------------+
To copy to clipboard, switch view to plain text mode
Bookmarks