ImageHistoryPlugin module

filename:ImageHistoryPlugin.py
author:roar@tordivel.no
requirements:Scorpion 9.0.0.527 or higher

Scorpion plugin panel for showing image history list

1.0.0.5, 17jan2014, roar@tordivel.no:
  updated icons
1.0.0.4, 12sep2012, roar@tordivel.no:
  updates on afterInspect
1.0.0.3, 28aug2012, roar@tordivel.no:
  using SpeedButton
1.0.0.2, 30may2012, thor@tordivel.no:
         Configure changed to Folder
1.0.0.1, 30nov2011, roar@tordivel.no:
  initial version
class ImageHistoryPlugin.ImageHistoryPlugin(cntr, name)[source]

Bases: object

Scorpion GUI plugin for viewing image history

class HistoryItem(owner, offset, top)[source]

Bases: object

single history item controls container

update()[source]

update controls for actual item

ImageHistoryPlugin.__del__()[source]

do nessesary cleanup if any

ImageHistoryPlugin.__str__()[source]

return a unique persistance name for host application storage

ImageHistoryPlugin.createControls()[source]

create all historyitem controls

ImageHistoryPlugin.showControls()[source]

show buttons due to configuration

ImageHistoryPlugin.enableControls()[source]

enable buttons due to current selection and state

ImageHistoryPlugin.update()[source]

update controls due to imagebuffer state

ImageHistoryPlugin.bttnPanelResize(sender, args)[source]

resize controls

ImageHistoryPlugin.historyListChanged(ImageNo, Comment)[source]

callback when history changes

ImageHistoryPlugin.actionsAfterInspect()[source]
ImageHistoryPlugin.actionsBeforeStart()[source]

disable all buttons while running

ImageHistoryPlugin.actionsAfterStop()[source]

enable all buttons while not running

ImageHistoryPlugin.systemAccessControlChanged(settings, service)[source]

show configure button when entering either service or settings if showConfigure

ImageHistoryPlugin.bUpClick(sender, args)[source]

scroll up

ImageHistoryPlugin.bDownClick(sender, args)[source]

scroll down

ImageHistoryPlugin.bConfigureClick(seder, args)[source]
ImageHistoryPlugin.bSaveClick(sender, args)[source]

save selected image

ImageHistoryPlugin.bSaveAllClick(sender, args)[source]

save all images

ImageHistoryPlugin.bResetClick(sender, args)[source]

clear all history

ImageHistoryPlugin.getConfig()[source]

returns plugin configuration as string

ImageHistoryPlugin.setConfig(value)[source]

set plugin configuration from the string ‘value’

ImageHistoryPlugin.configure()[source]

launch an input dialog for editing plugin

ImageHistoryPlugin.CreatePlugin(hWnd, name='')[source]

Scorpion Plugin Stub - Required