NeuralNetwork
 Tudo Estruturas de dados Funções Páginas
renderarea.h
1 #ifndef RENDERAREA_H
2 #define RENDERAREA_H
3 
4 #include <QtGui>
5 
6 class RenderArea : public QGraphicsScene
7 {
8 public:
9  RenderArea(int sceneX, int sceneY, QObject *parent = 0);
10 
11  void setColumnsAndLines( int, int );
12  void drawRects( int, int );
13 
14 protected:
15  void mousePressEvent(QMouseEvent *event);
16 
17 private:
18  int myX;
19  int myY;
20  QColor myItemColor;
21 };
22 
23 #endif // RENDERAREA_H