Package gesture_buttons :: Module gesture_button :: Class TimeSettingStateTransition
[hide private]
[frames] | no frames]

Class TimeSettingStateTransition

source code

          object --+                    
                   |                    
   sip.simplewrapper --+                
                       |                
             sip.wrapper --+            
                           |            
        PyQt4.QtCore.QObject --+        
                               |        
PyQt4.QtCore.QAbstractTransition --+    
                                   |    
       PyQt4.QtCore.QEventTransition --+
                                       |
                                      TimeSettingStateTransition

Instance Methods [hide private]
 
__init__(self, gestureButtonObj, event, sourceState=None)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
onTransition(self, wrappedEventObj)
Called when mouse cursor leaves the button area.
source code

Inherited from PyQt4.QtCore.QEventTransition: event, eventSource, eventTest, eventType, setEventSource, setEventType

Inherited from PyQt4.QtCore.QAbstractTransition: addAnimation, animations, machine, removeAnimation, setTargetState, setTargetStates, sourceState, targetState, targetStates, triggered

Inherited from PyQt4.QtCore.QObject: __getattr__, blockSignals, childEvent, children, connect, connectNotify, customEvent, deleteLater, destroyed, disconnect, disconnectNotify, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, emit, 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: __new__

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

Class Variables [hide private]

Inherited from PyQt4.QtCore.QObject: staticMetaObject

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, gestureButtonObj, event, sourceState=None)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

onTransition(self, wrappedEventObj)

source code 

Called when mouse cursor leaves the button area. Determine whether mouse left the button across the upper, lower, left, or right border. Note the time when this method call occurred. The time is needed later when the mouse possibly re-enters the button, signaling a flick.

Parameters:
  • wrappedEventObj (QWrappedEvent) - wrapper around the event that triggered the transition. Unfortunately we don't seem able to extract the corresponding mouseMove subclass event from this parameter.
Overrides: PyQt4.QtCore.QAbstractTransition.onTransition