- class QPlaceRatings¶
Synopsis¶
Properties¶
Methods¶
def
__init__()
def
average()
def
count()
def
isEmpty()
def
maximum()
def
__ne__()
def
__eq__()
def
setAverage()
def
setCount()
def
setMaximum()
def
swap()
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¶
Note
Properties can be used directly when
from __feature__ import true_property
is used or via accessor functions otherwise.- property averageᅟ: float¶
- Access functions:
- property countᅟ: int¶
- Access functions:
- property maximumᅟ: float¶
- Access functions:
- __init__()¶
- __init__(other)
- Parameters:
other –
QPlaceRatings
- average()¶
- Return type:
float
Getter of property
averageᅟ
.- count()¶
- Return type:
int
Getter of property
countᅟ
.- isEmpty()¶
- Return type:
bool
- maximum()¶
- Return type:
float
Getter of property
maximumᅟ
.- __ne__(rhs)¶
- Parameters:
rhs –
QPlaceRatings
- Return type:
bool
- __eq__(rhs)¶
- Parameters:
rhs –
QPlaceRatings
- Return type:
bool
- setAverage(average)¶
- Parameters:
average – float
Setter of property
averageᅟ
.- setCount(count)¶
- Parameters:
count – int
Setter of property
countᅟ
.- setMaximum(max)¶
- Parameters:
max – float
Setter of property
maximumᅟ
.- swap(other)¶
- Parameters:
other –
QPlaceRatings