AppRangeSlider

A slider control with two handles to set a range. More...

Import Statement: import VPlayApps 1.0
Since: V-Play 2.10.0

Properties

Detailed Description

The AppRangeSlider comes with a default look that matches platform-specific styles for iOS and Android.

iOS Android

Example Usage

 import VPlayApps 1.0
 import QtQuick 2.5

 App {
   NavigationStack {

     Page {
       title: "RangeSlider Example"

       Column {
         anchors.centerIn: parent

         // show slider
         AppRangeSlider {
           id: slider
         }

         // display slider position
         AppText {
           anchors.horizontalCenter: parent.horizontalCenter
           text: "Position: "+Math.round(slider.first.position * 100)+" - "+Math.round(slider.second.position * 100)
         }

       } // Column
     } // Page

   }
 }

Property Documentation

firstKnobBorderColor : color

The color of the first knob's border. Matches the firstKnobColor by default.


firstKnobBorderWidth : real

The width of the first knob's border. The default width is 0, which means no border is shown.


firstKnobColor : color

The color of the first knob. Matches platform-specific values by default.


firstKnobShadow : bool

Whether a drop-shadow is added to the first knob. Matches platform-specific values.


secondKnobBorderColor : color

The color of the second knob's border. Matches firstKnobBorderColor by default.


secondKnobBorderWidth : real

The width of the knob's border. Matches firstKnobBorderWidth by default.


secondKnobColor : color

The color of the second knob. Matches firstKnobColor by default.


secondKnobShadow : bool

Whether a drop-shadow is added to second the knob. Matches the firstKnobShadow setting by default.


tintedTrackColor : color

The color of the tinted part of the slider track. Matches Theme::tintColor by default.


trackColor : color

The background color of the slider track. Matches Theme::controlBackgroundColor by default.


Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support