User Tools

Site Tools


DzDial

Script wrapper for QDial.

More...

Inherits :

Properties

Constructors

DAZ Script
DzDial ( DzWidget parent )

Signals

voiddialMoved ( Number value )
voiddialPressed ()
voiddialReleased ()
voidvalueChanged ( Number value )

Detailed Description

Provides a rounded range control like a speedometer.

Properties


Number : lineStep

The current line step


Number : max

Holds the maximum value for the widget.


Number : min

Holds the minimum value for the widget.


Boolean : notchesVisible

Holds whether to show notches.


Number : notchSize

Holds the current notch size. (Read Only)


Number : notchTarget

Holds the target number of pixels between notches.


Number : pageStep

The current page step


Boolean : tracking

Holds whether to track the cursor, true by default.


Number : value

Holds the value represented by the widget.


Boolean : wrapping

Holds whether the arrow can be rotated 360 degrees, or if some space is left at the bottom.

Constructors


DzDial( DzWidget parent )

Creates a dial widget as a child of the given parent widget.

Parameter(s):

  • parent - The widget parent for the dial.

Signals


void : dialMoved( Number value )

Signature:“dialMoved(int)”

Emitted when dial moves, passes the new value of the dial.


void : dialPressed()

Signature:“dialPressed()”

Emitted when the dial is pressed by the user.


void : dialReleased()

Signature:“dialReleased()”

Emitted when the dial is released by the user.


void : valueChanged( Number value )

Signature:“valueChanged(int)”

Emitted when the value of the dial changes, passes the new value.