- class Tag#
New in version 6.7.
Synopsis#
Methods#
def
__init__()
def
isValid()
def
__ne__()
def
__lt__()
def
__le__()
def
__eq__()
def
__gt__()
def
__ge__()
def
toString()
def
value()
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#
- __init__()#
Default constructor, producing an invalid tag.
- isValid()#
- Return type:
bool
Returns whether the tag is valid. A tag is valid if its value is not zero.
See also
value()
fromValue()
fromString()
- __ne__(rhs)#
- Parameters:
rhs –
Tag
- Return type:
bool
- __lt__(rhs)#
- Parameters:
rhs –
Tag
- Return type:
bool
- __le__(rhs)#
- Parameters:
rhs –
Tag
- Return type:
bool
- __eq__(rhs)#
- Parameters:
rhs –
Tag
- Return type:
bool
- __gt__(rhs)#
- Parameters:
rhs –
Tag
- Return type:
bool
- __ge__(rhs)#
- Parameters:
rhs –
Tag
- Return type:
bool
- toString()#
- Return type:
Returns the string representation of this tag as a byte array.
See also
fromString()
- value()#
- Return type:
int
Returns the numerical value of this tag.
See also
isValid()
fromValue()