#include <SaveAsImageEvent.h>


Public Member Functions | |
| data () const | |
| const std::string & | filename () const |
| Returns the filename for the image. | |
| PlotterBase * | plotter () const |
| Returns the PlotterBase object that created the update event. | |
| SaveAsImageEvent (const SaveAsImageEvent &) | |
| The copy constructor. | |
| SaveAsImageEvent (const PlotterBase *plotter, const std::string &filename) | |
| The constructor taking the plotter object and image filename as arguments. | |
| setData (void *data) | |
| virtual | ~SaveAsImageEvent () |
| The required virtual destructor. | |
Private Attributes | |
| std::string | m_filename |
| The filename for the image. | |
A derived class of QCustomEvent to handle saving a PlotterBase object as image file.
Definition at line 42 of file SaveAsImageEvent.h.
| SaveAsImageEvent | ( | const PlotterBase * | plotter, | |
| const std::string & | filename | |||
| ) |
The constructor taking the plotter object and image filename as arguments.
Definition at line 24 of file SaveAsImageEvent.cxx.
| SaveAsImageEvent | ( | const SaveAsImageEvent & | event | ) |
| ~SaveAsImageEvent | ( | ) | [virtual] |
| const std::string & filename | ( | ) | const |
Returns the filename for the image.
Definition at line 53 of file SaveAsImageEvent.cxx.
References SaveAsImageEvent::m_filename.
| PlotterBase * plotter | ( | ) | const |
Returns the PlotterBase object that created the update event.
Definition at line 44 of file SaveAsImageEvent.cxx.
References QCustomEvent::data().
std::string m_filename [private] |
The filename for the image.
Definition at line 49 of file SaveAsImageEvent.h.
Referenced by SaveAsImageEvent::filename().