CopperSpice API  1.8.1
QScrollerProperties Class Reference

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
 

Detailed Description

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.

See also
QScroller
Note
Additional documentation pending.

Constructor & Destructor Documentation

QScrollerProperties::QScrollerProperties ( )

Constructs new scroller properties.

QScrollerProperties::QScrollerProperties ( const QScrollerProperties &  sp)

Constructs a copy of sp.

QScrollerProperties::~QScrollerProperties ( )
virtual

Destroys the scroller properties.

Method Documentation

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.