/***************************************************************************
                          amcpushbutton.h  -  description
                             -------------------
    begin                : Sat Nov 23 2002
    copyright            : (C) 2002 by Martin Merck
    email                : merck@astro.uni-wuerzburg.de
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is part of the MAGIC control software for the AMC.       *
 *   The software is only intended for use in the MAGIC telescope project  *
 *   All rights remain with the author.					   *
 ***************************************************************************/

#ifndef AMCPUSHBUTTON_H
#define AMCPUSHBUTTON_H

#include <qwidget.h>
#include <qpushbutton.h>

/**
  *@author Martin Merck
  */

class AMCPushButton : public QPushButton  {
   Q_OBJECT
public: 
	AMCPushButton(QWidget *parent=0, const char *name=0);
	~AMCPushButton();
protected: // Protected methods
  /** Force the button to be rectangular. Therfore we return the width as the needed height. */
  virtual int heightForWidth( int w ) const;
  /** No descriptions */
  virtual void drawButton( QPainter* );
};

#endif
