CopperSpice API  1.7.2
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 &sp) const
 
QScrollerProperties & operator= (const QScrollerProperties &sp)
 
bool operator== (const QScrollerProperties &sp) 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 behaviour 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 &  sp) const

Returns true if these scroller properties are different from sp otherwise returns false.

QScrollerProperties & QScrollerProperties::operator= ( const QScrollerProperties &  sp)

Assigns sp to these scroller properties and returns a reference to these scroller properties.

bool QScrollerProperties::operator== ( const QScrollerProperties &  sp) const

Returns true if these scroller properties are equal to sp otherwise returns false.