Fun with PWM  0.32
TkCameraManager.TkCameraManager Class Reference

UI for camera configuration. More...

Inheritance diagram for TkCameraManager.TkCameraManager:
TkBlock.TkPage TkBlock.TkBlock

Public Member Functions

def __init__ (self, parent, gui, options)
 
def setup (self)
 
def cameraRequirements (self)
 
def cameraManager (self)
 
def serviceManager (self, rootElem)
 
def viewFinder (self, rootElem)
 
def cameraProfile (self, rootElem)
 
def cameraProfiles (self, rootElem)
 
def saveProfile (self)
 
def deleteProfile (self, profile)
 
def OnStartClick (self)
 
def OnStopClick (self)
 
def OnToggleAutostartClick (self)
 
def OnManageClick (self)
 
def OnStillModeClick (self)
 
def OnVideoModeClick (self)
 
def OnVfRefreshClick (self)
 
def OnResRefreshClick (self)
 
def OnFpsRefreshClick (self)
 
def OnFormatRefreshClick (self)
 
def OnRotRefreshClick (self)
 
def OnIsoRefreshClick (self)
 
def OnEffectRefreshClick (self)
 
def OnExpModeRefreshClick (self)
 
def OnAwbModeRefreshClick (self)
 
def OnToggleCamLed (self)
 
def OnToggleFliph (self)
 
def OnToggleFlipv (self)
 
def OnToggleVstab (self)
 
def OnSharpnessChange (self, newSharpness)
 
def OnContrastChange (self, newContrast)
 
def OnBrightnessChange (self, newBrightness)
 
def OnSaturationChange (self, newSaturation)
 
def OnZoomChange (self, newZoom)
 
def OnAwbRedChange (self, newRed)
 
def OnAwbBlueChange (self, newBlue)
 
def OnActivateProfileClick (self, index)
 
def OnSaveProfileClick (self)
 
def OnSaveProfileConfirmClick (self)
 
def OnDeleteProfileClick (self, index)
 
def OnDeleteProfileConfirmClick (self, index)
 
def OnCaptureClick (self)
 
def OnStreamClick (self)
 
def updateProfiles (self)
 
def updateCurrentProfile (self)
 
def updateAwbGains (self)
 
def updateCamBg (self)
 
def updateCapture (self)
 
def updateServiceManager (self)
 
def close (self)
 
- Public Member Functions inherited from TkBlock.TkPage
def __init__ (self, parent, gui, options)
 
def open (self)
 
- Public Member Functions inherited from TkBlock.TkBlock
def __init__ (self, parent, gui, options)
 
def setup (self)
 
def initWidget (self)
 
def addMenu (self, menu, label="-")
 
def open (self)
 
def close (self)
 
def genericView (self, parent, value)
 
def numberView (self, parent, value)
 
def stringView (self, parent, value)
 
def dictView (self, parent, value)
 
def iterView (self, parent, value)
 

Public Attributes

 kbthread
 
 camera
 
 tips
 
 gridrow
 
 autostart
 
 profiles
 
- Public Attributes inherited from TkBlock.TkBlock
 gui
 
 parent
 
 height
 
 variables
 
 notifier
 
 colours
 
 fonts
 
 images
 
 wrap
 
 canvas
 
 widget
 
 yScroller
 
 xScroller
 
 widgets
 
 gridrow
 

Detailed Description

UI for camera configuration.

Constructor & Destructor Documentation

§ __init__()

def TkCameraManager.TkCameraManager.__init__ (   self,
  parent,
  gui,
  options 
)
Initializes the TkCameraManager object

@param parent
@param gui
@param options

Member Function Documentation

§ cameraManager()

def TkCameraManager.TkCameraManager.cameraManager (   self)
view - displays the manage page

§ cameraProfile()

def TkCameraManager.TkCameraManager.cameraProfile (   self,
  rootElem 
)
partial view - displays the current profile

@param rootElem

@return Frame

§ cameraProfiles()

def TkCameraManager.TkCameraManager.cameraProfiles (   self,
  rootElem 
)
partial view - list camera profiles

@param rootElem

@return Frame

§ cameraRequirements()

def TkCameraManager.TkCameraManager.cameraRequirements (   self)
view - displays the camera requirements

§ close()

def TkCameraManager.TkCameraManager.close (   self)
Override of TkPage.close()
Hides the viewfinder

§ deleteProfile()

def TkCameraManager.TkCameraManager.deleteProfile (   self,
  profile 
)
view - delete profile

@param profile

§ OnActivateProfileClick()

def TkCameraManager.TkCameraManager.OnActivateProfileClick (   self,
  index 
)
action - Loads the settings from a profile

§ OnAwbBlueChange()

def TkCameraManager.TkCameraManager.OnAwbBlueChange (   self,
  newBlue 
)
action - Handles changes with the awb blue slider

§ OnAwbModeRefreshClick()

def TkCameraManager.TkCameraManager.OnAwbModeRefreshClick (   self)
action - Applies AWB option

§ OnAwbRedChange()

def TkCameraManager.TkCameraManager.OnAwbRedChange (   self,
  newRed 
)
action - Handles changes with the awb red slider

§ OnBrightnessChange()

def TkCameraManager.TkCameraManager.OnBrightnessChange (   self,
  newBrightness 
)
action - Handles changes with the brightness slider

§ OnCaptureClick()

def TkCameraManager.TkCameraManager.OnCaptureClick (   self)
action - Triggers still / video capture

