Class v.c.l._.QtWidgetPlugin(Plugin):

Part of vmc.contrib.louie View In Hierarchy

A Plugin for Louie that knows how to handle Qt widgets when using PyQt built with SIP 4 or higher.

Weak references are not useful when dealing with QWidget instances, because even after a QWidget is closed and destroyed, only the C++ object is destroyed. The Python 'shell' object remains, but raises a RuntimeError when an attempt is made to call an underlying QWidget method.

This plugin alleviates this behavior, and if a QWidget instance is found that is just an empty shell, it prevents Louie from dispatching to any methods on those objects.
Method __init__ Undocumented
Method is_live If receiver is a method on a QWidget, only return True if

Inherited from Plugin:

Method wrap_receiver Return a callable that passes arguments to the receiver.
def __init__(self):
Undocumented
def is_live(self, receiver):
If receiver is a method on a QWidget, only return True if it hasn't been destroyed.
def _is_live_no_qt(self, receiver):
Undocumented
API Documentation for vodafone-mobile-connect-card-driver-for-linux, generated by pydoctor at 2008-01-10 13:06:31.