openalea.oalab.interfaces package

Submodules

openalea.oalab.interfaces.all module

class openalea.oalab.interfaces.all.IApplet(session, controller, parent=None)

Bases: openalea.vpltk.catalog.interface.IInterface

Associated entry_point : oalab.applet

actions()

Returns a list [“Tab name”, [list of actions] ] Where “list of action” is a 3-item list : groupname(unicode), action(QAction), button_type(bool: 0 big button, 1 small button)

Example:

def actions(self):
    return self._actions = [["Python IDE","Text Edit", self.actionUndo, 0],
                            ["Python IDE","Text Edit", self.actionRedo, 0]
                           ]
name = 'IApplet'
class openalea.oalab.interfaces.all.IParadigmApplet(session, controller, parent=None)

Bases: openalea.oalab.interfaces.i_applet.IApplet

actions()

Returns a list [“Tab name”, [list of actions] ] Where “list of action” is a 3-item list : groupname(unicode), action(QAction), button_type(bool: 0 big button, 1 small button)

Example:

def actions(self):
    return self._actions = [["Python IDE","Text Edit", self.actionUndo,0],
                            ["Python IDE","Text Edit", self.actionRedo,0]
                           ]
identifier = 'IParadigmApplet'
name = 'IParadigmApplet'
class openalea.oalab.interfaces.all.IQTextWidget(**kargs)

Bases: openalea.vpltk.catalog.interface.IInterface

name = 'IQTextWidget'
setText(text)
text()

openalea.oalab.interfaces.i_applet module

class openalea.oalab.interfaces.i_applet.IApplet(session, controller, parent=None)[source]

Bases: openalea.vpltk.catalog.interface.IInterface

Associated entry_point : oalab.applet

actions()[source]

Returns a list [“Tab name”, [list of actions] ] Where “list of action” is a 3-item list : groupname(unicode), action(QAction), button_type(bool: 0 big button, 1 small button)

Example:

def actions(self):
    return self._actions = [["Python IDE","Text Edit", self.actionUndo, 0],
                            ["Python IDE","Text Edit", self.actionRedo, 0]
                           ]
name = 'IApplet'

openalea.oalab.interfaces.i_paradigmapplet module

class openalea.oalab.interfaces.i_paradigmapplet.IParadigmApplet(session, controller, parent=None)[source]

Bases: openalea.oalab.interfaces.i_applet.IApplet

actions()[source]

Returns a list [“Tab name”, [list of actions] ] Where “list of action” is a 3-item list : groupname(unicode), action(QAction), button_type(bool: 0 big button, 1 small button)

Example:

def actions(self):
    return self._actions = [["Python IDE","Text Edit", self.actionUndo,0],
                            ["Python IDE","Text Edit", self.actionRedo,0]
                           ]
identifier = 'IParadigmApplet'
name = 'IParadigmApplet'

openalea.oalab.interfaces.i_qtextwidget module

class openalea.oalab.interfaces.i_qtextwidget.IHelper(**kargs)[source]

Bases: openalea.vpltk.catalog.interface.IInterface

name = 'IHelper'
setText(text)[source]
class openalea.oalab.interfaces.i_qtextwidget.IQTextWidget(**kargs)[source]

Bases: openalea.vpltk.catalog.interface.IInterface

name = 'IQTextWidget'
setText(text)[source]
text()[source]

Module contents