1 #ifndef AESALON_GUI_SESSION_VISUALIZATION_H
2 #define AESALON_GUI_SESSION_VISUALIZATION_H
7 #include "VisualizationThread.h"
9 class Visualization
: public QWidget
{ Q_OBJECT
11 VisualizationThread
*v_thread
;
12 QImage
*current_image
;
14 virtual VisualizationThread
*create_v_thread(DataThread
*data_thread
)
15 { data_thread
= data_thread
; return NULL
; }
17 Visualization(DataThread
*data_thread
, QWidget
*parent
= 0);
18 virtual ~Visualization();
20 virtual void paintEvent(QPaintEvent
*event
);
22 void update_image(QImage
*image
);