umbrello 2.32.3 Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology

cmdlineexportallviewsevent.h
Go to the documentation of this file.
1 /***************************************************************************
2 * This program is free software; you can redistribute it and/or modify *
3 * it under the terms of the GNU General Public License as published by *
4 * the Free Software Foundation; either version 2 of the License, or *
5 * (at your option) any later version. *
6 * *
7 * copyright (C) 2006-2020 *
8 * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
9 ***************************************************************************/
10
11 #ifndef CMDLINEEXPORTALLVIEWSEVENT_H
12 #define CMDLINEEXPORTALLVIEWSEVENT_H
13
14 #include <QUrl>
15 #include <QEvent>
16
27 class CmdLineExportAllViewsEvent : public QEvent
28 {
29 public:
30
31 static QEvent::Type eventType();
32
33 CmdLineExportAllViewsEvent(const QString &imageType, const QUrl &directory, const bool useFolders);
34
35 virtual ~CmdLineExportAllViewsEvent();
36
37 void exportAllViews();
38
39 private:
40
41 static const QEvent::Type type_;
42
43 QString m_imageType;
44 QUrl m_directory;
45 bool m_useFolders;
46
47 };
48
49 #endif
CmdLineExportAllViewsEvent::m_useFolders
bool m_useFolders
If tree structure of the views in the document must be created in the target directory.
Definition: cmdlineexportallviewsevent.h:45
CmdLineExportAllViewsEvent::CmdLineExportAllViewsEvent
CmdLineExportAllViewsEvent(const QString &imageType, const QUrl &directory, const bool useFolders)
Definition: cmdlineexportallviewsevent.cpp:51
CmdLineExportAllViewsEvent::m_directory
QUrl m_directory
The url of the directory where the images will be saved.
Definition: cmdlineexportallviewsevent.h:44
umlviewimageexportermodel.h
UMLViewImageExporterModel
Definition: umlviewimageexportermodel.h:34
Uml::ID::Type
std::string Type
Definition: basictypes.h:351
CmdLineExportAllViewsEvent::type_
static const QEvent::Type type_
Definition: cmdlineexportallviewsevent.h:41
uDebug
#define uDebug()
Definition: debug_utils.h:122
CmdLineExportAllViewsEvent::m_imageType
QString m_imageType
The type of the images the views will be exported to.
Definition: cmdlineexportallviewsevent.h:43
UMLViewImageExporterModel::exportViews
QStringList exportViews(const UMLViewList &views, const QString &imageType, const QUrl &directory, bool useFolders) const
Definition: umlviewimageexportermodel.cpp:214
UMLApp::app
static UMLApp * app()
Definition: uml.cpp:278
cmdlineexportallviewsevent.h
uError
#define uError()
Definition: debug_utils.h:123
uml.h
debug_utils.h
CmdLineExportAllViewsEvent::eventType
static QEvent::Type eventType()
Definition: cmdlineexportallviewsevent.cpp:39
CmdLineExportAllViewsEvent::~CmdLineExportAllViewsEvent
virtual ~CmdLineExportAllViewsEvent()
Definition: cmdlineexportallviewsevent.cpp:63
UMLDoc::viewIterator
UMLViewList viewIterator()
Definition: umldoc.cpp:3105
UMLViewList
QList< QPointer< UMLView > > UMLViewList
Definition: umlviewlist.h:26
CmdLineExportAllViewsEvent
Definition: cmdlineexportallviewsevent.h:28
UMLApp::document
UMLDoc * document() const
Definition: uml.cpp:1064
CmdLineExportAllViewsEvent::exportAllViews
void exportAllViews()
Definition: cmdlineexportallviewsevent.cpp:72
umldoc.h