enigma2  2.6
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Components.MovieList.MovieListDB Class Reference
Inheritance diagram for Components.MovieList.MovieListDB:
Components.TemplatedMultiContentComponent.TemplatedMultiContentComponent Components.GUIComponent.GUIComponent

Public Member Functions

def __init__ (self, root, list_type=None, sort_type=None, descr_state=None)
 
def applySkin (self, desktop, parent)
 
def redrawList (self)
 
def connectSelChanged (self, fnc)
 
def disconnectSelChanged (self, fnc)
 
def selectionChanged (self)
 
def setListType (self, listType)
 
def setDescriptionState (self, val)
 
def setSortType (self, sortType)
 
def buildMovieListEntry (self, movieInfo)
 
def moveToIndex (self, index)
 
def getCurrentIndex (self)
 
def getCurrentEvent (self)
 
def getCurrent (self)
 
def postWidgetCreate (self, instance)
 
def preWidgetRemove (self, instance)
 
def onShow (self)
 
def reload (self, root=None, filter_tags=None)
 
def removeService (self, service)
 
def __len__ (self)
 
def load (self, root, filter_tags)
 
def moveTo (self, serviceref)
 
def moveDown (self)
 
- Public Member Functions inherited from Components.TemplatedMultiContentComponent.TemplatedMultiContentComponent
def __init__ (self)
 
def getList (self)
 
def setList (self, lst)
 
def applyTemplate (self, additional_locals={})
 
def initContent (self)
 
def setTemplate (self, style="default", force=False)
 
- Public Member Functions inherited from Components.GUIComponent.GUIComponent
def execBegin (self)
 
def execEnd (self)
 
def onHide (self)
 
def destroy (self)
 
def move (self, x, y=None)
 
def resize (self, x, y=None)
 
def setZPosition (self, z)
 
def show (self)
 
def hide (self)
 
def getVisible (self)
 
def setVisible (self, visible)
 
def setPosition (self, x, y)
 
def getPosition (self)
 
def getSize (self)
 
def GUIcreate (self, parent)
 
def GUIdelete (self)
 
def createWidget (self, parent)
 

Public Attributes

 virtualList
 
 list
 
 descr_state
 
 sort_type
 
 tags
 
 root
 
 filter_tags
 
 onSelectionChanged
 
 list_type
 
 selectionChanged_conn
 
 serviceHandler
 
- Public Attributes inherited from Components.TemplatedMultiContentComponent.TemplatedMultiContentComponent
 active_style
 
 selectionEnabled
 
 buildfunc
 
 l
 
 template
 
 scrollbarMode
 
- Public Attributes inherited from Components.GUIComponent.GUIComponent
 instance
 
 onVisibilityChange
 
 skinAttributes
 
 deprecationInfo
 
 width
 
 height
 

Static Public Attributes

int SORT_ALPHANUMERIC = 1
 
int SORT_RECORDED = 2
 
int LISTTYPE_ORIGINAL = 1
 
int LISTTYPE_COMPACT_DESCRIPTION = 2
 
int LISTTYPE_COMPACT = 3
 
int LISTTYPE_MINIMAL = 4
 
dictionary LIST_STYLES
 
int HIDE_DESCRIPTION = 1
 
int SHOW_DESCRIPTION = 2
 
int ENTRY_TYPE_FILE = 0
 
int ENTRY_TYPE_DIR = 1
 
int ENTRY_TYPE_VDIR = 2
 
int ENTRY_TYPE_UP = 4
 
int ENTRY_TYPE_VUP = 6
 
int ENTRY_TYPE_VIRTUAL = ENTRY_TYPE_VDIR | ENTRY_TYPE_VUP
 
 COMPONENT_ID = componentSizes.MOVIE_LIST
 
string default_template
 
 GUI_WIDGET = eListbox
 
- Static Public Attributes inherited from Components.TemplatedMultiContentComponent.TemplatedMultiContentComponent
string COMPONENT_ID = ""
 
string default_template = ""
 

Additional Inherited Members

- Properties inherited from Components.TemplatedMultiContentComponent.TemplatedMultiContentComponent
 list = property(getList, setList)
 
- Properties inherited from Components.GUIComponent.GUIComponent
 visible = property(getVisible, setVisible)
 
 position = property(getPosition, setPosition)
 

Constructor & Destructor Documentation

◆ __init__()

def Components.MovieList.MovieListDB.__init__ (   self,
  root,
  list_type = None,
  sort_type = None,
  descr_state = None 
)

Member Function Documentation

◆ __len__()

def Components.MovieList.MovieListDB.__len__ (   self)

◆ applySkin()

def Components.MovieList.MovieListDB.applySkin (   self,
  desktop,
  parent 
)

◆ buildMovieListEntry()

def Components.MovieList.MovieListDB.buildMovieListEntry (   self,
  movieInfo 
)

◆ connectSelChanged()

def Components.MovieList.MovieListDB.connectSelChanged (   self,
  fnc 
)

◆ disconnectSelChanged()

def Components.MovieList.MovieListDB.disconnectSelChanged (   self,
  fnc 
)

◆ getCurrent()

def Components.MovieList.MovieListDB.getCurrent (   self)