§ OnContrastChange()

def TkCameraManager.TkCameraManager.OnContrastChange (   self,
  newContrast 
)
action - Handles changes with the contrast slider

§ OnDeleteProfileClick()

def TkCameraManager.TkCameraManager.OnDeleteProfileClick (   self,
  index 
)
action - Displays the delete profile view

§ OnDeleteProfileConfirmClick()

def TkCameraManager.TkCameraManager.OnDeleteProfileConfirmClick (   self,
  index 
)
action - Deletes a camera profile

§ OnEffectRefreshClick()

def TkCameraManager.TkCameraManager.OnEffectRefreshClick (   self)
action - Applies effect option

§ OnExpModeRefreshClick()

def TkCameraManager.TkCameraManager.OnExpModeRefreshClick (   self)
action - Applies exposure option

§ OnFormatRefreshClick()

def TkCameraManager.TkCameraManager.OnFormatRefreshClick (   self)
action - Applies file format option

§ OnFpsRefreshClick()

def TkCameraManager.TkCameraManager.OnFpsRefreshClick (   self)
action - Applies fps option

§ OnIsoRefreshClick()

def TkCameraManager.TkCameraManager.OnIsoRefreshClick (   self)
action - Applies ISO option

§ OnManageClick()

def TkCameraManager.TkCameraManager.OnManageClick (   self)
action - opens the camera manager if dependencies have been installed and camera requirements are met

§ OnResRefreshClick()

def TkCameraManager.TkCameraManager.OnResRefreshClick (   self)
action - Applies resolution option

§ OnRotRefreshClick()

def TkCameraManager.TkCameraManager.OnRotRefreshClick (   self)
action - Applies rotation option

§ OnSaturationChange()

def TkCameraManager.TkCameraManager.OnSaturationChange (   self,
  newSaturation 
)
action - Handles changes with the saturation slider

§ OnSaveProfileClick()

def TkCameraManager.TkCameraManager.OnSaveProfileClick (   self)
action - Displays the save profile view

§ OnSaveProfileConfirmClick()

def TkCameraManager.TkCameraManager.OnSaveProfileConfirmClick (   self)
action - Saves a profile

§ OnSharpnessChange()

def TkCameraManager.TkCameraManager.OnSharpnessChange (   self,
  newSharpness 
)
action - Handles changes with the sharpness slider

§ OnStartClick()

def TkCameraManager.TkCameraManager.OnStartClick (   self)
action - starts the camera service

§ OnStillModeClick()

def TkCameraManager.TkCameraManager.OnStillModeClick (   self)
action - Sets profile to still mode

§ OnStopClick()

def TkCameraManager.TkCameraManager.OnStopClick (   self)
action - stops the camera service

§ OnStreamClick()

def TkCameraManager.TkCameraManager.OnStreamClick (   self)
action - Toggles stream

§ OnToggleAutostartClick()

def TkCameraManager.TkCameraManager.OnToggleAutostartClick (   self)
action - toggle service auto start

§ OnToggleCamLed()

def TkCameraManager.TkCameraManager.OnToggleCamLed (   self)
action - Toggles camera LED (camera v1 only)

§ OnToggleFliph()

def TkCameraManager.TkCameraManager.OnToggleFliph (   self)
action - Toggles flip horizontal

§ OnToggleFlipv()

def TkCameraManager.TkCameraManager.OnToggleFlipv (   self)
action - Toggles flip vertical

§ OnToggleVstab()

def TkCameraManager.TkCameraManager.OnToggleVstab (   self)
action - Toggles video stabilization

§ OnVfRefreshClick()

def TkCameraManager.TkCameraManager.OnVfRefreshClick (   self)
action - Applies viewfinder resolution option

§ OnVideoModeClick()

def TkCameraManager.TkCameraManager.OnVideoModeClick (   self)
action - Sets profile to video mode

§ OnZoomChange()

def TkCameraManager.TkCameraManager.OnZoomChange (   self,
  newZoom 
)
action - Handles changes with the zoom sliders

§ saveProfile()

def TkCameraManager.TkCameraManager.saveProfile (   self)
view - save profile

§ serviceManager()

def TkCameraManager.TkCameraManager.serviceManager (   self,
  rootElem 
)
view - displays the camera service manager

@param rootElem

@return Frame

§ setup()

def TkCameraManager.TkCameraManager.setup (   self)
setup gui menu

§ updateAwbGains()

def TkCameraManager.TkCameraManager.updateAwbGains (   self)
util - Updates the Auto White Balance sliders

§ updateCamBg()

def TkCameraManager.TkCameraManager.updateCamBg (   self)
util - Updates the viewfinder background

§ updateCapture()

def TkCameraManager.TkCameraManager.updateCapture (   self)
util - Updates the capture UI

§ updateCurrentProfile()

def TkCameraManager.TkCameraManager.updateCurrentProfile (   self)
util - Updates the current profile UI

§ updateProfiles()

def TkCameraManager.TkCameraManager.updateProfiles (   self)
util - Updates the profiles UI

§ updateServiceManager()

def TkCameraManager.TkCameraManager.updateServiceManager (   self)
util - updates the service manager UI

§ viewFinder()

def TkCameraManager.TkCameraManager.viewFinder (   self,
  rootElem 
)
partial view - displays view finder

@param rootElem

@return Frame

The documentation for this class was generated from the following file: