PyANGKernel.GKModeChoiceClass¶
- class GKModeChoiceClass¶
-
Synopsis¶
Methods¶
def
__init__()def
getTripPurpose()def
setTripPurpose()
Static functions¶
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
Detailed Description¶
Used in Multimodal to get the existent modes in the model.
- __init__()¶
- static createModeChoiceClass(aModel, aTransportationModes, aPurpose)¶
- Parameters:
aModel –
GKModelaTransportationModes – .list of const GKTransportationMode
aPurpose –
GKTripPurpose
- Return type:
- static findModeChoiceClass(aModel, aTransportationModes, aPurpose)¶
- Parameters:
aModel –
GKModelaTransportationModes – .list of const GKTransportationMode
aPurpose –
GKTripPurpose
- Return type:
- getTransportationModes()¶
- Return type:
.list of const GKTransportationMode
- getTripPurpose()¶
- Return type:
- setTransportationModes(aTransportationModes)¶
- Parameters:
aTransportationModes – .list of const GKTransportationMode
- setTripPurpose(aTripPurpose)¶
- Parameters:
aTripPurpose –
GKTripPurpose