/***********************************************************************
**
**   degreespinbox.h
**
**   This file is part of Cumulus.
**
************************************************************************
**
**   Copyright (c):  2002 by André Somers
**
**   This file is distributed under the terms of the General Public
**   Licence. See the file COPYING for more information.
**
**   $Id: degreespinbox.h,v 1.1.1.1 2002/09/22 12:06:03 heiner Exp $
**
***********************************************************************/

#ifndef DEGREESPINBOX_H
#define DEGREESPINBOX_H

#include <qwidget.h>
#include <qspinbox.h>

/**A spinbox that can be used to enter a runwayheading
  *@author André Somers
  */

class DegreeSpinBox : public QSpinBox  {
   Q_OBJECT
public: 
	DegreeSpinBox(QWidget *parent=0, const char *name=0);
	~DegreeSpinBox();
protected:
  QString mapValueToText(int value);
  int mapTextToValue(bool * ok);
  
};

#endif
