NeuralNetwork
 Tudo Estruturas de dados Funções Páginas
renderitem.h
1 #ifndef RENDERITEM_H
2 #define RENDERITEM_H
3 
4 #include <QtGui>
5 #include "neuron.h"
6 
7 class RenderItem : public QGraphicsPolygonItem
8 {
9 public:
10  RenderItem(int width, int height, int id, QGraphicsItem *parent = 0, QGraphicsScene *scene = 0);
11 private:
12  QPolygonF myPolygon;
13  int myId;
14 protected:
15  void mousePressEvent(QGraphicsSceneMouseEvent *event);
16 };
17 #endif // RENDERITEM_H