Package qt_comm_channel :: Module commChannel :: Class CommChannel
[hide private]
[frames] | no frames]

Class CommChannel

source code

       object --+            
                |            
sip.simplewrapper --+        
                    |        
          sip.wrapper --+    
                        |    
     PyQt4.QtCore.QObject --+
                            |
                           CommChannel

Combines Qt signals into one place. Avoids error "... has no method 'emit'". This is a static class. Usage:

Instance Methods [hide private]

Inherited from PyQt4.QtCore.QObject: __getattr__, blockSignals, childEvent, children, connect, connectNotify, customEvent, deleteLater, destroyed, disconnect, disconnectNotify, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, emit, event, eventFilter, findChild, findChildren, inherits, installEventFilter, isWidgetType, killTimer, metaObject, moveToThread, objectName, parent, property, pyqtConfigure, receivers, removeEventFilter, sender, senderSignalIndex, setObjectName, setParent, setProperty, signalsBlocked, startTimer, thread, timerEvent, tr, trUtf8

Inherited from sip.simplewrapper: __init__, __new__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods [hide private]
 
registerSignals(signalsClass)
Add a new Qt Signal instance under a name.
source code
{QtCore.Signal | None}
getSignal(sigName)
Retrieve a previously added signal.
source code
 
__getitem__(sigName) source code
 
registeredSignals()
Return list of all registered signal objects.
source code
 
registeredSignalNames()
Return list of all registered signal registration names.
source code
 
getSignalsFromClass(cls) source code
Class Variables [hide private]
  commInstances = []
  userSigs = {}

Inherited from PyQt4.QtCore.QObject: staticMetaObject

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

registerSignals(signalsClass)
Static Method

source code 

Add a new Qt Signal instance under a name.

Parameters:
  • signalsClass (string) - name under which signal object is known, and can be retrieved.

getSignal(sigName)
Static Method

source code 

Retrieve a previously added signal. Alternatively, use dict style syntaxs: commInstance[sigName].

Parameters:
  • sigName (string) - name under which signal was registered.
Returns: {QtCore.Signal | None}
signal object, or None, if signal of given name was not registered.