-
Notifications
You must be signed in to change notification settings - Fork 66
LayerStackModel
thorbenk edited this page Jul 24, 2011
·
5 revisions
Derives from QAbstractListModel. It is the model for the following widget:
The LayerStackModel holds a stack of Layer
Defines the order in which the compositing happens. Is the model for the LayerStackWidget.
Prototype code can be found at https://github.com/thorbenk/overlaywidget/blob/master/overlaywidget.py, old code at https://github.com/Ilastik/ilastik/blob/master/ilastik/gui/overlayWidget.py
- functions
canMoveSelectionUp()
select(overlay)
canMoveSelectionDown()
removeSelection()
moveSelectionUp()
moveSelecitonDown()
-
addOverlay(overlay)
-> returns new Layer instance bringToFront(overflay)