Qt/Finger Scrolling

The QAbstractScrollArea widget in Qt-maemo has been extended to provide a touch-friendly kinetic scroll with minimal scrollbars.

This widget underlies many common Qt widgets such as QTextEdit and QComboBox which get this behaviour "for free".

However, this behaviour is not always desired so you can turn it on and off if desired (and soon you can tune behaviour).

The primary control mechanism is to set a dynamic property on the widget implementing QAbstractScrollArea.

"FingerScrollable" Property

The main control is simply "FingerScrollable" and doing

 setProperty("FingerScrollable", false);

will disable it.

You can enable it by setting the property to true. Currently this is not done at the application level.

"FingerScrollBars" Property

The thin scrollbars can be disabled at the application level:

 qapp->setProperty("FingerScrollBars", false);

or in specific widgets:

 sArea->setProperty("FingerScrollBars", true);