00001
00002
00014 #ifndef _CanvasSelectionEvent_H_
00015 #define _CanvasSelectionEvent_H_
00016
00017 #include "libqthippo.h"
00018
00019 #if QT_VERSION < 0x040000
00020 #else
00021
00022 #include <QtCore/QCustomEvent>
00023 #endif
00024
00025 #include <qevent.h>
00026
00027 #include <vector>
00028
00029 namespace hippodraw {
00030
00031 class PlotterBase;
00032
00039 class MDL_QTHIPPOPLOT_API CanvasSelectionEvent : public QCustomEvent
00040 {
00041
00042 std::vector < PlotterBase * > m_plotters;
00043
00045 CanvasSelectionEvent ( const CanvasSelectionEvent & );
00046
00047 public:
00048
00049 CanvasSelectionEvent ( std::vector < PlotterBase * > );
00050
00052 virtual ~CanvasSelectionEvent ();
00053
00056 const std::vector < PlotterBase * > & getPlotters () const;
00057
00058 };
00059
00060 }
00061
00062 #endif // _CanvasSelectionEvent_H_