KDE PIM / Developers / API Docs / kalarm

Slider Class Reference

A QSlider with read-only option. More...

#include <slider.h>

Inherits QSlider.

List of all members.

Public Member Functions

Protected Member Functions

Properties


Detailed Description

A QSlider with read-only option.

The Slider class is a QSlider with a read-only option.

The widget may be set as read-only. This has the same effect as disabling it, except that its appearance is unchanged.

Author:
David Jarvie <software@astrojar.org.uk>


Constructor & Destructor Documentation

Slider::Slider QWidget *  parent = 0,
const char *  name = 0
 

Constructor.

Parameters:
parent The parent object of this widget.
name The name of this widget.

Slider::Slider Orientation  orient,
QWidget *  parent = 0,
const char *  name = 0
 

Constructor.

Parameters:
orient The orientation of the slider, either Qt::Horizonal or Qt::Vertical.
parent The parent object of this widget.
name The name of this widget.

Slider::Slider int  minValue,
int  maxValue,
int  pageStep,
int  value,
Orientation  orient,
QWidget *  parent = 0,
const char *  name = 0
 

Constructor.

Parameters:
minValue The minimum value which the slider can have.
maxValue The maximum value which the slider can have.
pageStep The page step increment.
value The initial value for the slider.
orient The orientation of the slider, either Qt::Horizonal or Qt::Vertical.
parent The parent object of this widget.
name The name of this widget.

Member Function Documentation

bool Slider::isReadOnly  )  const [inline]
 

Returns true if the slider is read only.

void Slider::setReadOnly bool  readOnly  ) 
 

Sets whether the slider is read-only for the user.

Parameters:
readOnly True to set the widget read-only, false to set it read-write.

The documentation for this class was generated from the following files: