umbrello/umbrello
#include <umlviewimageexporter.h>
Public Member Functions | |
UMLViewImageExporter (UMLScene *scene) | |
virtual | ~UMLViewImageExporter () |
void | exportView () |
QString | getImageMimeType () const |
KUrl | getImageURL () const |
Detailed Description
Exports the scene as an image.
This class takes care of asking the user the needed parameters and then exports the scene.
Definition at line 28 of file umlviewimageexporter.h.
Constructor & Destructor Documentation
|
explicit |
Constructor for UMLViewImageExporter.
Definition at line 37 of file umlviewimageexporter.cpp.
|
virtual |
Destructor for UMLViewImageExporter.
Definition at line 46 of file umlviewimageexporter.cpp.
Member Function Documentation
void UMLViewImageExporter::exportView | ( | ) |
Shows a save dialog to the user to get the needed parameters and then exports the view.
If the selected file already exists, an overwrite confirmation dialog is shown. If the user doesn't want to overwrite the file, the save dialog is shown again. The dialog remembers values between calls (in the same application instance, although it's not persistent between Umbrello executions).
The status bar shows an information message until the export finishes.
If something went wrong while exporting, an error dialog is shown to the user with the error message explaining the problem that happened.
Definition at line 64 of file umlviewimageexporter.cpp.
|
inline |
Definition at line 38 of file umlviewimageexporter.h.
|
inline |
Definition at line 37 of file umlviewimageexporter.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:06:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.