Puts up a dialog, that, if accepted, will save the map area to the specified file and image format.
More...
Public Member Functions |
| | DtSaveTerrainAsImageDialog (makVrv::DtDe &de) |
| | default constructor
|
| virtual | ~DtSaveTerrainAsImageDialog () |
| | destructor
|
| virtual void | exec () |
| | Brings up print dialog with printer, and, if accepted will print the map area.
|
| virtual void | saveMapArea (const QString &file, const QString &format) |
| | Saves the map area to the file by grabbing the frame buffer of the current map area.
|
| virtual QImage | mapAreaAsImage () const |
| | Returns the map area as an image.
|
Protected Member Functions |
virtual
makVrv::DtOsgAdapterQtWidget * | findAdapterWidget (QWidget *parent) const |
| | Find the container widget to get the map area from.
|
Protected Attributes |
| makVrv::DtDe & | myDe |
Detailed Description
Puts up a dialog, that, if accepted, will save the map area to the specified file and image format.
!If there are multiple channels/observers on the main map area it will save all channels/observers. This save will be as if a screen snapshot had just been taken of the map area and saved
Constructor & Destructor Documentation
| makVrf::DtSaveTerrainAsImageDialog::DtSaveTerrainAsImageDialog |
( |
makVrv::DtDe & |
de | ) |
|
| virtual makVrf::DtSaveTerrainAsImageDialog::~DtSaveTerrainAsImageDialog |
( |
| ) |
|
|
virtual |
Member Function Documentation
| virtual void makVrf::DtSaveTerrainAsImageDialog::exec |
( |
| ) |
|
|
virtual |
Brings up print dialog with printer, and, if accepted will print the map area.
| virtual void makVrf::DtSaveTerrainAsImageDialog::saveMapArea |
( |
const QString & |
file, |
|
|
const QString & |
format |
|
) |
| |
|
virtual |
Saves the map area to the file by grabbing the frame buffer of the current map area.
| virtual QImage makVrf::DtSaveTerrainAsImageDialog::mapAreaAsImage |
( |
| ) |
const |
|
virtual |
Returns the map area as an image.
| virtual makVrv::DtOsgAdapterQtWidget* makVrf::DtSaveTerrainAsImageDialog::findAdapterWidget |
( |
QWidget * |
parent | ) |
const |
|
protectedvirtual |
Find the container widget to get the map area from.
Member Data Documentation
| makVrv::DtDe& makVrf::DtSaveTerrainAsImageDialog::myDe |
|
protected |
The documentation for this class was generated from the following file: