![]() |
CopperSpice API
1.8.1
|
The QScrollerProperties class stores the settings for a QScroller. More...
Public Methods | |
QScrollerProperties () | |
QScrollerProperties (const QScrollerProperties &sp) | |
virtual | ~QScrollerProperties () |
bool | operator!= (const QScrollerProperties &other) const |
QScrollerProperties & | operator= (const QScrollerProperties &other) |
bool | operator== (const QScrollerProperties &other) const |
Friends | |
class | QScroller |
The QScrollerProperties class stores the parameters used by QScroller. The default settings are platform dependent so that CopperSpice emulates the platform behavior for kinetic scrolling. As a convention the QScrollerProperties are in physical units (meter, seconds) and are converted by QScroller using the current DPI.
QScrollerProperties::QScrollerProperties | ( | ) |
Constructs new scroller properties.
QScrollerProperties::QScrollerProperties | ( | const QScrollerProperties & | sp | ) |
Constructs a copy of sp.
|
virtual |
Destroys the scroller properties.
bool QScrollerProperties::operator!= | ( | const QScrollerProperties & | other | ) | const |
Returns true if these scroller properties are different from other otherwise returns false.
QScrollerProperties & QScrollerProperties::operator= | ( | const QScrollerProperties & | other | ) |
Copy assigns from other and returns a reference to this object.
bool QScrollerProperties::operator== | ( | const QScrollerProperties & | other | ) | const |
Returns true if these scroller properties are equal to other otherwise returns false.