◆ getCurrentEvent()

def Components.MovieList.MovieListDB.getCurrentEvent (   self)

◆ getCurrentIndex()

def Components.MovieList.MovieListDB.getCurrentIndex (   self)

◆ load()

def Components.MovieList.MovieListDB.load (   self,
  root,
  filter_tags 
)

◆ moveDown()

def Components.MovieList.MovieListDB.moveDown (   self)

◆ moveTo()

def Components.MovieList.MovieListDB.moveTo (   self,
  serviceref 
)

◆ moveToIndex()

def Components.MovieList.MovieListDB.moveToIndex (   self,
  index 
)

◆ onShow()

def Components.MovieList.MovieListDB.onShow (   self)

◆ postWidgetCreate()

def Components.MovieList.MovieListDB.postWidgetCreate (   self,
  instance 
)

◆ preWidgetRemove()

def Components.MovieList.MovieListDB.preWidgetRemove (   self,
  instance 
)

◆ redrawList()

def Components.MovieList.MovieListDB.redrawList (   self)

◆ reload()

def Components.MovieList.MovieListDB.reload (   self,
  root = None,
  filter_tags = None 
)

◆ removeService()

def Components.MovieList.MovieListDB.removeService (   self,
  service 
)

◆ selectionChanged()

def Components.MovieList.MovieListDB.selectionChanged (   self)

◆ setDescriptionState()

def Components.MovieList.MovieListDB.setDescriptionState (   self,
  val 
)

◆ setListType()

def Components.MovieList.MovieListDB.setListType (   self,
  listType 
)

◆ setSortType()

def Components.MovieList.MovieListDB.setSortType (   self,
  sortType 
)

Member Data Documentation

◆ COMPONENT_ID

Components.MovieList.MovieListDB.COMPONENT_ID = componentSizes.MOVIE_LIST
static

◆ default_template

string Components.MovieList.MovieListDB.default_template
static

◆ descr_state

Components.MovieList.MovieListDB.descr_state

◆ ENTRY_TYPE_DIR

int Components.MovieList.MovieListDB.ENTRY_TYPE_DIR = 1
static

◆ ENTRY_TYPE_FILE

int Components.MovieList.MovieListDB.ENTRY_TYPE_FILE = 0
static

◆ ENTRY_TYPE_UP

int Components.MovieList.MovieListDB.ENTRY_TYPE_UP = 4
static

◆ ENTRY_TYPE_VDIR

int Components.MovieList.MovieListDB.ENTRY_TYPE_VDIR = 2
static

◆ ENTRY_TYPE_VIRTUAL

int Components.MovieList.MovieListDB.ENTRY_TYPE_VIRTUAL = ENTRY_TYPE_VDIR | ENTRY_TYPE_VUP
static

◆ ENTRY_TYPE_VUP

int Components.MovieList.MovieListDB.ENTRY_TYPE_VUP = 6
static

◆ filter_tags

Components.MovieList.MovieListDB.filter_tags

◆ GUI_WIDGET

Components.MovieList.MovieListDB.GUI_WIDGET = eListbox
static

◆ HIDE_DESCRIPTION

int Components.MovieList.MovieListDB.HIDE_DESCRIPTION = 1
static

◆ list

Components.MovieList.MovieListDB.list

◆ LIST_STYLES

dictionary Components.MovieList.MovieListDB.LIST_STYLES
static
Initial value:
= {
LISTTYPE_ORIGINAL : "default",
LISTTYPE_COMPACT_DESCRIPTION : "compact_description",
LISTTYPE_COMPACT : "compact",
LISTTYPE_MINIMAL : "minimal"
}

◆ list_type

Components.MovieList.MovieListDB.list_type

◆ LISTTYPE_COMPACT

int Components.MovieList.MovieListDB.LISTTYPE_COMPACT = 3
static

◆ LISTTYPE_COMPACT_DESCRIPTION

int Components.MovieList.MovieListDB.LISTTYPE_COMPACT_DESCRIPTION = 2
static

◆ LISTTYPE_MINIMAL

int Components.MovieList.MovieListDB.LISTTYPE_MINIMAL = 4
static

◆ LISTTYPE_ORIGINAL

int Components.MovieList.MovieListDB.LISTTYPE_ORIGINAL = 1
static

◆ onSelectionChanged

Components.MovieList.MovieListDB.onSelectionChanged

◆ root

Components.MovieList.MovieListDB.root

◆ selectionChanged_conn

Components.MovieList.MovieListDB.selectionChanged_conn

◆ serviceHandler

Components.MovieList.MovieListDB.serviceHandler

◆ SHOW_DESCRIPTION

int Components.MovieList.MovieListDB.SHOW_DESCRIPTION = 2
static

◆ SORT_ALPHANUMERIC

int Components.MovieList.MovieListDB.SORT_ALPHANUMERIC = 1
static

◆ SORT_RECORDED

int Components.MovieList.MovieListDB.SORT_RECORDED = 2
static

◆ sort_type

Components.MovieList.MovieListDB.sort_type

◆ tags

Components.MovieList.MovieListDB.tags

◆ virtualList

Components.MovieList.MovieListDB.virtualList

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