umbrello/umbrello
umlviewimageexporter.cpp
Go to the documentation of this file.
176 fileDialog->setSelection(m_scene->name() + '.' + UMLViewImageExporterModel::mimeTypeToImageType(m_imageMimeType));
Wrapper class for KFileDialog supporting graphviz *.dot files.
Definition: umlfiledialog.h:25
UMLViewImageExporter(UMLScene *scene)
Constructor for UMLViewImageExporter.
Definition: umlviewimageexporter.cpp:37
UMLDoc * document() const
Returns a pointer to the current document connected to the KMainWindow instance.
Definition: uml.cpp:872
static QStringList supportedMimeTypes()
Returns a QStringList containing all the supported mime types to use when exporting.
Definition: umlviewimageexportermodel.cpp:85
QString exportView(UMLScene *scene, const QString &imageType, const KUrl &url) const
Exports the view to the url using the 'imageType' for the image.
Definition: umlviewimageexportermodel.cpp:221
QString imageMimeType() const
Gets the default mime type for all diagrams that are exported as images.
Definition: uml.cpp:2866
virtual ~UMLViewImageExporter()
Destructor for UMLViewImageExporter.
Definition: umlviewimageexporter.cpp:46
Exports an UMLView in various image formats.
Definition: umlviewimageexportermodel.h:32
void exportView()
Shows a save dialog to the user to get the needed parameters and then exports the view...
Definition: umlviewimageexporter.cpp:64
static QString mimeTypeToImageType(const QString &mimeType)
Returns the image type for a mime type.
Definition: umlviewimageexportermodel.cpp:132
void setImageMimeType(const QString &mimeType)
Sets the default mime type for all diagrams that are exported as images.
Definition: uml.cpp:2856
void setMimeFilter(const QStringList &types, const QString &defaultType=QString())
Definition: umlfiledialog.cpp:84
void setOperationMode(KFileDialog::OperationMode mode)
Definition: umlfiledialog.cpp:64
void setUrl(const KUrl &url, bool clearforward=true)
Definition: umlfiledialog.cpp:69
static bool availableConfigFiles(UMLScene *scene, QHash< QString, QString > &configFiles)
Return a list of available templates for a given scene type.
Definition: dotgenerator.cpp:185
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:06:01 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:06:01 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.