Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | Related Pages

FlexibleSpinBox Class Reference

#include <flexiblespinbox.h>

List of all members.

Public Slots

void setMaximumValue (int maxValue)

Signals

void spinBoxTriggered (int frameNumber)
void spinBoxCanceled ()

Public Member Functions

 FlexibleSpinBox (QWidget *parent=0)
void keyPressEvent (QKeyEvent *k)


Detailed Description

An extended spin box class.
Author:
Bjoern Erik Nilsen & Fredrik Berg Kjoelstad


Constructor & Destructor Documentation

FlexibleSpinBox::FlexibleSpinBox QWidget *  parent = 0  ) 
 

Constructs and initializes the object.

Parameters:
parent the parent widget


Member Function Documentation

void FlexibleSpinBox::keyPressEvent QKeyEvent *  k  ) 
 

Checks what kind of key event the user has requested and does actions based on this.

Parameters:
k the key event

void FlexibleSpinBox::setMaximumValue int  maxValue  )  [slot]
 

Sets a limit for the maximum value. This is based on the the thumbnails displayed in the framebar.

Parameters:
maxValue maximum value (index of the last frame in framebar)

void FlexibleSpinBox::spinBoxCanceled  )  [signal]
 

Emits this signal when getting an escape event (Key_Escape).

void FlexibleSpinBox::spinBoxTriggered int  frameNumber  )  [signal]
 

Emits this signal when pressing enter.

Parameters:
frameNumber the choosen frame number in this spinbox


The documentation for this class was generated from the following files:
Generated on Thu May 19 01:51:21 2005 for stopmotion.kdevelop by  doxygen 1.4.2