コード例 #1
0
ファイル: plugins.py プロジェクト: TEAM-HRA/hra_suite
    def __init__(self, _plugin_ident, _stack):
        self.__ident__ = _plugin_ident
        self.__host_stack_object__ = None

        self.__plugin__ = PluginsBuilder.getPlugin(self.__ident__)
        if self.__plugin__:
            self.__host_stack_object__ = getWidgetFromStack(
                _stack, self.__plugin__.resolveHostObjectName)
コード例 #2
0
ファイル: plugins.py プロジェクト: TEAM-HRA/hra_suite
    def __init__(self, _plugin_ident, _stack):
        self.__ident__ = _plugin_ident
        self.__host_stack_object__ = None

        self.__plugin__ = PluginsBuilder.getPlugin(self.__ident__)
        if self.__plugin__:
            self.__host_stack_object__ = getWidgetFromStack(_stack,
                                        self.__plugin__.resolveHostObjectName)
コード例 #3
0
 def __init__(self, _stack=inspect.stack()):
     super(LoggingEventFilter, self).__init__(getWidgetFromStack(_stack))
     self.loggingWindowOpened = False
     self.loggingWindow = None
     self.logger = None
     self.stack = _stack