PyANGKernel.GKContent¶
- class GKContent¶
Identifies all the contents of the
GKColumn.Details
For example: originator, flow, lane & vehicle type (any additional information about the data contained in this column).
Note
The name of the content ( returned by
idDescription()) is defined using one the two constructors: - one that uses a fixed QString (for example: tr(“All lanes”) ) - one that uses function that retrieves the name from the id and the type of the content.Synopsis¶
Methods¶
Virtual methods¶
def
idDescription()
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__()¶
Builds a null
GKContent.- __init__(t, id[, externalName=""])
- Parameters:
t – str
id – str
externalName – str
Returns the id of the content.
Returns a descriptive translated string of mId.
Returns true if the id is undefined. An empty
GKContentcan be not null.Returns true if the id and the type are undefined. A null
GKContentis always empty.Returns the type of content.
Returns a descriptive translated string of mType.