[Qt-interest] QAbstractAnimation currentTime - updateCurrentTime

David Palacio dpalacio at uninorte.edu.co
Mon Jul 6 02:49:04 CEST 2009


Hi,

Following Qt's future minor release, 4.6, I found what seems an inconsistency 
for me. QAbstractAnimation has a property called currentTime that holds the 
current time in the current loop. That means it is never greater than 
duration() (for duration >= 0). But the updateCurrentTime method works with 
other time, internally called currentTotalTime, that holds the time since the 
animation was started. IMHO this is confusing at first glance and one of the 
previous property/method should be renamed.



More information about the Qt-interest-old mailing list