PyTrafficProfilePlugin.GKTrafficProfile

class GKTrafficProfile

A traffic profile

Inheritance diagram of PyTrafficProfilePlugin.GKTrafficProfile

Synopsis

Methods

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

__init__()
addPercentage(_percentage)
Parameters:

_percentage – float

clearPercentages()
getDuration()
Return type:

GKTimeDuration

getFrom()
Return type:

QTime

getInterval()
Return type:

GKTimeDuration

getPercentages()
Return type:

.list of double

getTotalPercentages()
Return type:

float

setDuration(_duration)
Parameters:

_durationGKTimeDuration

setFrom(_from)
Parameters:

_fromQTime

setInterval(_interval)
Parameters:

_intervalGKTimeDuration