text: // Copyright (C) 2013 by Pedro Mendes, Virginia Tech Intellectual
  // Properties, Inc., University of Heidelberg, and The University
  // of Manchester.
  // All rights reserved.
  
  #ifndef QROUNDED_RECT
  #define QROUNDED_RECT
  
  #include <QtGui/QGraphicsRectItem>
  #include <QtGui/QStyleOptionGraphicsItem>
  
  class QPainter;
  
  class CQRoundedRect : public QGraphicsRectItem
  {
  public:
    CQRoundedRect(qreal x, qreal y, qreal w, qreal h, qreal rx = 0, qreal ry = 0);
    virtual ~CQRoundedRect();
  protected:
    virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option = new QStyleOptionGraphicsItem() , QWidget *widget = 0);
  
    qreal mRx;
    qreal mRy;
  };
  
  #endif
  