OSB_GUI::MonthSpin Class Reference

Inheritance diagram for OSB_GUI::MonthSpin:

Inheritance graph
[legend]
Collaboration diagram for OSB_GUI::MonthSpin:

Collaboration graph
[legend]
List of all members.

Detailed Description

Spinbox to select a month.

Definition at line 284 of file dateselect.h.

Signals

Public Member Functions

Private Member Functions

Private Attributes


Constructor & Destructor Documentation

OSB_GUI::MonthSpin::MonthSpin ( int  month,
QWidget parent,
const char *  name = 0 
)

Constructor with month and Qt arguments for QSpinBox.

Parameters:
month Initial month (between 1 and 12).
parent Parent of widget.
name Name of widget.


Member Function Documentation

int OSB_GUI::MonthSpin::calcWidth (  )  [private]

Compute the width for line edit.

QString OSB_GUI::MonthSpin::mapValueToText ( int  v  )  [private]

Translate value into short month text.

void OSB_GUI::MonthSpin::nextYear (  )  [signal]

Emitted for forward wrapping, i.e. Dec -> Jan.

void OSB_GUI::MonthSpin::prevYear (  )  [signal]

Emitted for backward wrapping, i.e. Jan -> Dec.

void OSB_GUI::MonthSpin::valueChange (  )  [private]

Handle changes in value.


Member Data Documentation

int OSB_GUI::MonthSpin::month_ [private]

Current month.

Definition at line 314 of file dateselect.h.


The documentation for this class was generated from the following file:
Generated on Sat Sep 2 14:18:40 2006 for OSB Library by  doxygen 1.4.7