• 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
Slider Class Reference
Inheritance diagram for Slider:
Inheritance graph
[legend]

Properties

bool inverted
 
real maximumValue
 
real minimumValue
 
int orientation
 
bool pressed
 
real stepSize
 
real value
 
string valueIndicatorText
 
bool valueIndicatorVisible
 

Detailed Description

An interactive slider component with Plasma look and feel.

Since
0.1

Definition at line 26 of file Slider.qml.

Property Documentation

bool Slider::inverted

This property holds if the slider visualizations has an inverted direction.

The default value is false.

Definition at line 93 of file Slider.qml.

real Slider::maximumValue

Maximum value that the slider's value can assume.

The default value is 1.

Definition at line 47 of file Slider.qml.

real Slider::minimumValue

Minimum value that the slider's value can assume.

The default value is 0.

Definition at line 40 of file Slider.qml.

int Slider::orientation

Orientation for this component.

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

The default is Qt.Horizontal.

Definition at line 63 of file Slider.qml.

bool Slider::pressed

True if the Slider is being pressed.

Definition at line 69 of file Slider.qml.

real Slider::stepSize

How many steps the slider value can be selected within its range value.

Definition at line 33 of file Slider.qml.

real Slider::value

This property holds the value selected inside the minimum to maximum range of value.

The default value is 0.

Definition at line 55 of file Slider.qml.

string Slider::valueIndicatorText

This property holds the text being displayed in the value indicator.

Warning
The value indicator is not implemented in the Plasma Slider.

Definition at line 84 of file Slider.qml.

bool Slider::valueIndicatorVisible

This property holds if a value indicator element will be shown while is dragged or not.

Warning
The value indicator is not implemented in the Plasma Slider.

The default value is false.

Definition at line 78 of file Slider.qml.


The documentation for this class was generated from the following file:
  • Slider.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