| Trees | Indices | Help | 
|---|
|  | 
Mini Kross - a scripting solution inspired by Kross (http://kross.dipe.org/) Technically this is one of the most important modules in ScripterNG. Via the Qt meta object system it provides access to unwrapped objects. This code uses a lot of metaprogramming magic. To fully understand it, you have to know about metaclasses in Python
| 
 | |||
| Error Base error classed. | |||
| PyQtClass Base class | |||
| PyQtProperty | |||
| PyQtMethod | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| PyQtClass object | 
 | ||
| 
 | |||
| variant_converter = {"QVariantList": lambda v: from_variantlis | |||
| qtclasses =  | |||
| pyqt_classes =  | |||
| 
 | |||
| 
 return real class name Unwrapped classes will be represended in PyQt by a known base class. So obj.__class__.__name__ will not return the desired class name | 
| 
 If a class is not known by PyQt it will be automatically casted to a known wrapped super class. But that limits access to methods and propperties of this super class. So instead this functions returns a wrapper class (PyQtClass) which queries the metaObject and provides access to all slots and all properties. | 
| 
 Wrap a QObject and make all slots and properties dynamically available. 
 | 
| 
 | |||
| variant_converter
 | 
| Trees | Indices | Help | 
|---|
| Generated by Epydoc 3.0.1 on Sun Aug 17 06:44:37 2008 | http://epydoc.sourceforge.net |