• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kde-runtime API Reference
  • KDE Home
  • Contact Us
 

PlasmaComponents

Properties | List of all members
ScrollBar Class Reference
Inheritance diagram for ScrollBar:
Inheritance graph
[legend]

Properties

Flickable flickableItem
 
bool interactive
 
bool inverted
 
int orientation
 
bool pressed
 
real scrollButtonInterval
 
real stepSize
 

Detailed Description

A simple Scroll Bar using the plasma theme.

Since
0.1

This component does not belong to the QtComponents API specification but it was based on the ScrollDecorator component. You should not use it for touch interfaces, use a flickable and a ScrollDecorator instead.

By default, this component looks and behaves like a scroll decorator on touchscreens.

Definition at line 34 of file ScrollBar.qml.

Property Documentation

Flickable ScrollBar::flickableItem

The Flickable component which the ScrollBar will interact with.

Definition at line 40 of file ScrollBar.qml.

bool ScrollBar::interactive

Whether the ScrollBar is interactive.

The default value is true.

Definition at line 53 of file ScrollBar.qml.

bool ScrollBar::inverted

Whether the ScrollBar will increase the Flickable content in the normal direction (Left to Right or Top to Bottom) or if this will be inverted.

The default value is false.

Definition at line 61 of file ScrollBar.qml.

int ScrollBar::orientation

The orientation where the ScrollBar will scroll.

The orientation * can be either Qt.Horizontal or Qt.Vertical.

The default value is Qt.Vertical.

Definition at line 47 of file ScrollBar.qml.

bool ScrollBar::pressed

Indicates if the ScrollBar is pressed.

Definition at line 74 of file ScrollBar.qml.

real ScrollBar::scrollButtonInterval

The interval time used by the ScrollBar button to increase or decrease steps.

Definition at line 79 of file ScrollBar.qml.

real ScrollBar::stepSize

How many steps exist while moving the handler.

If you want the ScrollBar buttons to appear you must set this property to a value bigger than 0.

The default value is 0.

Definition at line 70 of file ScrollBar.qml.


The documentation for this class was generated from the following file:
  • ScrollBar.qml
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:08:40 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

PlasmaComponents

Skip menu "PlasmaComponents"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List

kde-runtime API Reference

Skip menu "kde-runtime API Reference"
  • KCMShell
  • KNotify
  • Plasma Runtime
  •     PlasmaCore
  •     DragAndDrop
  •     PlasmaComponents
  •     PlasmaExtraComponents
  •     QtExtraComponents

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal