gSAFE  1.3.8
Public Slots | Signals | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | List of all members
HSpinBox Class Reference

#include <guilib.h>

Inherits QFrame.

Public Slots

int setValue (int v)
 

Signals

void valueChanged (int)
 

Public Member Functions

 HSpinBox (QWidget *parent)
 HSpinBox ////////////////////////////////////////////////////////////////////. More...
 
 ~HSpinBox (void)
 
void setMaxValue (int v)
 
void setMinValue (int v)
 
int value (void)
 

Protected Slots

int bDown (void)
 
int bUp (void)
 
void check (void)
 
int leChanged (const QString &t)
 

Protected Member Functions

void wheelEvent (QWheelEvent *e)
 

Protected Attributes

QLineEdit * le
 
int max
 
int min
 
QString oldtext
 
int val
 

Detailed Description

HSpinBox is a similar object than QSpinBox but the user can change the value with the mouse wheel.

hspinbox.png

Definition at line 111 of file guilib.h.

Constructor & Destructor Documentation

HSpinBox::HSpinBox ( QWidget *  parent)

HSpinBox ////////////////////////////////////////////////////////////////////.

Creates a HSpinBox

Parameters
parentthe parent widget of the HSpinBox

Definition at line 531 of file guilib.cpp.

HSpinBox::~HSpinBox ( void  )

Destuctor

Definition at line 661 of file guilib.cpp.

Member Function Documentation

void HSpinBox::setMaxValue ( int  v)
inline

Sets the maximum value of the HSpinBox

Definition at line 125 of file guilib.h.

void HSpinBox::setMinValue ( int  v)
inline

Sets the minimum value of the HSpinBox

Definition at line 123 of file guilib.h.

int HSpinBox::setValue ( int  v)
slot

Sets the value of the HSpinBox

Definition at line 631 of file guilib.cpp.

int HSpinBox::value ( void  )
inline

Returns the current value

Definition at line 127 of file guilib.h.

void HSpinBox::valueChanged ( int  )
signal

Emitted when the value is changed

void HSpinBox::wheelEvent ( QWheelEvent *  e)
protected

The mouse wheel event handler

Definition at line 651 of file guilib.cpp.


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