Faith::Slider Class Reference

#include <faith/slider.h>

Inheritance diagram for Faith::Slider:

Faith::Widget Faith::Object Faith::PaintDevice List of all members.

Public Slots

void scrollTo (int)

Signals

void valueChanged ()
void valueChanged (int)
void scrolled (int)
void scrolled ()

Public Member Functions

 Slider (Faith::Widget *parent, const char *name=0)
 Slider (int min, int max, Faith::Widget *parent, const char *name=0)
 Slider (Orientation o, Faith::Widget *parent, const char *name=0)
 Slider (int min, int max, Orientation o, Faith::Widget *parent, const char *name=0)
 ~Slider ()
void setRange (int min, int max)
int value () const
int minValue () const
int maxValue () const
int pageStep () const
Orientation orientation () const
int sliderStart () const
virtual void polish (Style *)

Protected Member Functions

void paintEvent (Faith::PaintEvent *e)
void mouseReleaseEvent (Faith::MouseEvent *e)
void mousePressEvent (Faith::MouseEvent *e)
void mouseMoveEvent (Faith::MouseEvent *e)

Constructor & Destructor Documentation

Faith::Slider::Slider ( Faith::Widget parent,
const char *  name = 0 
)

Faith::Slider::Slider ( int  min,
int  max,
Faith::Widget parent,
const char *  name = 0 
)

Faith::Slider::Slider ( Orientation  o,
Faith::Widget parent,
const char *  name = 0 
)

Faith::Slider::Slider ( int  min,
int  max,
Orientation  o,
Faith::Widget parent,
const char *  name = 0 
)

Faith::Slider::~Slider (  ) 


Member Function Documentation

int Faith::Slider::maxValue (  )  const

int Faith::Slider::minValue (  )  const

void Faith::Slider::mouseMoveEvent ( Faith::MouseEvent e  )  [protected, virtual]

Reimplemented from Faith::Widget.

void Faith::Slider::mousePressEvent ( Faith::MouseEvent e  )  [protected, virtual]

This function is called when the user presses the mouse while over the widget (immediately after the push down)

Reimplemented from Faith::Widget.

void Faith::Slider::mouseReleaseEvent ( Faith::MouseEvent e  )  [protected, virtual]

This function is called when the use releases the mouse after it has been clicked on this widget.

This function is called even when the mouse was not over this widget. The only condition is that a mousePressEvent was sent to this object prior

Reimplemented from Faith::Widget.

Orientation Faith::Slider::orientation (  )  const

int Faith::Slider::pageStep (  )  const

When you click on the "dead area" it means you go down (or up) a page. How many units is that?

void Faith::Slider::paintEvent ( Faith::PaintEvent e  )  [protected, virtual]

Reimplemented from Faith::Widget.

virtual void Faith::Slider::polish ( Style  )  [virtual]

Called with the new style, when the style is changed. This is useful to pick up new sizes of widgets

By default, this does nothing

Reimplemented from Faith::Widget.

void Faith::Slider::scrolled (  )  [signal]

void Faith::Slider::scrolled ( int   )  [signal]

void Faith::Slider::scrollTo ( int   )  [slot]

void Faith::Slider::setRange ( int  min,
int  max 
)

int Faith::Slider::sliderStart (  )  const

int Faith::Slider::value (  )  const

void Faith::Slider::valueChanged ( int   )  [signal]

void Faith::Slider::valueChanged (  )  [signal]


The documentation for this class was generated from the following file:
Generated on Fri Sep 1 00:23:10 2006 for Faith by  doxygen 1.4.7