Back to index

fet  5.18.0
Public Slots | Signals | Public Member Functions | Private Attributes
CommunicationSpinBox Class Reference

#include <lockunlock.h>

List of all members.

Public Slots

void increaseValue ()

Signals

int valueChanged (int newValue)

Public Member Functions

 CommunicationSpinBox ()
 ~CommunicationSpinBox ()

Private Attributes

int value
int maxValue
int minValue

Detailed Description

Definition at line 29 of file lockunlock.h.


Constructor & Destructor Documentation

Definition at line 52 of file lockunlock.cpp.

{
       minValue=0;
       maxValue=9;
       value=0;
}

Definition at line 59 of file lockunlock.cpp.

{
}

Member Function Documentation

Definition at line 63 of file lockunlock.cpp.

{
       assert(maxValue>minValue);
       assert(value>=minValue && value<=maxValue);
       value++;
       if(value>maxValue)
              value=minValue;
              
       //cout<<"comm. spin box: increased value, crt value=="<<value<<endl;
       
       emit(valueChanged(value));
}

Here is the caller graph for this function:

int CommunicationSpinBox::valueChanged ( int  newValue) [signal]

Member Data Documentation

Definition at line 34 of file lockunlock.h.

Definition at line 35 of file lockunlock.h.

Definition at line 33 of file lockunlock.h.


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