class QPlaceRatings#

Synopsis#

Properties#

Methods#

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:

otherQPlaceRatings

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:

rhsQPlaceRatings

Return type:

bool

__eq__(rhs)#
Parameters:

rhsQPlaceRatings

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:

otherQPlaceRatings