#include <SaveAsImageEvent.h>
Inheritance diagram for SaveAsImageEvent:
A derived class of QCustomEvent to handle saving a PlotterBase object as image file.
Definition at line 38 of file 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. |
|
The constructor taking the plotter object and image filename as arguments.
Definition at line 22 of file SaveAsImageEvent.cxx. |
|
The copy constructor.
Definition at line 30 of file SaveAsImageEvent.cxx. |
|
The required virtual destructor.
Definition at line 36 of file SaveAsImageEvent.cxx. |
|
Returns the filename for the image.
Definition at line 51 of file SaveAsImageEvent.cxx. References m_filename. |
|
Returns the PlotterBase object that created the update event.
Definition at line 42 of file SaveAsImageEvent.cxx. References QCustomEvent::data(). |
|
The filename for the image.
Definition at line 45 of file SaveAsImageEvent.h. Referenced by filename(). |