PyTrafficProfilePlugin.GKTrafficProfile¶
- class GKTrafficProfile¶
A traffic profile
Synopsis¶
Methods¶
def
__init__()def
addPercentage()def
getDuration()def
getFrom()def
getInterval()def
getPercentages()def
setDuration()def
setFrom()def
setInterval()
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:
- getInterval()¶
- Return type:
- getPercentages()¶
- Return type:
.list of double
- setDuration(_duration)¶
- Parameters:
_duration –
GKTimeDuration
- setInterval(_interval)¶
- Parameters:
_interval –
GKTimeDuration