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

uml.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) 2002-2020 *
8 * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
9 ***************************************************************************/
10
11 #ifndef UML_H
12 #define UML_H
13
14 #include "basictypes.h"
15 #include "multipagedialogbase.h"
16
17 // kde includes
18 #include <kxmlguiwindow.h>
19 #if QT_VERSION < 0x050000
20 #include <kurl.h>
21 #endif
22 #include <ksharedconfig.h>
23
24 // qt includes
25 #include <QPointer>
26 #if QT_VERSION >= 0x050000
27 #include <QUrl>
28 #endif
29
30 // forward declaration of the UML classes
31 class BirdView;
32 class BirdViewDockWidget;
33 class CodeDocument;
34 class CodeGenerator;
35 class CodeGenerationPolicy;
36 class CodeGenPolicyExt;
37 class DocWindow;
38 class UMLAppPrivate;
39 class UMLClassifier;
40 class UMLDoc;
41 class UMLListView;
42 class UMLView;
43 class WorkToolBar;
44 class SettingsDialog;
45 class UMLViewImageExporterAll;
46 class RefactoringAssistant;
47 class XhtmlGenerator;
48 class StatusBarToolButton;
49 class DiagramPrintPage;
50
51 // KDE forward declarations
52 class KActionMenu;
53 class KRecentFilesAction;
54 class KToggleAction;
55 class KTabWidget;
56 class KMenu;
57 #if QT_VERSION < 0x050000
58 class KUndoStack;
59 #endif
60 class KAction;
61
62 // Qt forward declarations
63 class QStackedWidget;
64 class QToolButton;
65 class QDockWidget;
66 class QVBoxLayout;
67 class QKeyEvent;
68 class QMenu;
69 class QMimeData;
70 class QPrinter;
71 class QUndoCommand;
72 class QUndoView;
73 #if QT_VERSION >= 0x050000
74 class QUndoStack;
75 #endif
76 class QPushButton;
77 class QLabel;
78 class QListWidget;
79 class QSlider;
80
99 class UMLApp : public KXmlGuiWindow
100 {
101 Q_OBJECT
102 public:
103 explicit UMLApp(QWidget* parent = 0);
104 ~UMLApp();
105
106 static UMLApp* app();
107
108 #if QT_VERSION >= 0x050000
109 void openDocumentFile(const QUrl& url=QUrl());
110 #else
111 void openDocumentFile(const KUrl& url=KUrl());
112 #endif
113
114 void newDocument();
115
116 UMLDoc *document() const;
117
118 UMLListView* listView() const;
119 WorkToolBar* workToolBar() const;
120 DocWindow * docWindow() const;
121 QListWidget *logWindow() const;
122
123 QCursor defaultCursor();
124
125 void setModified(bool _m);
126
127 void enablePrint(bool enable);
128
129 bool isPasteState() const;
130 bool isCutCopyState() const;
131
132 bool isUndoEnabled();
133 void enableUndo(bool enable);
134
135 bool isUndoActionEnabled() const;
136 void enableUndoAction(bool enable);
137
138 bool isRedoActionEnabled() const;
139 void enableRedoAction(bool enable);
140
141 bool isSimpleCodeGeneratorActive();
142
143 void setGenerator(CodeGenerator* gen, bool giveWarning = true);
144 CodeGenerator* setGenerator(Uml::ProgrammingLanguage::Enum pl);
145 CodeGenerator* generator() const;
146
147 CodeGenerator* createGenerator();
148 void initGenerator();
149
150 void refactor(UMLClassifier* classifier);
151
152 void viewCodeDocument(UMLClassifier* classifier);
153
154 void setDiagramMenuItemsState(bool bState);
155
156 QWidget* mainViewWidget();
157
158 void setCurrentView(UMLView* view, bool updateTreeView = true);
159 UMLView* currentView() const;
160
161 void setImageMimeType(const QString& mimeType);
162 QString imageMimeType() const;
163
164 bool editCutCopy(bool bFromView);
165
166 #if QT_VERSION >= 0x050000
167 QTabWidget *tabWidget();
168 #else
169 KTabWidget *tabWidget();
170 #endif
171
172 QString statusBarMsg();
173
174 CodeGenerationPolicy *commonPolicy() const;
175
176 void setPolicyExt(CodeGenPolicyExt *policy);
177 CodeGenPolicyExt *policyExt() const;
178
179 void clearUndoStack();
180
181 void undo();
182 void redo();
183
184 void executeCommand(QUndoCommand* cmd);
185
186 void beginMacro(const QString & text);
187 void endMacro();
188
189 void setActiveLanguage(Uml::ProgrammingLanguage::Enum pl);
190 Uml::ProgrammingLanguage::Enum activeLanguage() const;
191 Uml::ProgrammingLanguage::Enum defaultLanguage();
192
193 bool activeLanguageIsCaseSensitive();
194
195 QString activeLanguageScopeSeparator();
196
197 KConfig* config();
198 void importFiles(QStringList& fileList, const QString &rootPath = QString());
199
200 static bool shuttingDown();
201
202 protected:
203 virtual void keyPressEvent(QKeyEvent* e);
204 virtual void keyReleaseEvent(QKeyEvent* e);
205
206 virtual void customEvent(QEvent* e);
207
208 void handleCursorKeyReleaseEvent(QKeyEvent* e);
209
210 void saveOptions();
211 void readOptions();
212
213 void initActions();
214 void initStatusBar();
215 void initView();
216
217 virtual bool queryClose();
218
219 virtual void saveProperties(KConfigGroup & cfg);
220 virtual void readProperties(const KConfigGroup & cfg);
221
222 void updateLangSelectMenu(Uml::ProgrammingLanguage::Enum activeLanguage);
223
224 public slots:
225 void slotExecGenerationWizard();
226 void slotImportingWizard();
227
228 void slotFileNew();
229 void slotFileOpen();
230
231 #if QT_VERSION >= 0x050000
232 void slotFileOpenRecent(const QUrl& url);
233 #else
234 void slotFileOpenRecent(const KUrl& url);
235 #endif
236 void slotFileSave();
237 bool slotFileSaveAs();
238 void slotFileClose();
239 bool slotPrintSettings();
240 void slotPrintPreview();
241 void slotPrintPreviewPaintRequested(QPrinter *printer);
242 void slotFilePrint();
243 void slotFileQuit();
244 void slotFileExportDocbook();
245 void slotFileExportXhtml();
246 void slotFind();
247 void slotFindNext();
248 void slotFindPrevious();
249 void slotEditCut();
250 void slotEditCopy();
251 void slotEditPaste();
252 void slotStatusMsg(const QString &text);
253 void slotClassDiagram();
254 void slotObjectDiagram();
255 void slotSequenceDiagram();
256 void slotCollaborationDiagram();
257 void slotUseCaseDiagram();
258 void slotStateDiagram();
259 void slotActivityDiagram();
260 void slotComponentDiagram();
261 void slotDeploymentDiagram();
262 void slotEntityRelationshipDiagram();
263 void slotAlignLeft();
264 void slotAlignRight();
265 void slotAlignTop();
266 void slotAlignBottom();
267 void slotAlignVerticalMiddle();
268 void slotAlignHorizontalMiddle();
269 void slotAlignVerticalDistribute();
270 void slotAlignHorizontalDistribute();
271 void slotClipDataChanged();
272 void slotCopyChanged();
273 void slotPrefs(MultiPageDialogBase::PageType page = MultiPageDialogBase::GeneralPage);
274 void slotApplyPrefs();
275 void slotImportClass();
276 void slotImportProject();
277 void slotUpdateViews();
278 void slotShowTreeView(bool state);
279 void slotShowDebugView(bool state);
280 void slotShowDocumentationView(bool state);
281 void slotShowCmdHistoryView(bool state);
282 void slotShowLogView(bool state);
283 void slotShowBirdView(bool state);
284 void slotCurrentViewClearDiagram();
285 void slotCurrentViewToggleSnapToGrid();
286 void slotCurrentViewToggleShowGrid();
287 void slotCurrentViewExportImage();
288 void slotViewsExportImages();
289 void slotCurrentProperties();
290 void slotClassWizard();
291 void slotAddDefaultDatatypes();
292 void slotCurrentViewChanged();
293 void slotSnapToGridToggled(bool gridOn);
294 void slotShowGridToggled(bool gridOn);
295 void slotSelectAll();
296 void slotDeleteSelected();
297 void slotDeleteDiagram();
298 #if QT_VERSION >= 0x050000
299 void slotCloseDiagram(int index);
300 #else
301 void slotCloseDiagram(QWidget* tab);
302 #endif
303 void slotGenerateAllCode();
304
305 void slotSetZoom(QAction* action);
306 void slotZoomSliderMoved(int value);
307 void slotZoomFit();
308 void slotZoom100();
309 void slotZoomOut();
310 void slotZoomIn();
311
312 void slotBirdViewChanged(const QPointF& newCenter);
313
314 void setupZoomMenu();
315
316 void slotEditUndo();
317 void slotEditRedo();
318
319 #if QT_VERSION >= 0x050000
320 void slotTabChanged(int index);
321 #else
322 void slotTabChanged(QWidget* tab);
323 #endif
324 void slotChangeTabLeft();
325 void slotChangeTabRight();
326 void slotMoveTabLeft();
327 void slotMoveTabRight();
328
329 void slotXhtmlDocGenerationFinished(bool status);
330 bool slotOpenFileInEditor(const QUrl &file, int startCursor = 0, int endCursor = 0);
331
332 private slots:
333 void setLang_actionscript();
334 void setLang_ada();
335 void setLang_cpp();
336 void setLang_csharp();
337 void setLang_d();
338 void setLang_idl();
339 void setLang_java();
340 void setLang_javascript();
341 void setLang_mysql();
342 void setLang_pascal();
343 void setLang_perl();
344 void setLang_php();
345 void setLang_php5();
346 void setLang_postgresql();
347 void setLang_python();
348 void setLang_ruby();
349 void setLang_sql();
350 void setLang_tcl();
351 void setLang_vala();
352 void setLang_xmlschema();
353 #if QT_VERSION >= 0x050000
354 void slotDiagramPopupMenu(const QPoint& point);
355 #endif
356
357 private:
358 static UMLApp* s_instance;
359 UMLAppPrivate *m_d;
360
361 QMenu* findMenu(const QString &name);
362
363 QAction* createZoomAction(int zoom, int currentZoom);
364 void setZoom(int zoom, bool withView = true);
365
366 void resetStatusMsg();
367
368 void setProgLangAction(Uml::ProgrammingLanguage::Enum pl, const char* name, const char* action);
369
370 static bool canDecode(const QMimeData* mimeSource);
371
372 void readOptionState();
373
374 void initClip();
375 void initSavedCodeGenerators();
376
377 void createDiagram(Uml::DiagramType::Enum type);
378
379 void createBirdView(UMLView* view);
380
381 QMenu* m_langSelect;
382 QMenu* m_zoomSelect;
383
384 Uml::ProgrammingLanguage::Enum m_activeLanguage;
385 CodeGenerator* m_codegen;
386 CodeGenerationPolicy* m_commoncodegenpolicy;
387 CodeGenPolicyExt* m_policyext;
388 // Only used for new code generators ({Cpp, Java, Ruby, D}CodeGenerator).
389
390 KSharedConfigPtr m_config;
391
398 QPointer<UMLView> m_view;
399
405 UMLDoc* m_doc;
406
407 UMLListView* m_listView;
408
409 QDockWidget* m_mainDock;
410 QDockWidget* m_listDock;
411 QDockWidget* m_debugDock;
412 QDockWidget* m_documentationDock;
413 QDockWidget* m_cmdHistoryDock;
414 QDockWidget* m_propertyDock;
415 QDockWidget* m_logDock;
416 BirdViewDockWidget* m_birdViewDock;
417
418 DocWindow* m_docWindow;
419 QListWidget* m_logWindow;
420 BirdView* m_birdView;
421 QUndoView* m_pQUndoView;
422 RefactoringAssistant* m_refactoringAssist;
423
424 // KAction pointers to enable/disable actions
425 KRecentFilesAction* fileOpenRecent;
426 QAction* printPreview;
427 QAction* filePrint;
428 QAction* editCut;
429 QAction* editCopy;
430 QAction* editPaste;
431 QAction* editUndo;
432 QAction* editRedo;
433
434 QAction* viewShowTree;
435 QAction* viewShowDebug;
436 QAction* viewShowDoc;
437 QAction* viewShowLog;
438 QAction* viewShowCmdHistory;
439 QAction* viewShowBirdView;
440
441 KActionMenu* newDiagram;
442 QAction* viewClearDiagram;
443
444 KToggleAction* viewSnapToGrid;
445 KToggleAction* viewShowGrid;
446 QAction* viewExportImage;
447 QAction* viewProperties;
448
449 QAction* zoom100Action;
450
451 QAction* m_langAct[Uml::ProgrammingLanguage::Reserved];
452 #if QT_VERSION >= 0x050000
453 QAction* deleteSelectedWidget;
454 QAction* deleteDiagram;
455 #else
456 KAction* deleteSelectedWidget;
457 KAction* deleteDiagram;
458 #endif
459 QToolButton* m_newSessionButton;
460 KMenu* m_diagramMenu;
461 WorkToolBar* m_toolsbar;
462 QTimer* m_clipTimer;
463 QTimer* m_copyTimer;
464
465 bool m_loading;
466
471 QStackedWidget* m_viewStack;
472
477 #if QT_VERSION >= 0x050000
478 QTabWidget* m_tabWidget;
479 #else
480 KTabWidget* m_tabWidget;
481 #endif
482
488 QVBoxLayout* m_layout;
489
490 QString m_imageMimeType;
491
492 SettingsDialog* m_settingsDialog;
493
494 UMLViewImageExporterAll* m_imageExporterAll;
495
499 QLabel* m_zoomValueLbl;
500 QPushButton* m_pZoomOutPB;
501 QPushButton* m_pZoomInPB;
502 StatusBarToolButton* m_pZoomFitSBTB;
503 StatusBarToolButton* m_pZoomFullSBTB;
504 QSlider* m_pZoomSlider;
505 QLabel* m_statusBarMessage;
509 XhtmlGenerator* m_xhtmlGenerator;
510
511 #if QT_VERSION >= 0x050000
512 QUndoStack* m_pUndoStack;
513 #else
514 KUndoStack* m_pUndoStack;
515 #endif
516 bool m_undoEnabled;
517
518 bool m_hasBegunMacro;
519
520 QPointer<DiagramPrintPage> m_printSettings;
521 QPrinter *m_printer;
522 static bool s_shuttingDown;
523
524 signals:
525 void sigCutSuccessful();
526
527 friend class UMLAppPrivate;
528 friend class UMLView;
529 };
530
531 #endif // UML_H
settingsdialog.h
UMLApp::fileOpenRecent
KRecentFilesAction * fileOpenRecent
Definition: uml.h:425
Uml::ProgrammingLanguage::PHP
@ PHP
Definition: basictypes.h:283
UMLApp::slotDeleteSelected
void slotDeleteSelected()
Definition: uml.cpp:2841
UMLApp::slotClipDataChanged
void slotClipDataChanged()
Definition: uml.cpp:1997
UMLApp::printPreview
QAction * printPreview
Definition: uml.h:426
UMLApp::currentView
UMLView * currentView() const
Definition: uml.cpp:3166
UMLApp::slotZoom100
void slotZoom100()
Definition: uml.cpp:727
UMLApp::m_activeLanguage
Uml::ProgrammingLanguage::Enum m_activeLanguage
Active language.
Definition: uml.h:384
Uml::DiagramType::UseCase
@ UseCase
Definition: basictypes.h:82
UMLApp::m_listView
UMLListView * m_listView
Listview shows the current open file.
Definition: uml.h:407
Icon_Utils::it_Align_VerticalDistribute
@ it_Align_VerticalDistribute
Definition: icon_utils.h:232
UMLListView::setDocument
void setDocument(UMLDoc *doc)
Definition: umllistview.cpp:1209
DEBUG_REGISTER
#define DEBUG_REGISTER(src)
Definition: debug_utils.h:131
UMLApp::slotImportingWizard
void slotImportingWizard()
Definition: uml.cpp:2775
UMLApp::m_codegen
CodeGenerator * m_codegen
Active code generator.
Definition: uml.h:385
Uml::ProgrammingLanguage::isCaseSensitive
bool isCaseSensitive(Enum item)
Definition: basictypes.cpp:1101
UMLDoc::url
const KUrl & url() const
Definition: umldoc.cpp:331
Uml::ProgrammingLanguage::scopeSeparator
QString scopeSeparator(Enum item)
Definition: basictypes.cpp:1110
UMLApp::setLang_ruby
void setLang_ruby()
Definition: uml.cpp:2469
UMLApp::setModified
void setModified(bool _m)
Definition: uml.cpp:1916
UMLApp::setCurrentView
void setCurrentView(UMLView *view, bool updateTreeView=true)
Definition: uml.cpp:3106
UMLApp::redo
void redo()
Definition: uml.cpp:3414
Uml::ProgrammingLanguage::Perl
@ Perl
Definition: basictypes.h:282
UMLApp::slotActivityDiagram
void slotActivityDiagram()
Definition: uml.cpp:1787
Uml::DiagramType::Component
@ Component
Definition: basictypes.h:87
CodeGenFactory::createObject
CodeGenerator * createObject(Uml::ProgrammingLanguage::Enum pl)
Definition: codegenfactory.cpp:97
UMLApp::editCut
QAction * editCut
Definition: uml.h:428
UMLAppPrivate::findResults
FindResults findResults
Definition: umlappprivate.h:62
UMLApp::setDiagramMenuItemsState
void setDiagramMenuItemsState(bool bState)
Definition: uml.cpp:2646
UMLListView::slotDeleteSelectedItems
void slotDeleteSelectedItems()
Definition: umllistview.cpp:2210
UMLApp::slotEntityRelationshipDiagram
void slotEntityRelationshipDiagram()
Definition: uml.cpp:1811
UMLApp::openDocumentFile
void openDocumentFile(const KUrl &url=KUrl())
Definition: uml.cpp:1047
UMLDoc::addDefaultDatatypes
void addDefaultDatatypes()
Definition: umldoc.cpp:3470
codegenfactory.h
UMLClipboard::paste
bool paste(const QMimeData *data)
Definition: umlclipboard.cpp:194
Uml::ProgrammingLanguage::Enum
Enum
Definition: basictypes.h:271
Settings::GeneralState::tabdiagrams
bool tabdiagrams
Definition: optionstate.h:57
UMLApp::slotShowLogView
void slotShowLogView(bool state)
Definition: uml.cpp:2570
UMLViewImageExporterAll
Definition: umlviewimageexporterall.h:25
XhtmlGenerator::generateXhtmlForProjectInto
bool generateXhtmlForProjectInto(const KUrl &destDir)
Definition: xhtmlgenerator.cpp:95
SettingsDialog
Definition: settingsdialog.h:52
Uml::ProgrammingLanguage::PostgreSQL
@ PostgreSQL
Definition: basictypes.h:285
UMLApp::slotImportProject
void slotImportProject()
Definition: uml.cpp:2757
docwindow.h
UMLApp::m_settingsDialog
SettingsDialog * m_settingsDialog
The global UML settings dialog.
Definition: uml.h:492
Icon_Utils::it_Properties
@ it_Properties
Definition: icon_utils.h:147
UMLApp::slotCloseDiagram
void slotCloseDiagram(QWidget *tab)
Definition: uml.cpp:2891
Uml::ProgrammingLanguage::Pascal
@ Pascal
Definition: basictypes.h:281
UMLApp::activeLanguageIsCaseSensitive
bool activeLanguageIsCaseSensitive()
Definition: uml.cpp:2531
UMLApp::slotDeleteDiagram
void slotDeleteDiagram()
Definition: uml.cpp:2865
UMLApp::filePrint
QAction * filePrint
Definition: uml.h:427
UMLApp::m_pQUndoView
QUndoView * m_pQUndoView
Undo / Redo Viewer.
Definition: uml.h:421
Uml::CmdCreateDiagram
Definition: cmdcreatediagram.h:25
UMLDoc::removeDatatype
void removeDatatype(const QString &name)
Definition: umldoc.cpp:3508
DocbookGenerator::generateDocbookForProjectInto
void generateDocbookForProjectInto(const KUrl &destDir)
Definition: docbookgenerator.cpp:92
UMLApp::setLang_sql
void setLang_sql()
Definition: uml.cpp:2474
Uml::AssociationType::Reserved
@ Reserved
Definition: basictypes.h:129
findresults.h
UMLApp::slotSelectAll
void slotSelectAll()
Definition: uml.cpp:2833
UMLApp::setLang_javascript
void setLang_javascript()
Definition: uml.cpp:2429
SettingsDialog::getCodeGenerationLanguage
QString getCodeGenerationLanguage()
Definition: settingsdialog.cpp:262
UMLApp::m_policyext
CodeGenPolicyExt * m_policyext
Active policy extension.
Definition: uml.h:387
UMBRELLOUI_RC
#define UMBRELLOUI_RC
Definition: moc_predefs.h:151
UMLApp::slotEditCopy
void slotEditCopy()
Definition: uml.cpp:1677
Icon_Utils::it_Align_HorizontalMiddle
@ it_Align_HorizontalMiddle
Definition: icon_utils.h:231
Icon_Utils::it_Diagram_Collaboration
@ it_Diagram_Collaboration
Definition: icon_utils.h:126
UMLApp::logWindow
QListWidget * logWindow() const
Definition: uml.cpp:1905
UMLApp::slotChangeTabLeft
void slotChangeTabLeft()
Definition: uml.cpp:3219
UMLApp::createZoomAction
QAction * createZoomAction(int zoom, int currentZoom)
Definition: uml.cpp:780
UMLApp::m_imageMimeType
QString m_imageMimeType
Default mime type to use for image export.
Definition: uml.h:490
FindDialog::category
UMLFinder::Category category()
Definition: finddialog.cpp:55
UMLApp::m_toolsbar
WorkToolBar * m_toolsbar
Definition: uml.h:461
UMLApp::slotChangeTabRight
void slotChangeTabRight()
Definition: uml.cpp:3249
Icon_Utils::it_Align_Bottom
@ it_Align_Bottom
Definition: icon_utils.h:229
Tracer::instance
static Tracer * instance()
Definition: debug_utils.cpp:36
StatusBarToolButton::GroupLeft
@ GroupLeft
Definition: statusbartoolbutton.h:39
ClassWizard
Definition: classwizard.h:28
UMLApp::activeLanguageScopeSeparator
QString activeLanguageScopeSeparator()
Definition: uml.cpp:2540
UMLApp::slotObjectDiagram
void slotObjectDiagram()
Definition: uml.cpp:1747
UMLApp::initSavedCodeGenerators
void initSavedCodeGenerators()
UMLApp::m_refactoringAssist
RefactoringAssistant * m_refactoringAssist
Refactoring assistant.
Definition: uml.h:422
Uml::ProgrammingLanguage::Java
@ Java
Definition: basictypes.h:278
UMLDoc::slotDiagramPopupMenu
void slotDiagramPopupMenu(QWidget *umlview, const QPoint &point)
Definition: umldoc.cpp:3526
UMLApp::m_newSessionButton
QToolButton * m_newSessionButton
Definition: uml.h:459
statusbartoolbutton.h
StatusBarToolButton::GroupRight
@ GroupRight
Definition: statusbartoolbutton.h:40
UMLListViewItem
Items used by UMLListView.
Definition: umllistviewitem.h:40
multipagedialogbase.h
UMLApp::m_commoncodegenpolicy
CodeGenerationPolicy * m_commoncodegenpolicy
Definition: uml.h:386
BirdViewDockWidget
The class BirdViewDockWidget contains the bird view.
Definition: birdview.h:41
UMLDoc::saveDocument
bool saveDocument(const KUrl &url, const char *format=0)
Definition: umldoc.cpp:776
Icon_Utils::it_Align_VerticalMiddle
@ it_Align_VerticalMiddle
Definition: icon_utils.h:230
DiagramSelectionDialog
Definition: diagramselectiondialog.h:29
UMLApp::m_pUndoStack
KUndoStack * m_pUndoStack
UndoStack used to store actions, to provide Undo/Redo feature.
Definition: uml.h:514
Uml::ProgrammingLanguage::Tcl
@ Tcl
Definition: basictypes.h:289
umlclipboard.h
finddialog.h
codeviewerdialog.h
UMLViewImageExporterAll::exportViews
void exportViews(DiagramPrintPage *selectPage)
Definition: umlviewimageexporterall.cpp:61
UMLAppPrivate::objectsWindow
ObjectsWindow * objectsWindow
Definition: umlappprivate.h:69
UMLApp::setLang_php
void setLang_php()
Definition: uml.cpp:2449
Uml::DiagramType::State
@ State
Definition: basictypes.h:85
UMLDoc::removeDiagram
void removeDiagram(Uml::ID::Type id)
Definition: umldoc.cpp:1803
UMLApp::isSimpleCodeGeneratorActive
bool isSimpleCodeGeneratorActive()
Definition: uml.cpp:2361
UMLApp::m_imageExporterAll
UMLViewImageExporterAll * m_imageExporterAll
Used to export all the views.
Definition: uml.h:494
UMLDoc::setupSignals
void setupSignals()
Definition: umldoc.cpp:993
Icon_Utils::it_New
@ it_New
Definition: icon_utils.h:134
Uml::ProgrammingLanguage::Reserved
@ Reserved
Definition: basictypes.h:292
UMLScene::alignHorizontalMiddle
void alignHorizontalMiddle()
Definition: umlscene.cpp:4305
UMLApp::slotFileExportDocbook
void slotFileExportDocbook()
Definition: uml.cpp:1583
UMLApp::slotOpenFileInEditor
bool slotOpenFileInEditor(const QUrl &file, int startCursor=0, int endCursor=0)
Definition: uml.cpp:3350
Icon_Utils::it_Go_Previous
@ it_Go_Previous
Definition: icon_utils.h:146
UMLApp::setLang_perl
void setLang_perl()
Definition: uml.cpp:2444
Uml::ProgrammingLanguage::MySQL
@ MySQL
Definition: basictypes.h:280
UMLApp::commonPolicy
CodeGenerationPolicy * commonPolicy() const
Definition: uml.cpp:2283
Uml::DiagramType::Enum
Enum
Definition: basictypes.h:77
UmbrelloSettings::imageMimeType
static QString imageMimeType()
Definition: umbrellosettings.h:63
UMLDoc::newDocument
bool newDocument()
Definition: umldoc.cpp:455
Icon_Utils::it_Diagram_Activity
@ it_Diagram_Activity
Definition: icon_utils.h:124
Uml::DiagramType::Collaboration
@ Collaboration
Definition: basictypes.h:84
UMLApp::slotFileQuit
void slotFileQuit()
Definition: uml.cpp:1567
UMLApp::imageMimeType
QString imageMimeType() const
Definition: uml.cpp:3185
Icon_Utils::it_Align_Left
@ it_Align_Left
Definition: icon_utils.h:227
umbrellosettings.h
UMLApp::slotShowBirdView
void slotShowBirdView(bool state)
Definition: uml.cpp:2576
Uml::ProgrammingLanguage::Python
@ Python
Definition: basictypes.h:286
Icon_Utils::it_Diagram_State
@ it_Diagram_State
Definition: icon_utils.h:131
RefactoringAssistant
Definition: refactoringassistant.h:28
UMLDoc::print
void print(QPrinter *pPrinter, DiagramPrintPage *selectPage)
Definition: umldoc.cpp:3079
UMLApp::enableUndo
void enableUndo(bool enable)
Definition: uml.cpp:2134
cmds.h
UMLApp::slotPrintSettings
bool slotPrintSettings()
Definition: uml.cpp:1472
Uml::ProgrammingLanguage::ActionScript
@ ActionScript
Definition: basictypes.h:272
UMLApp::editCopy
QAction * editCopy
Definition: uml.h:429
ClassImport
Definition: classimport.h:26
UMLApp::slotShowGridToggled
void slotShowGridToggled(bool gridOn)
Definition: uml.cpp:2825
UMLApp::mainViewWidget
QWidget * mainViewWidget()
Definition: uml.cpp:3060
worktoolbar.h
Icon_Utils::it_Export_Picture
@ it_Export_Picture
Definition: icon_utils.h:170
Uml::ProgrammingLanguage::XMLSchema
@ XMLSchema
Definition: basictypes.h:291
UMLApp::shuttingDown
static bool shuttingDown()
Definition: uml.cpp:2945
UmbrelloSettings::setImageMimeType
static void setImageMimeType(const QString &v)
Definition: umbrellosettings.h:53
UMLApp::m_mainDock
QDockWidget * m_mainDock
The widget which shows the diagrams.
Definition: uml.h:409
Icon_Utils::it_Diagram_Object
@ it_Diagram_Object
Definition: icon_utils.h:133
UMLApp::setZoom
void setZoom(int zoom, bool withView=true)
Definition: uml.cpp:754
UMLApp::sigCutSuccessful
void sigCutSuccessful()
Definition: moc_uml.cpp:648
UMLApp::slotDeploymentDiagram
void slotDeploymentDiagram()
Definition: uml.cpp:1803
UMLApp::findMenu
QMenu * findMenu(const QString &name)
Definition: uml.cpp:148
UMLApp::slotEditUndo
void slotEditUndo()
Definition: uml.cpp:1634
FindResults::displayPrevious
bool displayPrevious()
Definition: findresults.cpp:98
codegenerationwizard.h
UMLApp::slotShowCmdHistoryView
void slotShowCmdHistoryView(bool state)
Definition: uml.cpp:2564
Icon_Utils::it_Diagram_Class
@ it_Diagram_Class
Definition: icon_utils.h:125
UMLApp::initStatusBar
void initStatusBar()
Definition: uml.cpp:831
Uml::ProgrammingLanguage::Ruby
@ Ruby
Definition: basictypes.h:287
UMLApp::readProperties
virtual void readProperties(const KConfigGroup &cfg)
Definition: uml.cpp:1189
UMLApp::slotSetZoom
void slotSetZoom(QAction *action)
Definition: uml.cpp:769
FindDialog::text
QString text()
Definition: finddialog.cpp:32
UMLApp::slotFileSaveAs
bool slotFileSaveAs()
Definition: uml.cpp:1365
UMLApp::importFiles
void importFiles(QStringList &fileList, const QString &rootPath=QString())
Definition: uml.cpp:2691
UMLApp::m_hasBegunMacro
bool m_hasBegunMacro
Macro creation flag.
Definition: uml.h:518
UMLApp::slotUpdateViews
void slotUpdateViews()
Definition: uml.cpp:2665
CodeGenerator::findCodeDocumentByClassifier
CodeDocument * findCodeDocumentByClassifier(UMLClassifier *classifier)
Definition: codegenerator.cpp:300
UMLApp::m_printer
QPrinter * m_printer
print instance
Definition: uml.h:521
Settings::OptionState::generalState
GeneralState generalState
Definition: optionstate.h:326
Icon_Utils::it_Diagram_EntityRelationship
@ it_Diagram_EntityRelationship
Definition: icon_utils.h:129
UMLScene::isOpen
bool isOpen() const
Definition: umlscene.cpp:652
Settings::OptionState::save
void save()
Definition: optionstate.cpp:387
UMLApp::setupZoomMenu
void setupZoomMenu()
Definition: uml.cpp:796
UMLAppPrivate::createStereotypesWindow
void createStereotypesWindow()
Definition: umlappprivate.h:142
UMLAppPrivate::createObjectsWindow
void createObjectsWindow()
Definition: umlappprivate.h:132
UMLApp::~UMLApp
~UMLApp()
Definition: uml.cpp:244
CodeDocument
Definition: codedocument.h:33
UMLApp::setLang_csharp
void setLang_csharp()
Definition: uml.cpp:2409
UMLApp::m_listDock
QDockWidget * m_listDock
Contains the UMLListView tree view.
Definition: uml.h:410
UMLApp::m_docWindow
DocWindow * m_docWindow
Documentation window.
Definition: uml.h:418
UMLApp::m_statusBarMessage
QLabel * m_statusBarMessage
Definition: uml.h:505
Uml::ProgrammingLanguage::IDL
@ IDL
Definition: basictypes.h:277
umlappprivate.h
UMLScene::alignTop
void alignTop()
Definition: umlscene.cpp:4242
UMLApp::m_tabWidget
KTabWidget * m_tabWidget
Definition: uml.h:480
Uml::DiagramType::EntityRelationship
@ EntityRelationship
Definition: basictypes.h:89
UMLApp::handleCursorKeyReleaseEvent
void handleCursorKeyReleaseEvent(QKeyEvent *e)
Definition: uml.cpp:2983
UMLApp::viewProperties
QAction * viewProperties
Definition: uml.h:447
CodeGenPolicyExt
Definition: codegenpolicyext.h:28
UMLApp::viewShowTree
QAction * viewShowTree
Definition: uml.h:434
UMLApp::viewShowGrid
KToggleAction * viewShowGrid
Definition: uml.h:445
UMLApp::m_logWindow
QListWidget * m_logWindow
Logging window.
Definition: uml.h:419
BirdView::setSlotsEnabled
void setSlotsEnabled(bool enabled)
Definition: birdview.cpp:232
UMLApp::m_propertyDock
QDockWidget * m_propertyDock
Contains the property browser widget.
Definition: uml.h:414
UMLApp::slotEditRedo
void slotEditRedo()
Definition: uml.cpp:1644
UMLApp::slotComponentDiagram
void slotComponentDiagram()
Definition: uml.cpp:1795
UMLApp::readOptions
void readOptions()
Definition: uml.cpp:1134
classimport.h
UMLDoc::createDiagramName
QString createDiagramName(Uml::DiagramType::Enum type, bool askForName=true)
Definition: umldoc.cpp:1619
UMLApp::m_layout
QVBoxLayout * m_layout
Definition: uml.h:488
UMLApp::setPolicyExt
void setPolicyExt(CodeGenPolicyExt *policy)
Definition: uml.cpp:2291
UMLApp::initClip
void initClip()
Definition: uml.cpp:1953
BirdView
The class BirdView controls the view of the whole scene.
Definition: birdview.h:65
UMLApp::slotCurrentViewExportImage
void slotCurrentViewExportImage()
Definition: uml.cpp:2611
UMLApp::m_loading
bool m_loading
True if the application is opening an existing document.
Definition: uml.h:465
UMLListView::setStartedCopy
void setStartedCopy(bool startedCopy)
Definition: umllistview.cpp:2675
UMLDoc::settingsChanged
void settingsChanged(Settings::OptionState &optionState)
Definition: umldoc.cpp:3363
optionstate.h
DiagramPrintPage
A print dialog page.
Definition: diagramprintpage.h:38
UMLApp::slotViewsExportImages
void slotViewsExportImages()
Definition: uml.cpp:2619
UMLApp::slotAddDefaultDatatypes
void slotAddDefaultDatatypes()
Definition: uml.cpp:2795
Settings::optionState
OptionState & optionState()
Definition: optionstate.cpp:362
UMLScene::fileLoaded
void fileLoaded()
Definition: umlscene.cpp:3681
CodeGenerator::writeCodeToFile
virtual void writeCodeToFile()
Definition: codegenerator.cpp:310
UMLApp::setLang_postgresql
void setLang_postgresql()
Definition: uml.cpp:2459
UMLAppPrivate
Definition: umlappprivate.h:57
UMLApp::slotCurrentProperties
void slotCurrentProperties()
Definition: uml.cpp:2632
UMLApp::slotAlignVerticalMiddle
void slotAlignVerticalMiddle()
Definition: uml.cpp:1851
UMLApp::enableUndoAction
void enableUndoAction(bool enable)
Definition: uml.cpp:2160
UMLApp::saveProperties
virtual void saveProperties(KConfigGroup &cfg)
Definition: uml.cpp:1160
WorkToolBar::setOldTool
void setOldTool()
Definition: worktoolbar.cpp:300
UMLApp::readOptionState
void readOptionState()
Definition: uml.cpp:2220
UMLScene::getImageExporter
UMLViewImageExporter * getImageExporter()
Definition: umlscene.cpp:1936
UMLApp::slotApplyPrefs
void slotApplyPrefs()
Definition: uml.cpp:2042
UMLApp::slotZoomSliderMoved
void slotZoomSliderMoved(int value)
Definition: uml.cpp:687
CodeGenerationPolicy::writeConfig
virtual void writeConfig()
Definition: codegenerationpolicy.cpp:508
UMLApp::slotCurrentViewClearDiagram
void slotCurrentViewClearDiagram()
Definition: uml.cpp:2585
UMLApp::slotXhtmlDocGenerationFinished
void slotXhtmlDocGenerationFinished(bool status)
Definition: uml.cpp:3332
UMLAppPrivate::findDialog
FindDialog findDialog
Definition: umlappprivate.h:61
UMLScene::alignVerticalMiddle
void alignVerticalMiddle()
Definition: umlscene.cpp:4277
umldragdata.h
UMLAppPrivate::logWindow
QListWidget * logWindow
Logging window.
Definition: umlappprivate.h:63
UMLView::setZoom
void setZoom(qreal zoom)
Definition: umlview.cpp:72
UMLApp::slotFileNew
void slotFileNew()
Definition: uml.cpp:1247
UMLApp::deleteDiagram
KAction * deleteDiagram
Definition: uml.h:457
UMLApp::customEvent
virtual void customEvent(QEvent *e)
Definition: uml.cpp:2971
birdview.h
UMLListView::init
void init()
Definition: umllistview.cpp:1427
Icon_Utils::it_Diagram_Sequence
@ it_Diagram_Sequence
Definition: icon_utils.h:130
UMLAppPrivate::createDiagramsWindow
void createDiagramsWindow()
Definition: umlappprivate.h:122
FindDialog::filter
UMLFinder::Filter filter()
Definition: finddialog.cpp:41
UMLApp::editPaste
QAction * editPaste
Definition: uml.h:430
UMLDoc::changeCurrentView
void changeCurrentView(Uml::ID::Type id)
Definition: umldoc.cpp:1776
UMLApp::m_pZoomInPB
QPushButton * m_pZoomInPB
Definition: uml.h:501
UMLApp::defaultCursor
QCursor defaultCursor()
UMLApp::slotCurrentViewToggleSnapToGrid
void slotCurrentViewToggleSnapToGrid()
Definition: uml.cpp:2593
UMLApp::m_copyTimer
QTimer * m_copyTimer
Definition: uml.h:463
UMLApp::slotFileSave
void slotFileSave()
Definition: uml.cpp:1348
UMLApp::editCutCopy
bool editCutCopy(bool bFromView)
Definition: uml.cpp:2195
UMLView
Definition: umlview.h:35
UMLApp
Definition: uml.h:100
Uml::ProgrammingLanguage::SQL
@ SQL
Definition: basictypes.h:288
UmbrelloSettings::setShowDocWindow
static void setShowDocWindow(bool v)
Definition: umbrellosettings.h:665
UMLApp::setGenerator
void setGenerator(CodeGenerator *gen, bool giveWarning=true)
FindResults::collect
int collect(UMLFinder::Filter filter, UMLFinder::Category category, const QString &text)
Definition: findresults.cpp:36
UMLApp::slotEditPaste
void slotEditPaste()
Definition: uml.cpp:1689
UMLApp::docWindow
DocWindow * docWindow() const
Definition: uml.cpp:1895
UMLScene::deleteSelection
void deleteSelection()
Definition: umlscene.cpp:1599
umlviewlist.h
UMLView::show
void show()
Definition: umlview.cpp:117
UMLApp::tabWidget
KTabWidget * tabWidget()
Definition: uml.cpp:3361
UMLApp::keyReleaseEvent
virtual void keyReleaseEvent(QKeyEvent *e)
Definition: uml.cpp:3023
UMLApp::slotAlignBottom
void slotAlignBottom()
Definition: uml.cpp:1843
UMLApp::deleteSelectedWidget
KAction * deleteSelectedWidget
Definition: uml.h:456
UMLApp::slotTabChanged
void slotTabChanged(QWidget *tab)
Definition: uml.cpp:3207
UMLApp::slotAlignHorizontalDistribute
void slotAlignHorizontalDistribute()
Definition: uml.cpp:1875
UMLApp::viewShowBirdView
QAction * viewShowBirdView
Definition: uml.h:439
UMLScene::selectedCount
int selectedCount(bool filterText=false) const
Definition: umlscene.cpp:2005
UMLApp::m_pZoomFitSBTB
StatusBarToolButton * m_pZoomFitSBTB
Definition: uml.h:502
Uml::ProgrammingLanguage::fromString
Enum fromString(const QString &item)
Definition: basictypes.cpp:925
SettingsDialog::getChangesApplied
bool getChangesApplied()
Definition: settingsdialog.h:62
UMLApp::listView
UMLListView * listView() const
Definition: uml.cpp:1074
uWarning
#define uWarning()
Definition: debug_utils.h:124
UMLApp::slotFilePrint
void slotFilePrint()
Definition: uml.cpp:1536
UMLApp::setLang_mysql
void setLang_mysql()
Definition: uml.cpp:2434
UMLScene::type
Uml::DiagramType::Enum type() const
Definition: umlscene.cpp:426
UMLDoc::setLoading
void setLoading(bool state=true)
Definition: umldoc.cpp:1581
DocWindow
Definition: docwindow.h:30
FindResults::displayNext
bool displayNext()
Definition: findresults.cpp:71
UMLApp::slotShowDocumentationView
void slotShowDocumentationView(bool state)
Definition: uml.cpp:2558
UMLApp::slotZoomFit
void slotZoomFit()
Definition: uml.cpp:695
UMLApp::generator
CodeGenerator * generator() const
Definition: uml.cpp:2351
UMLApp::slotFind
void slotFind()
Definition: uml.cpp:1438
Icon_Utils::it_Delete
@ it_Delete
Definition: icon_utils.h:135
UMLApp::isUndoEnabled
bool isUndoEnabled()
Definition: uml.cpp:2124
i18n
#define i18n
Definition: main.cpp:39
UMLApp::createDiagram
void createDiagram(Uml::DiagramType::Enum type)
Definition: uml.cpp:1729
UMLApp::slotCollaborationDiagram
void slotCollaborationDiagram()
Definition: uml.cpp:1763
UMLApp::m_undoEnabled
bool m_undoEnabled
Undo enabled flag.
Definition: uml.h:516
UMLApp::slotAlignTop
void slotAlignTop()
Definition: uml.cpp:1835
Icon_Utils::it_Align_Top
@ it_Align_Top
Definition: icon_utils.h:228
UMLApp::slotAlignVerticalDistribute
void slotAlignVerticalDistribute()
Definition: uml.cpp:1867
Uml::ProgrammingLanguage::D
@ D
Definition: basictypes.h:276
advancedcodegenerator.h
UMLScene::selectedWidgets
UMLWidgetList selectedWidgets() const
Definition: umlscene.cpp:1406
UMLApp::setLang_ada
void setLang_ada()
Definition: uml.cpp:2399
UMLApp::m_diagramMenu
KMenu * m_diagramMenu
Definition: uml.h:460
StatusBarToolButton::setGroupPosition
void setGroupPosition(StatusBarToolButton::GroupPosition groupPosition)
Definition: statusbartoolbutton.cpp:57
UMLApp::setProgLangAction
void setProgLangAction(Uml::ProgrammingLanguage::Enum pl, const char *name, const char *action)
Definition: uml.cpp:286
UMLApp::enablePrint
void enablePrint(bool enable)
Definition: uml.cpp:1944
ClassImport::setRootPath
void setRootPath(const QString &path)
Definition: classimport.cpp:123
UMLApp::resetStatusMsg
void resetStatusMsg()
Definition: uml.cpp:1720
UMLApp::m_pZoomFullSBTB
StatusBarToolButton * m_pZoomFullSBTB
Definition: uml.h:503
UMLApp::setImageMimeType
void setImageMimeType(const QString &mimeType)
Definition: uml.cpp:3175
UMLDoc::writeToStatusBar
void writeToStatusBar(const QString &text)
Definition: umldoc.cpp:1208
diagramselectiondialog.h
UMLApp::slotFileOpenRecent
void slotFileOpenRecent(const KUrl &url)
Definition: uml.cpp:1313
umlviewimageexporter.h
UMLApp::setLang_php5
void setLang_php5()
Definition: uml.cpp:2454
UMLApp::saveOptions
void saveOptions()
Definition: uml.cpp:1084
basictypes.h
Uml::ProgrammingLanguage::Ada
@ Ada
Definition: basictypes.h:273
UMLApp::defaultLanguage
Uml::ProgrammingLanguage::Enum defaultLanguage()
Definition: uml.cpp:2909
codegenerationpolicy.h
UMLApp::m_langSelect
QMenu * m_langSelect
For selecting the active language.
Definition: uml.h:381
UMLApp::slotSequenceDiagram
void slotSequenceDiagram()
Definition: uml.cpp:1755
UMLApp::beginMacro
void beginMacro(const QString &text)
Definition: uml.cpp:3460
UMLWidgetList
QList< QPointer< UMLWidget > > UMLWidgetList
Definition: umlwidgetlist.h:17
CodeGenerationPolicy
Definition: codegenerationpolicy.h:30
UMLApp::s_instance
static UMLApp * s_instance
The last created instance of this class.
Definition: uml.h:358
UMLApp::m_xhtmlGenerator
XhtmlGenerator * m_xhtmlGenerator
Definition: uml.h:509
SimpleCodeGenerator
Definition: simplecodegenerator.h:34
UMLApp::workToolBar
WorkToolBar * workToolBar() const
Definition: uml.cpp:1885
UMLApp::setActiveLanguage
void setActiveLanguage(Uml::ProgrammingLanguage::Enum pl)
Definition: uml.cpp:2514
UMLApp::m_birdViewDock
BirdViewDockWidget * m_birdViewDock
Contains the bird's eye view.
Definition: uml.h:416
UMLApp::setLang_java
void setLang_java()
Definition: uml.cpp:2424
AdvancedCodeGenerator
Definition: advancedcodegenerator.h:22
UMLApp::initActions
void initActions()
Definition: uml.cpp:298
UMLApp::slotFindNext
void slotFindNext()
Definition: uml.cpp:1454
UMLApp::slotStateDiagram
void slotStateDiagram()
Definition: uml.cpp:1779
WorkToolBar
The toolbar that is different for each type of diagram.
Definition: worktoolbar.h:41
UMLDoc::openDocument
bool openDocument(const KUrl &url, const char *format=0)
Definition: umldoc.cpp:498
Uml::ProgrammingLanguage::Cpp
@ Cpp
Definition: basictypes.h:274
UMLApp::viewShowLog
QAction * viewShowLog
Definition: uml.h:437
Icon_Utils::SmallIcon
QPixmap SmallIcon(IconType type)
Definition: icon_utils.cpp:41
UMLApp::endMacro
void endMacro()
Definition: uml.cpp:3479
UMLApp::slotGenerateAllCode
void slotGenerateAllCode()
Definition: uml.cpp:2374
MyProject\connect
connect()
Definition: namespaces-multiple.php:5
UMLApp::m_d
UMLAppPrivate * m_d
Definition: uml.h:359
umllistview.h
UMLApp::slotFileClose
void slotFileClose()
Definition: uml.cpp:1429
Icon_Utils::it_Clear
@ it_Clear
Definition: icon_utils.h:156
UMLApp::slotMoveTabLeft
void slotMoveTabLeft()
Definition: uml.cpp:3286
UMLApp::slotMoveTabRight
void slotMoveTabRight()
Definition: uml.cpp:3308
UMLApp::initGenerator
void initGenerator()
Definition: uml.cpp:2918
UMLScene::clearDiagram
void clearDiagram()
Definition: umlscene.cpp:3486
UMLApp::app
static UMLApp * app()
Definition: uml.cpp:278
UMLApp::slotAlignHorizontalMiddle
void slotAlignHorizontalMiddle()
Definition: uml.cpp:1859
UMLApp::slotFileOpen
void slotFileOpen()
Definition: uml.cpp:1265
UMLApp::s_shuttingDown
static bool s_shuttingDown
Definition: uml.h:522
widget_utils.h
UMLDoc
Definition: umldoc.h:75
UMLApp::slotPrintPreviewPaintRequested
void slotPrintPreviewPaintRequested(QPrinter *printer)
Definition: uml.cpp:1528
UMLApp::m_zoomSelect
QMenu * m_zoomSelect
Popup menu for zoom selection.
Definition: uml.h:382
Icon_Utils::it_Diagram_Usecase
@ it_Diagram_Usecase
Definition: icon_utils.h:132
UMLDoc::setModified
void setModified(bool modified=true)
Definition: umldoc.cpp:3136
Icon_Utils::it_Zoom_100
@ it_Zoom_100
Definition: icon_utils.h:225
UMLApp::slotClassDiagram
void slotClassDiagram()
Definition: uml.cpp:1739
UMLApp::slotCurrentViewToggleShowGrid
void slotCurrentViewToggleShowGrid()
Definition: uml.cpp:2602
StatusBarToolButton
Definition: statusbartoolbutton.h:34
UMLAppPrivate::openFileInEditor
bool openFileInEditor(const QUrl &file, int startCursor=0, int endCursor=0)
Definition: umlappprivate.cpp:136
UMLApp::slotClassWizard
void slotClassWizard()
Definition: uml.cpp:2785
UMLApp::setLang_xmlschema
void setLang_xmlschema()
Definition: uml.cpp:2489
UMLApp::undo
void undo()
Definition: uml.cpp:3390
UMLScene::alignVerticalDistribute
void alignVerticalDistribute()
Definition: umlscene.cpp:4333
UMLApp::slotUseCaseDiagram
void slotUseCaseDiagram()
Definition: uml.cpp:1771
CodeViewerDialog
Definition: codeviewerdialog.h:28
Uml
Definition: basictypes.cpp:37
Uml::DiagramType::Sequence
@ Sequence
Definition: basictypes.h:83
DocbookGenerator
Definition: docbookgenerator.h:40
UMLApp::setLang_cpp
void setLang_cpp()
Definition: uml.cpp:2404
UMLApp::m_zoomValueLbl
QLabel * m_zoomValueLbl
Definition: uml.h:499
classwizard.h
UniqueID::gen
Uml::ID::Type gen()
Definition: uniqueid.cpp:26
RefactoringAssistant::refactor
void refactor(UMLClassifier *obj)
Definition: refactoringassistant.cpp:78
UMLApp::isCutCopyState
bool isCutCopyState() const
Definition: uml.cpp:2114
UMLApp::slotZoomIn
void slotZoomIn()
Definition: uml.cpp:743
refactoringassistant.h
UMLApp::enableRedoAction
void enableRedoAction(bool enable)
Definition: uml.cpp:2181
UMLApp::setLang_idl
void setLang_idl()
Definition: uml.cpp:2419
ClassImport::importFiles
bool importFiles(const QStringList &fileNames)
Definition: classimport.cpp:92
Icon_Utils::it_Align_Right
@ it_Align_Right
Definition: icon_utils.h:226
UMLApp::slotImportClass
void slotImportClass()
Definition: uml.cpp:2721
UMLApp::m_clipTimer
QTimer * m_clipTimer
Definition: uml.h:462
UMLApp::m_pZoomSlider
QSlider * m_pZoomSlider
Definition: uml.h:504
Settings::OptionState
Definition: optionstate.h:314
UMLApp::m_logDock
QDockWidget * m_logDock
Contains the log window widget.
Definition: uml.h:415
UMLScene::setIsOpen
void setIsOpen(bool isOpen)
Definition: umlscene.cpp:661
UMLAppPrivate::stereotypesWindow
StereotypesWindow * stereotypesWindow
Definition: umlappprivate.h:70
UMLApp::slotFindPrevious
void slotFindPrevious()
Definition: uml.cpp:1463
Uml::DiagramType::Class
@ Class
Definition: basictypes.h:81
getFiles
void getFiles(QStringList &files, const QString &path, QStringList &filters)
getFiles
Definition: uml.cpp:2743
UMLScene::alignHorizontalDistribute
void alignHorizontalDistribute()
Definition: umlscene.cpp:4364
DEBUG
#define DEBUG(src)
Definition: debug_utils.h:129
UMLApp::slotPrefs
void slotPrefs(MultiPageDialogBase::PageType page=MultiPageDialogBase::GeneralPage)
Definition: uml.cpp:2023
docbookgenerator.h
UMLApp::viewClearDiagram
QAction * viewClearDiagram
Definition: uml.h:442
ClassImport::createImporterByFileExt
static ClassImport * createImporterByFileExt(const QString &fileName, CodeImpThread *thread=0)
Definition: classimport.cpp:43
cmdlineexportallviewsevent.h
uError
#define uError()
Definition: debug_utils.h:123
UMLApp::updateLangSelectMenu
void updateLangSelectMenu(Uml::ProgrammingLanguage::Enum activeLanguage)
Definition: uml.cpp:2934
Uml::DiagramType::Object
@ Object
Definition: basictypes.h:90
CodeViewerDialog::state
Settings::CodeViewerState state()
Definition: codeviewerdialog.cpp:73
UmbrelloSettings::self
static UmbrelloSettings * self()
Definition: umbrellosettings.cpp:19
umlscene.h
Icon_Utils::it_UndoView
@ it_UndoView
Definition: icon_utils.h:144
UMLApp::policyExt
CodeGenPolicyExt * policyExt() const
Definition: uml.cpp:2299
uml.h
DocWindow::isTyping
bool isTyping()
Definition: docwindow.cpp:323
UMLApp::m_debugDock
QDockWidget * m_debugDock
Contains the debug DocWindow widget.
Definition: uml.h:411
Settings::OptionState::load
void load()
Definition: optionstate.cpp:376
UMLApp::canDecode
static bool canDecode(const QMimeData *mimeSource)
Definition: uml.cpp:1976
UMLView::showPropertiesDialog
virtual bool showPropertiesDialog(QWidget *parent=0)
Definition: umlview.cpp:91
UMLApp::createBirdView
void createBirdView(UMLView *view)
Definition: uml.cpp:3074
UMLApp::slotBirdViewChanged
void slotBirdViewChanged(const QPointF &newCenter)
Definition: uml.cpp:3088
UMLApp::refactor
void refactor(UMLClassifier *classifier)
Definition: uml.cpp:2270
UMLScene::toggleShowGrid
void toggleShowGrid()
Definition: umlscene.cpp:3528
UMLApp::m_birdView
BirdView * m_birdView
Bird View window.
Definition: uml.h:420
UMLApp::viewShowDoc
QAction * viewShowDoc
Definition: uml.h:436
CodeGenerator::defaultDatatypes
virtual QStringList defaultDatatypes()
Definition: codegenerator.cpp:784
Icon_Utils::it_Align_HorizontalDistribute
@ it_Align_HorizontalDistribute
Definition: icon_utils.h:233
UMLApp::slotZoomOut
void slotZoomOut()
Definition: uml.cpp:735
MultiPageDialogBase::exec
int exec()
Definition: multipagedialogbase.cpp:223
UMLClassifier
Information for a non-graphical Concept/Class.
Definition: classifier.h:40
debug_utils.h
UMLViewImageExporter::exportView
void exportView()
Definition: umlviewimageexporter.cpp:76
codeimportingwizard.h
UMLScene::alignRight
void alignRight()
Definition: umlscene.cpp:4225
icon_utils.h
UMLApp::setLang_tcl
void setLang_tcl()
Definition: uml.cpp:2479
UMLScene::name
QString name() const
Definition: umlscene.cpp:410
UMLApp::newDiagram
KActionMenu * newDiagram
Definition: uml.h:441
Settings::GeneralState::defaultLanguage
Uml::ProgrammingLanguage::Enum defaultLanguage
Definition: optionstate.h:68
UMLApp::slotAlignRight
void slotAlignRight()
Definition: uml.cpp:1827
UMLApp::editUndo
QAction * editUndo
Definition: uml.h:431
UmbrelloSettings::setGeometry
static void setGeometry(const QSize &v)
Definition: umbrellosettings.h:25
UMLApp::editRedo
QAction * editRedo
Definition: uml.h:432
UMLApp::slotExecGenerationWizard
void slotExecGenerationWizard()
Definition: uml.cpp:2384
UMLApp::m_doc
UMLDoc * m_doc
Definition: uml.h:405
UMLScene
Definition: umlscene.h:69
UMLApp::UMLApp
UMLApp(QWidget *parent=0)
Definition: uml.cpp:163
DBG_SRC
#define DBG_SRC
Definition: import_utils.cpp:43
Uml::ProgrammingLanguage::toExtensions
QStringList toExtensions(Enum item)
Definition: basictypes.cpp:985
UMLApp::slotPrintPreview
void slotPrintPreview()
Definition: uml.cpp:1509
UMLApp::setLang_vala
void setLang_vala()
Definition: uml.cpp:2484
codegenpolicyext.h
Uml::ProgrammingLanguage::Vala
@ Vala
Definition: basictypes.h:290
UMLApp::m_viewStack
QStackedWidget * m_viewStack
Definition: uml.h:471
UMLApp::slotCurrentViewChanged
void slotCurrentViewChanged()
Definition: uml.cpp:2803
Icon_Utils::it_Diagram_Deployment
@ it_Diagram_Deployment
Definition: icon_utils.h:128
diagramprintpage.h
Icon_Utils::it_Import_Files
@ it_Import_Files
Definition: icon_utils.h:168
UMLApp::zoom100Action
QAction * zoom100Action
Definition: uml.h:449
UMLView::umlScene
UMLScene * umlScene() const
Definition: umlview.cpp:56
UMLApp::slotEditCut
void slotEditCut()
Definition: uml.cpp:1654
UMLAppPrivate::welcomeWindow
QDockWidget * welcomeWindow
Definition: umlappprivate.h:71
UMLApp::m_config
KSharedConfigPtr m_config
The configuration object of the application.
Definition: uml.h:390
UMLListView::selectedItemsCount
int selectedItemsCount()
Definition: umllistview.cpp:2075
UMLApp::viewSnapToGrid
KToggleAction * viewSnapToGrid
Definition: uml.h:444
Icon_Utils::it_Import_Project
@ it_Import_Project
Definition: icon_utils.h:167
CmdLineExportAllViewsEvent::eventType
static QEvent::Type eventType()
Definition: cmdlineexportallviewsevent.cpp:39
CodeImportingWizard
Definition: codeimportingwizard.h:35
UMLApp::createGenerator
CodeGenerator * createGenerator()
UMLListView
Displays the list view for the program.
Definition: umllistview.h:47
simplecodegenerator.h
b
bool b
Definition: cxx11-null-pointer-constant.h:6
UMLApp::m_documentationDock
QDockWidget * m_documentationDock
Contains the documentation DocWindow widget.
Definition: uml.h:412
UMLApp::queryClose
virtual bool queryClose()
Definition: uml.cpp:1233
Uml::DiagramType::Activity
@ Activity
Definition: basictypes.h:86
UMLClipboard
Clipboard management class.
Definition: umlclipboard.h:33
CodeGenerator
Definition: codegenerator.h:57
UMLDoc::isModified
bool isModified()
Definition: umldoc.cpp:3151
DocWindow::reset
void reset()
Definition: docwindow.cpp:309
UMLApp::statusBarMsg
QString statusBarMsg()
Definition: uml.cpp:3372
Settings::OptionState::codeViewerState
CodeViewerState codeViewerState
Definition: optionstate.h:330
Settings::GeneralState::undo
bool undo
Definition: optionstate.h:56
Icon_Utils::it_Go_Next
@ it_Go_Next
Definition: icon_utils.h:145
UMLListView::setStartedCut
void setStartedCut(bool startedCut)
Definition: umllistview.cpp:2665
SettingsDialog::setCurrentPage
void setCurrentPage(PageType page)
Definition: settingsdialog.cpp:76
UMLScene::ID
Uml::ID::Type ID() const
Definition: umlscene.cpp:442
UMLApp::config
KConfig * config()
Definition: uml.cpp:3496
UMLApp::m_langAct
QAction * m_langAct[Uml::ProgrammingLanguage::Reserved]
Definition: uml.h:451
UMLApp::slotCopyChanged
void slotCopyChanged()
Definition: uml.cpp:2008
UMLApp::activeLanguage
Uml::ProgrammingLanguage::Enum activeLanguage() const
Definition: uml.cpp:2523
UMLApp::newDocument
void newDocument()
Definition: uml.cpp:3050
UMLApp::m_cmdHistoryDock
QDockWidget * m_cmdHistoryDock
Contains the undo/redo viewer widget.
Definition: uml.h:413
Icon_Utils::it_Diagram_Component
@ it_Diagram_Component
Definition: icon_utils.h:127
UMLScene::toggleSnapToGrid
void toggleSnapToGrid()
Definition: umlscene.cpp:3510
UMLDoc::viewIterator
UMLViewList viewIterator()
Definition: umldoc.cpp:3105
UMLListView::findView
UMLListViewItem * findView(UMLView *v)
Definition: umllistview.cpp:1346
UMLApp::setLang_actionscript
void setLang_actionscript()
Definition: uml.cpp:2394
Icon_Utils::it_Tab_New
@ it_Tab_New
Definition: icon_utils.h:151
UMLApp::viewShowCmdHistory
QAction * viewShowCmdHistory
Definition: uml.h:438
Uml::ProgrammingLanguage::JavaScript
@ JavaScript
Definition: basictypes.h:279
umlviewimageexporterall.h
Icon_Utils::it_Export_Files
@ it_Export_Files
Definition: icon_utils.h:169
UMLDoc::closeDocument
void closeDocument()
Definition: umldoc.cpp:403
Uml::ProgrammingLanguage::toExtensionsDescription
QString toExtensionsDescription(Enum item)
Definition: basictypes.cpp:1064
UMLApp::executeCommand
void executeCommand(QUndoCommand *cmd)
Definition: uml.cpp:3438
Uml::ProgrammingLanguage::CSharp
@ CSharp
Definition: basictypes.h:275
Uml::DiagramType::Deployment
@ Deployment
Definition: basictypes.h:88
UMLViewList
QList< QPointer< UMLView > > UMLViewList
Definition: umlviewlist.h:26
UMLApp::m_view
QPointer< UMLView > m_view
Definition: uml.h:398
UMLApp::keyPressEvent
virtual void keyPressEvent(QKeyEvent *e)
Definition: uml.cpp:2953
UMLApp::m_pZoomOutPB
QPushButton * m_pZoomOutPB
Definition: uml.h:500
UMLClipboard::copy
QMimeData * copy(bool fromView=false)
Definition: umlclipboard.cpp:69
UMLApp::isUndoActionEnabled
bool isUndoActionEnabled() const
Definition: uml.cpp:2149
UMLApp::slotShowDebugView
void slotShowDebugView(bool state)
Definition: uml.cpp:2552
UMLScene::alignBottom
void alignBottom()
Definition: umlscene.cpp:4260
UMLApp::initView
void initView()
Definition: uml.cpp:903
UMLApp::m_printSettings
QPointer< DiagramPrintPage > m_printSettings
printer diagram settings
Definition: uml.h:520
UMLApp::setLang_python
void setLang_python()
Definition: uml.cpp:2464
CodeGenerator::createDefaultStereotypes
virtual void createDefaultStereotypes()
Definition: codegenerator.cpp:815
MultiPageDialogBase::GeneralPage
@ GeneralPage
Definition: multipagedialogbase.h:64
UMLAppPrivate::diagramsWindow
DiagramsWindow * diagramsWindow
Definition: umlappprivate.h:68
Icon_Utils::iconSet
QPixmap iconSet(Uml::DiagramType::Enum dt)
Definition: icon_utils.cpp:127
UMLApp::slotFileExportXhtml
void slotFileExportXhtml()
Definition: uml.cpp:1608
UMLApp::viewExportImage
QAction * viewExportImage
Definition: uml.h:446
UMLApp::setLang_pascal
void setLang_pascal()
Definition: uml.cpp:2439
CmdLineExportAllViewsEvent
Definition: cmdlineexportallviewsevent.h:28
UMLScene::alignLeft
void alignLeft()
Definition: umlscene.cpp:4207
UMLApp::document
UMLDoc * document() const
Definition: uml.cpp:1064
UMLApp::viewShowDebug
QAction * viewShowDebug
Definition: uml.h:435
UMLAppPrivate::createWelcomeWindow
void createWelcomeWindow()
Definition: umlappprivate.h:152
UMLApp::viewCodeDocument
void viewCodeDocument(UMLClassifier *classifier)
Definition: uml.cpp:2238
CmdLineExportAllViewsEvent::exportAllViews
void exportAllViews()
Definition: cmdlineexportallviewsevent.cpp:72
UMLScene::selectAll
void selectAll()
Definition: umlscene.cpp:1684
umldoc.h
WorkToolBar::setupActions
void setupActions()
Definition: worktoolbar.cpp:501
UMLApp::isPasteState
bool isPasteState() const
Definition: uml.cpp:2104
UMLDoc::saveModified
bool saveModified()
Definition: umldoc.cpp:355
CodeGenPolicyExt::setDefaults
virtual void setDefaults(bool emitUpdateSignal=true)=0
UMLApp::slotStatusMsg
void slotStatusMsg(const QString &text)
Definition: uml.cpp:1711
UMLApp::slotShowTreeView
void slotShowTreeView(bool state)
Definition: uml.cpp:2546
UMLApp::clearUndoStack
void clearUndoStack()
Definition: uml.cpp:3381
UmbrelloSettings::setLastFile
static void setLastFile(const QString &v)
Definition: umbrellosettings.h:469
UMLApp::slotSnapToGridToggled
void slotSnapToGridToggled(bool gridOn)
Definition: uml.cpp:2817
XhtmlGenerator
Definition: xhtmlgenerator.h:42
xhtmlgenerator.h
UmbrelloSettings::geometry
static QSize geometry()
Definition: umbrellosettings.h:35
UMLApp::isRedoActionEnabled
bool isRedoActionEnabled() const
Definition: uml.cpp:2170
UMLApp::setLang_d
void setLang_d()
Definition: uml.cpp:2414
UMLView::zoom
qreal zoom() const
Definition: umlview.cpp:64
MultiPageDialogBase::PageType
PageType
Available page types.
Definition: multipagedialogbase.h:57
UMLApp::slotAlignLeft
void slotAlignLeft()
Definition: uml.cpp:1819
CodeGenerationWizard
Definition: codegenerationwizard.h:33
WorkToolBar::setDefaultTool
void setDefaultTool()
Definition: worktoolbar.cpp:312
Uml::ProgrammingLanguage::PHP5
@ PHP5
Definition: basictypes.h:284