Пример #1
0
    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
    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