#ifndef __DISPLAY_H
#define __DISPLAY_H

#include <qlabel.h>
#include <qpixmap.h>


class MyDisplay : public QLabel
{
  Q_OBJECT
  
  QPixmap back, dial, onl, rec, trans;
  
  bool    dialing, online, receiving, transmitting;
  
  public:
  
  MyDisplay(QWidget *parent = 0, const char *name = 0);

  void  setDial();
  void  clearDial();
  bool  Dial() { return (dialing); }
   
  void  setOnline();
  void  clearOnline();
  bool  Online() { return (online); }
  
  void  setReceive();
  void  clearReceive();
  bool  Receiving() { return (receiving); }
  
  void  setTransmit();
  void  clearTransmit();
  bool  Transmitting() { return (transmitting); }

  void mousePressEvent(QMouseEvent *);

  signals:
  
  void rightClick();
  void leftClick();
};


#endif
