CameraEditPlugin module

filename:CameraEditPlugin.py
author:roar@tordivel.no
requirements:Scorpion 9.0.0.494 or higher

Scorpion Plugin for access to camera configuration

1.0.0.5, 11nov2015, RL: modified for autodoc
1.0.0.4, 10aug2012, RL:
  removed accessControl
  halign and valign replaces hcenter and vcenter
1.0.0.3, 06aug2012, RL:
  added vcenter and hcenter
1.0.0.2, 24dec2011, TV:
  enable buttons both in service and setting when init
  create standard header
1.0.0.1, 29sep2011, RL:
  created
class CameraEditPlugin.CameraEditPlugin(cntr, name)[source]

Bases: object

__str__()[source]

return a unique persistance name for host application storage

init()[source]

reset all content and add the description label

positionControls()[source]

set button positions

addBttn(caption, cam, tab)[source]

add a button to the plugin

getConfig()[source]

returns plugin configuration as xml

setConfig(value)[source]

set plugin configuration from the string ‘value’

configure()[source]

launch an input dialog for editing plugin

cntrResize(sender, args)[source]

reposition controls

bttnClick(sender, args)[source]

callback when user clicks a button

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

Scorpion Plugin Stub - Required