umbrello: umbrello/uml.h Source File

umbrello 2.31.1 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 protected:
201 virtual void keyPressEvent(QKeyEvent* e);
202 virtual void keyReleaseEvent(QKeyEvent* e);
203
204 virtual void customEvent(QEvent* e);
205
206 void handleCursorKeyReleaseEvent(QKeyEvent* e);
207
208 void saveOptions();
209 void readOptions();
210
211 void initActions();
212 void initStatusBar();
213 void initView();
214
215 virtual bool queryClose();
216
217 virtual void saveProperties(KConfigGroup & cfg);
218 virtual void readProperties(const KConfigGroup & cfg);
219
220 void updateLangSelectMenu(Uml::ProgrammingLanguage::Enum activeLanguage);
221
222 public slots:
223 void slotExecGenerationWizard();
224 void slotImportingWizard();
225
226 void slotFileNew();
227 void slotFileOpen();
228
229 #if QT_VERSION >= 0x050000
230 void slotFileOpenRecent(const QUrl& url);
231 #else
232 void slotFileOpenRecent(const KUrl& url);
233 #endif
234 void slotFileSave();
235 bool slotFileSaveAs();
236 void slotFileClose();
237 bool slotPrintSettings();
238 void slotPrintPreview();
239 void slotPrintPreviewPaintRequested(QPrinter *printer);
240 void slotFilePrint();
241 void slotFileQuit();
242 void slotFileExportDocbook();
243 void slotFileExportXhtml();
244 void slotFind();
245 void slotFindNext();
246 void slotFindPrevious();
247 void slotEditCut();
248 void slotEditCopy();
249 void slotEditPaste();
250 void slotStatusMsg(const QString &text);
251 void slotClassDiagram();
252 void slotObjectDiagram();
253 void slotSequenceDiagram();
254 void slotCollaborationDiagram();
255 void slotUseCaseDiagram();
256 void slotStateDiagram();
257 void slotActivityDiagram();
258 void slotComponentDiagram();
259 void slotDeploymentDiagram();
260 void slotEntityRelationshipDiagram();
261 void slotAlignLeft();
262 void slotAlignRight();
263 void slotAlignTop();
264 void slotAlignBottom();
265 void slotAlignVerticalMiddle();
266 void slotAlignHorizontalMiddle();
267 void slotAlignVerticalDistribute();
268 void slotAlignHorizontalDistribute();
269 void slotClipDataChanged();
270 void slotCopyChanged();
271 void slotPrefs(MultiPageDialogBase::PageType page = MultiPageDialogBase::GeneralPage);
272 void slotApplyPrefs();
273 void slotImportClass();
274 void slotImportProject();
275 void slotUpdateViews();
276 void slotShowTreeView(bool state);
277 void slotShowDebugView(bool state);
278 void slotShowDocumentationView(bool state);
279 void slotShowCmdHistoryView(bool state);
280 void slotShowLogView(bool state);
281 void slotShowBirdView(bool state);
282 void slotCurrentViewClearDiagram();
283 void slotCurrentViewToggleSnapToGrid();
284 void slotCurrentViewToggleShowGrid();
285 void slotCurrentViewExportImage();
286 void slotViewsExportImages();
287 void slotCurrentProperties();
288 void slotClassWizard();
289 void slotAddDefaultDatatypes();
290 void slotCurrentViewChanged();
291 void slotSnapToGridToggled(bool gridOn);
292 void slotShowGridToggled(bool gridOn);
293 void slotSelectAll();
294 void slotDeleteSelected();
295 void slotDeleteDiagram();
296 #if QT_VERSION >= 0x050000
297 void slotCloseDiagram(int index);
298 #else
299 void slotCloseDiagram(QWidget* tab);
300 #endif
301 void slotGenerateAllCode();
302
303 void slotSetZoom(QAction* action);
304 void slotZoomSliderMoved(int value);
305 void slotZoomFit();
306 void slotZoom100();
307 void slotZoomOut();
308 void slotZoomIn();
309
310 void slotBirdViewChanged(const QPointF& newCenter);
311
312 void setupZoomMenu();
313
314 void slotEditUndo();
315 void slotEditRedo();
316
317 #if QT_VERSION >= 0x050000
318 void slotTabChanged(int index);
319 #else
320 void slotTabChanged(QWidget* tab);
321 #endif
322 void slotChangeTabLeft();
323 void slotChangeTabRight();
324 void slotMoveTabLeft();
325 void slotMoveTabRight();
326
327 void slotXhtmlDocGenerationFinished(bool status);
328 bool slotOpenFileInEditor(const QUrl &file, int startCursor = 0, int endCursor = 0);
329
330 private slots:
331 void setLang_actionscript();
332 void setLang_ada();
333 void setLang_cpp();
334 void setLang_csharp();
335 void setLang_d();
336 void setLang_idl();
337 void setLang_java();
338 void setLang_javascript();
339 void setLang_mysql();
340 void setLang_pascal();
341 void setLang_perl();
342 void setLang_php();
343 void setLang_php5();
344 void setLang_postgresql();
345 void setLang_python();
346 void setLang_ruby();
347 void setLang_sql();
348 void setLang_tcl();
349 void setLang_vala();
350 void setLang_xmlschema();
351 #if QT_VERSION >= 0x050000
352 void slotDiagramPopupMenu(const QPoint& point);
353 #endif
354
355 private:
356 static UMLApp* s_instance;
357 UMLAppPrivate *m_d;
358
359 QMenu* findMenu(const QString &name);
360
361 QAction* createZoomAction(int zoom, int currentZoom);
362 void setZoom(int zoom, bool withView = true);
363
364 void resetStatusMsg();
365
366 void setProgLangAction(Uml::ProgrammingLanguage::Enum pl, const char* name, const char* action);
367
368 static bool canDecode(const QMimeData* mimeSource);
369
370 void readOptionState();
371
372 void initClip();
373 void initSavedCodeGenerators();
374
375 void createDiagram(Uml::DiagramType::Enum type);
376
377 void createBirdView(UMLView* view);
378
379 QMenu* m_langSelect;
380 QMenu* m_zoomSelect;
381
382 Uml::ProgrammingLanguage::Enum m_activeLanguage;
383 CodeGenerator* m_codegen;
384 CodeGenerationPolicy* m_commoncodegenpolicy;
385 CodeGenPolicyExt* m_policyext;
386 // Only used for new code generators ({Cpp, Java, Ruby, D}CodeGenerator).
387
388 KSharedConfigPtr m_config;
389
396 QPointer<UMLView> m_view;
397
403 UMLDoc* m_doc;
404
405 UMLListView* m_listView;
406
407 QDockWidget* m_mainDock;
408 QDockWidget* m_listDock;
409 QDockWidget* m_debugDock;
410 QDockWidget* m_documentationDock;
411 QDockWidget* m_cmdHistoryDock;
412 QDockWidget* m_propertyDock;
413 QDockWidget* m_logDock;
414 BirdViewDockWidget* m_birdViewDock;
415
416 DocWindow* m_docWindow;
417 QListWidget* m_logWindow;
418 BirdView* m_birdView;
419 QUndoView* m_pQUndoView;
420 RefactoringAssistant* m_refactoringAssist;
421
422 // KAction pointers to enable/disable actions
423 KRecentFilesAction* fileOpenRecent;
424 QAction* printPreview;
425 QAction* filePrint;
426 QAction* editCut;
427 QAction* editCopy;
428 QAction* editPaste;
429 QAction* editUndo;
430 QAction* editRedo;
431
432 QAction* viewShowTree;
433 QAction* viewShowDebug;
434 QAction* viewShowDoc;
435 QAction* viewShowLog;
436 QAction* viewShowCmdHistory;
437 QAction* viewShowBirdView;
438
439 KActionMenu* newDiagram;
440 QAction* viewClearDiagram;
441
442 KToggleAction* viewSnapToGrid;
443 KToggleAction* viewShowGrid;
444 QAction* viewExportImage;
445 QAction* viewProperties;
446
447 QAction* zoom100Action;
448
449 QAction* m_langAct[Uml::ProgrammingLanguage::Reserved];
450 #if QT_VERSION >= 0x050000
451 QAction* deleteSelectedWidget;
452 QAction* deleteDiagram;
453 #else
454 KAction* deleteSelectedWidget;
455 KAction* deleteDiagram;
456 #endif
457 QToolButton* m_newSessionButton;
458 KMenu* m_diagramMenu;
459 WorkToolBar* m_toolsbar;
460 QTimer* m_clipTimer;
461 QTimer* m_copyTimer;
462
463 bool m_loading;
464
469 QStackedWidget* m_viewStack;
470
475 #if QT_VERSION >= 0x050000
476 QTabWidget* m_tabWidget;
477 #else
478 KTabWidget* m_tabWidget;
479 #endif
480
486 QVBoxLayout* m_layout;
487
488 QString m_imageMimeType;
489
490 SettingsDialog* m_settingsDialog;
491
492 UMLViewImageExporterAll* m_imageExporterAll;
493
497 QLabel* m_zoomValueLbl;
498 QPushButton* m_pZoomOutPB;
499 QPushButton* m_pZoomInPB;
500 StatusBarToolButton* m_pZoomFitSBTB;
501 StatusBarToolButton* m_pZoomFullSBTB;
502 QSlider* m_pZoomSlider;
503 QLabel* m_statusBarMessage;
507 XhtmlGenerator* m_xhtmlGenerator;
508
509 #if QT_VERSION >= 0x050000
510 QUndoStack* m_pUndoStack;
511 #else
512 KUndoStack* m_pUndoStack;
513 #endif
514 bool m_undoEnabled;
515
516 bool m_hasBegunMacro;
517
518 QPointer<DiagramPrintPage> m_printSettings;
519 QPrinter *m_printer;
520
521 signals:
522 void sigCutSuccessful();
523
524 friend class UMLAppPrivate;
525 friend class UMLView;
526 };
527
528 #endif // UML_H
settingsdialog.h
UMLApp::fileOpenRecent
KRecentFilesAction * fileOpenRecent
Definition: uml.h:423
Uml::ProgrammingLanguage::PHP
@ PHP
Definition: basictypes.h:300
UMLApp::slotDeleteSelected
void slotDeleteSelected()
Definition: uml.cpp:2827
UMLApp::slotClipDataChanged
void slotClipDataChanged()
Definition: uml.cpp:1988
UMLApp::printPreview
QAction * printPreview
Definition: uml.h:424
UMLApp::currentView
UMLView * currentView() const
Definition: uml.cpp:3144
UMLApp::slotZoom100
void slotZoom100()
Definition: uml.cpp:718
UMLApp::m_activeLanguage
Uml::ProgrammingLanguage::Enum m_activeLanguage
Active language.
Definition: uml.h:382
Uml::DiagramType::UseCase
@ UseCase
Definition: basictypes.h:99
UMLApp::m_listView
UMLListView * m_listView
Listview shows the current open file.
Definition: uml.h:405
Icon_Utils::it_Align_VerticalDistribute
@ it_Align_VerticalDistribute
Definition: icon_utils.h:232
UMLListView::setDocument
void setDocument(UMLDoc *doc)
Definition: umllistview.cpp:1201
DEBUG_REGISTER
#define DEBUG_REGISTER(src)
Definition: debug_utils.h:131
UMLApp::slotImportingWizard
void slotImportingWizard()
Definition: uml.cpp:2761
UMLApp::m_codegen
CodeGenerator * m_codegen
Active code generator.
Definition: uml.h:383
Uml::ProgrammingLanguage::isCaseSensitive
bool isCaseSensitive(Enum item)
Definition: basictypes.cpp:1118
UMLDoc::url
const KUrl & url() const
Definition: umldoc.cpp:330
Uml::ProgrammingLanguage::scopeSeparator
QString scopeSeparator(Enum item)
Definition: basictypes.cpp:1127
UMLApp::setLang_ruby
void setLang_ruby()
Definition: uml.cpp:2455
UMLApp::setModified
void setModified(bool _m)
Definition: uml.cpp:1907
UMLApp::setCurrentView
void setCurrentView(UMLView *view, bool updateTreeView=true)
Definition: uml.cpp:3084
UMLApp::redo
void redo()
Definition: uml.cpp:3392
Uml::ProgrammingLanguage::Perl
@ Perl
Definition: basictypes.h:299
UMLApp::slotActivityDiagram
void slotActivityDiagram()
Definition: uml.cpp:1778
Uml::DiagramType::Component
@ Component
Definition: basictypes.h:104
CodeGenFactory::createObject
CodeGenerator * createObject(Uml::ProgrammingLanguage::Enum pl)
Definition: codegenfactory.cpp:107
UMLApp::editCut
QAction * editCut
Definition: uml.h:426
UMLAppPrivate::findResults
FindResults findResults
Definition: umlappprivate.h:62
UMLApp::setDiagramMenuItemsState
void setDiagramMenuItemsState(bool bState)
Definition: uml.cpp:2632
UMLListView::slotDeleteSelectedItems
void slotDeleteSelectedItems()
Definition: umllistview.cpp:2202
UMLApp::slotEntityRelationshipDiagram
void slotEntityRelationshipDiagram()
Definition: uml.cpp:1802
UMLApp::openDocumentFile
void openDocumentFile(const KUrl &url=KUrl())
Definition: uml.cpp:1038
UMLDoc::addDefaultDatatypes
void addDefaultDatatypes()
Definition: umldoc.cpp:3459
codegenfactory.h
UMLClipboard::paste
bool paste(const QMimeData *data)
Definition: umlclipboard.cpp:194
Uml::ProgrammingLanguage::Enum
Enum
Definition: basictypes.h:288
Settings::GeneralState::tabdiagrams
bool tabdiagrams
Definition: optionstate.h:65
UMLApp::slotShowLogView
void slotShowLogView(bool state)
Definition: uml.cpp:2556
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:302
UMLApp::slotImportProject
void slotImportProject()
Definition: uml.cpp:2743
docwindow.h
UMLApp::m_settingsDialog
SettingsDialog * m_settingsDialog
The global UML settings dialog.
Definition: uml.h:490
Icon_Utils::it_Properties
@ it_Properties
Definition: icon_utils.h:147
UMLApp::slotCloseDiagram
void slotCloseDiagram(QWidget *tab)
Definition: uml.cpp:2877
Uml::ProgrammingLanguage::Pascal
@ Pascal
Definition: basictypes.h:298
UMLApp::activeLanguageIsCaseSensitive
bool activeLanguageIsCaseSensitive()
Definition: uml.cpp:2517
UMLApp::slotDeleteDiagram
void slotDeleteDiagram()
Definition: uml.cpp:2851
UMLApp::filePrint
QAction * filePrint
Definition: uml.h:425
UMLApp::m_pQUndoView
QUndoView * m_pQUndoView
Undo / Redo Viewer.
Definition: uml.h:419
Uml::CmdCreateDiagram
Definition: cmdcreatediagram.h:25
DocbookGenerator::generateDocbookForProjectInto
void generateDocbookForProjectInto(const KUrl &destDir)
Definition: docbookgenerator.cpp:92
UMLApp::setLang_sql
void setLang_sql()
Definition: uml.cpp:2460
Uml::AssociationType::Reserved
@ Reserved
Definition: basictypes.h:146
findresults.h
UMLApp::slotSelectAll
void slotSelectAll()
Definition: uml.cpp:2819
UMLApp::setLang_javascript
void setLang_javascript()
Definition: uml.cpp:2415
SettingsDialog::getCodeGenerationLanguage
QString getCodeGenerationLanguage()
Definition: settingsdialog.cpp:262
UMLApp::m_policyext
CodeGenPolicyExt * m_policyext
Active policy extension.
Definition: uml.h:385
UMLApp::slotEditCopy
void slotEditCopy()
Definition: uml.cpp:1668
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:1896
UMLApp::slotChangeTabLeft
void slotChangeTabLeft()
Definition: uml.cpp:3197
UMLApp::createZoomAction
QAction * createZoomAction(int zoom, int currentZoom)
Definition: uml.cpp:771
UMLApp::m_imageMimeType
QString m_imageMimeType
Default mime type to use for image export.
Definition: uml.h:488
FindDialog::category
UMLFinder::Category category()
Definition: finddialog.cpp:55
UMLApp::m_toolsbar
WorkToolBar * m_toolsbar
Definition: uml.h:459
UMLApp::slotChangeTabRight
void slotChangeTabRight()
Definition: uml.cpp:3227
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:2526
UMLApp::slotObjectDiagram
void slotObjectDiagram()
Definition: uml.cpp:1738
UMLApp::initSavedCodeGenerators
void initSavedCodeGenerators()
UMLApp::m_refactoringAssist
RefactoringAssistant * m_refactoringAssist
Refactoring assistant.
Definition: uml.h:420
Uml::ProgrammingLanguage::Java
@ Java
Definition: basictypes.h:295
UMLDoc::slotDiagramPopupMenu
void slotDiagramPopupMenu(QWidget *umlview, const QPoint &point)
Definition: umldoc.cpp:3492
UMLApp::m_newSessionButton
QToolButton * m_newSessionButton
Definition: uml.h:457
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:384
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:775
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:512
Uml::ProgrammingLanguage::Tcl
@ Tcl
Definition: basictypes.h:306
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:2435
Uml::DiagramType::State
@ State
Definition: basictypes.h:102
UMLDoc::removeDiagram
void removeDiagram(Uml::ID::Type id)
Definition: umldoc.cpp:1801
UMLApp::isSimpleCodeGeneratorActive
bool isSimpleCodeGeneratorActive()
Definition: uml.cpp:2347
UMLApp::m_imageExporterAll
UMLViewImageExporterAll * m_imageExporterAll
Used to export all the views.
Definition: uml.h:492
UMLDoc::setupSignals
void setupSignals()
Definition: umldoc.cpp:991
Icon_Utils::it_New
@ it_New
Definition: icon_utils.h:134
Uml::ProgrammingLanguage::Reserved
@ Reserved
Definition: basictypes.h:309
UMLScene::alignHorizontalMiddle
void alignHorizontalMiddle()
Definition: umlscene.cpp:4288
UMLApp::slotFileExportDocbook
void slotFileExportDocbook()
Definition: uml.cpp:1574
UMLApp::slotOpenFileInEditor
bool slotOpenFileInEditor(const QUrl &file, int startCursor=0, int endCursor=0)
Definition: uml.cpp:3328
Icon_Utils::it_Go_Previous
@ it_Go_Previous
Definition: icon_utils.h:146
UMLApp::setLang_perl
void setLang_perl()
Definition: uml.cpp:2430
Uml::ProgrammingLanguage::MySQL
@ MySQL
Definition: basictypes.h:297
UMLApp::commonPolicy
CodeGenerationPolicy * commonPolicy() const
Definition: uml.cpp:2274
Uml::DiagramType::Enum
Enum
Definition: basictypes.h:94
UMLDoc::newDocument
bool newDocument()
Definition: umldoc.cpp:454
Icon_Utils::it_Diagram_Activity
@ it_Diagram_Activity
Definition: icon_utils.h:124
Uml::DiagramType::Collaboration
@ Collaboration
Definition: basictypes.h:101
UMLApp::slotFileQuit
void slotFileQuit()
Definition: uml.cpp:1558
UMLApp::imageMimeType
QString imageMimeType() const
Definition: uml.cpp:3163
Icon_Utils::it_Align_Left
@ it_Align_Left
Definition: icon_utils.h:227
UMLApp::slotShowBirdView
void slotShowBirdView(bool state)
Definition: uml.cpp:2562
Uml::ProgrammingLanguage::Python
@ Python
Definition: basictypes.h:303
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:3068
UMLApp::enableUndo
void enableUndo(bool enable)
Definition: uml.cpp:2125
cmds.h
UMLApp::slotPrintSettings
bool slotPrintSettings()
Definition: uml.cpp:1463
Uml::ProgrammingLanguage::ActionScript
@ ActionScript
Definition: basictypes.h:289
UMLApp::editCopy
QAction * editCopy
Definition: uml.h:427
ClassImport
Definition: classimport.h:26
UMLApp::slotShowGridToggled
void slotShowGridToggled(bool gridOn)
Definition: uml.cpp:2811
UMLApp::mainViewWidget
QWidget * mainViewWidget()
Definition: uml.cpp:3038
worktoolbar.h
Icon_Utils::it_Export_Picture
@ it_Export_Picture
Definition: icon_utils.h:170
Uml::ProgrammingLanguage::XMLSchema
@ XMLSchema
Definition: basictypes.h:308
UMLApp::m_mainDock
QDockWidget * m_mainDock
The widget which shows the diagrams.
Definition: uml.h:407
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:745
UMLApp::sigCutSuccessful
void sigCutSuccessful()
UMLApp::slotDeploymentDiagram
void slotDeploymentDiagram()
Definition: uml.cpp:1794
UMLApp::findMenu
QMenu * findMenu(const QString &name)
Definition: uml.cpp:140
UMLApp::slotEditUndo
void slotEditUndo()
Definition: uml.cpp:1625
FindResults::displayPrevious
bool displayPrevious()
Definition: findresults.cpp:98
codegenerationwizard.h
UMLApp::slotShowCmdHistoryView
void slotShowCmdHistoryView(bool state)
Definition: uml.cpp:2550
Icon_Utils::it_Diagram_Class
@ it_Diagram_Class
Definition: icon_utils.h:125
UMLApp::initStatusBar
void initStatusBar()
Definition: uml.cpp:822
Uml::ProgrammingLanguage::Ruby
@ Ruby
Definition: basictypes.h:304
UMLApp::readProperties
virtual void readProperties(const KConfigGroup &cfg)
Definition: uml.cpp:1180
UMLApp::slotSetZoom
void slotSetZoom(QAction *action)
Definition: uml.cpp:760
FindDialog::text
QString text()
Definition: finddialog.cpp:32
UMLApp::slotFileSaveAs
bool slotFileSaveAs()
Definition: uml.cpp:1356
UMLApp::importFiles
void importFiles(QStringList &fileList, const QString &rootPath=QString())
Definition: uml.cpp:2677
UMLApp::m_hasBegunMacro
bool m_hasBegunMacro
Macro creation flag.
Definition: uml.h:516
UMLApp::slotUpdateViews
void slotUpdateViews()
Definition: uml.cpp:2651
CodeGenerator::findCodeDocumentByClassifier
CodeDocument * findCodeDocumentByClassifier(UMLClassifier *classifier)
Definition: codegenerator.cpp:300
UMLApp::m_printer
QPrinter * m_printer
print instance
Definition: uml.h:519
Settings::OptionState::generalState
GeneralState generalState
Definition: optionstate.h:334
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:395
UMLApp::setupZoomMenu
void setupZoomMenu()
Definition: uml.cpp:787
UMLAppPrivate::createStereotypesWindow
void createStereotypesWindow()
Definition: umlappprivate.h:142
UMLAppPrivate::createObjectsWindow
void createObjectsWindow()
Definition: umlappprivate.h:132
UMLApp::~UMLApp
~UMLApp()
Definition: uml.cpp:236
CodeDocument
Definition: codedocument.h:33
UMLApp::setLang_csharp
void setLang_csharp()
Definition: uml.cpp:2395
UMLApp::m_listDock
QDockWidget * m_listDock
Contains the UMLListView tree view.
Definition: uml.h:408
UMLApp::m_docWindow
DocWindow * m_docWindow
Documentation window.
Definition: uml.h:416
UMLApp::m_statusBarMessage
QLabel * m_statusBarMessage
Definition: uml.h:503
Uml::ProgrammingLanguage::IDL
@ IDL
Definition: basictypes.h:294
umlappprivate.h
UMLScene::alignTop
void alignTop()
Definition: umlscene.cpp:4225
UMLApp::m_tabWidget
KTabWidget * m_tabWidget
Definition: uml.h:478
Uml::DiagramType::EntityRelationship
@ EntityRelationship
Definition: basictypes.h:106
UMLApp::handleCursorKeyReleaseEvent
void handleCursorKeyReleaseEvent(QKeyEvent *e)
Definition: uml.cpp:2961
UMLApp::viewProperties
QAction * viewProperties
Definition: uml.h:445
CodeGenPolicyExt
Definition: codegenpolicyext.h:28
UMLApp::viewShowTree
QAction * viewShowTree
Definition: uml.h:432
UMLApp::viewShowGrid
KToggleAction * viewShowGrid
Definition: uml.h:443
UMLApp::m_logWindow
QListWidget * m_logWindow
Logging window.
Definition: uml.h:417
BirdView::setSlotsEnabled
void setSlotsEnabled(bool enabled)
Definition: birdview.cpp:232
UMLApp::m_propertyDock
QDockWidget * m_propertyDock
Contains the property browser widget.
Definition: uml.h:412
UMLApp::slotEditRedo
void slotEditRedo()
Definition: uml.cpp:1635
UMLApp::slotComponentDiagram
void slotComponentDiagram()
Definition: uml.cpp:1786
UMLApp::readOptions
void readOptions()
Definition: uml.cpp:1125
classimport.h
UMLDoc::createDiagramName
QString createDiagramName(Uml::DiagramType::Enum type, bool askForName=true)
Definition: umldoc.cpp:1617
UMLApp::m_layout
QVBoxLayout * m_layout
Definition: uml.h:486
UMLApp::setPolicyExt
void setPolicyExt(CodeGenPolicyExt *policy)
Definition: uml.cpp:2282
UMLApp::initClip
void initClip()
Definition: uml.cpp:1944
BirdView
The class BirdView controls the view of the whole scene.
Definition: birdview.h:65
UMLApp::slotCurrentViewExportImage
void slotCurrentViewExportImage()
Definition: uml.cpp:2597
UMLApp::m_loading
bool m_loading
True if the application is opening an existing document.
Definition: uml.h:463
UMLListView::setStartedCopy
void setStartedCopy(bool startedCopy)
Definition: umllistview.cpp:2667
UMLDoc::settingsChanged
void settingsChanged(Settings::OptionState &optionState)
Definition: umldoc.cpp:3352
optionstate.h
DiagramPrintPage
A print dialog page.
Definition: diagramprintpage.h:38
UMLApp::slotViewsExportImages
void slotViewsExportImages()
Definition: uml.cpp:2605
UMLApp::slotAddDefaultDatatypes
void slotAddDefaultDatatypes()
Definition: uml.cpp:2781
Settings::optionState
OptionState & optionState()
Definition: optionstate.cpp:370
UMLScene::fileLoaded
void fileLoaded()
Definition: umlscene.cpp:3664
CodeGenerator::writeCodeToFile
virtual void writeCodeToFile()
Definition: codegenerator.cpp:310
UMLApp::setLang_postgresql
void setLang_postgresql()
Definition: uml.cpp:2445
UMLAppPrivate
Definition: umlappprivate.h:57
UMLApp::slotCurrentProperties
void slotCurrentProperties()
Definition: uml.cpp:2618
UMLApp::slotAlignVerticalMiddle
void slotAlignVerticalMiddle()
Definition: uml.cpp:1842
UMLApp::enableUndoAction
void enableUndoAction(bool enable)
Definition: uml.cpp:2151
UMLApp::saveProperties
virtual void saveProperties(KConfigGroup &cfg)
Definition: uml.cpp:1151
WorkToolBar::setOldTool
void setOldTool()
Definition: worktoolbar.cpp:300
UMLApp::readOptionState
void readOptionState()
Definition: uml.cpp:2211
UMLScene::getImageExporter
UMLViewImageExporter * getImageExporter()
Definition: umlscene.cpp:1921
UMLApp::slotApplyPrefs
void slotApplyPrefs()
Definition: uml.cpp:2033
UMLApp::slotZoomSliderMoved
void slotZoomSliderMoved(int value)
Definition: uml.cpp:678
CodeGenerationPolicy::writeConfig
virtual void writeConfig()
Definition: codegenerationpolicy.cpp:508
UMLApp::slotCurrentViewClearDiagram
void slotCurrentViewClearDiagram()
Definition: uml.cpp:2571
UMLApp::slotXhtmlDocGenerationFinished
void slotXhtmlDocGenerationFinished(bool status)
Definition: uml.cpp:3310
UMLAppPrivate::findDialog
FindDialog findDialog
Definition: umlappprivate.h:61
UMLScene::alignVerticalMiddle
void alignVerticalMiddle()
Definition: umlscene.cpp:4260
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:1238
UMLApp::deleteDiagram
KAction * deleteDiagram
Definition: uml.h:455
UMLApp::customEvent
virtual void customEvent(QEvent *e)
Definition: uml.cpp:2949
birdview.h
UMLListView::init
void init()
Definition: umllistview.cpp:1419
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:428
UMLDoc::changeCurrentView
void changeCurrentView(Uml::ID::Type id)
Definition: umldoc.cpp:1774
UMLApp::m_pZoomInPB
QPushButton * m_pZoomInPB
Definition: uml.h:499
UMLApp::defaultCursor
QCursor defaultCursor()
UMLApp::slotCurrentViewToggleSnapToGrid
void slotCurrentViewToggleSnapToGrid()
Definition: uml.cpp:2579
UMLApp::m_copyTimer
QTimer * m_copyTimer
Definition: uml.h:461
UMLApp::slotFileSave
void slotFileSave()
Definition: uml.cpp:1339
UMLApp::editCutCopy
bool editCutCopy(bool bFromView)
Definition: uml.cpp:2186
UMLView
Definition: umlview.h:35
UMLApp
Definition: uml.h:100
Uml::ProgrammingLanguage::SQL
@ SQL
Definition: basictypes.h:305
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:1680
UMLApp::docWindow
DocWindow * docWindow() const
Definition: uml.cpp:1886
UMLScene::deleteSelection
void deleteSelection()
Definition: umlscene.cpp:1584
umlviewlist.h
UMLView::show
void show()
Definition: umlview.cpp:117
UMLApp::tabWidget
KTabWidget * tabWidget()
Definition: uml.cpp:3339
UMLApp::keyReleaseEvent
virtual void keyReleaseEvent(QKeyEvent *e)
Definition: uml.cpp:3001
UMLApp::slotAlignBottom
void slotAlignBottom()
Definition: uml.cpp:1834
UMLApp::deleteSelectedWidget
KAction * deleteSelectedWidget
Definition: uml.h:454
UMLApp::slotTabChanged
void slotTabChanged(QWidget *tab)
Definition: uml.cpp:3185
UMLApp::slotAlignHorizontalDistribute
void slotAlignHorizontalDistribute()
Definition: uml.cpp:1866
UMLApp::viewShowBirdView
QAction * viewShowBirdView
Definition: uml.h:437
UMLScene::selectedCount
int selectedCount(bool filterText=false) const
Definition: umlscene.cpp:1990
UMLApp::m_pZoomFitSBTB
StatusBarToolButton * m_pZoomFitSBTB
Definition: uml.h:500
Uml::ProgrammingLanguage::fromString
Enum fromString(const QString &item)
Definition: basictypes.cpp:942
SettingsDialog::getChangesApplied
bool getChangesApplied()
Definition: settingsdialog.h:62
UMLApp::listView
UMLListView * listView() const
Definition: uml.cpp:1065
uWarning
#define uWarning()
Definition: debug_utils.h:124
UMLApp::slotFilePrint
void slotFilePrint()
Definition: uml.cpp:1527
UMLApp::setLang_mysql
void setLang_mysql()
Definition: uml.cpp:2420
UMLScene::type
Uml::DiagramType::Enum type() const
Definition: umlscene.cpp:426
UMLDoc::setLoading
void setLoading(bool state=true)
Definition: umldoc.cpp:1579
DocWindow
Definition: docwindow.h:30
FindResults::displayNext
bool displayNext()
Definition: findresults.cpp:71
UMLApp::slotShowDocumentationView
void slotShowDocumentationView(bool state)
Definition: uml.cpp:2544
UMLApp::slotZoomFit
void slotZoomFit()
Definition: uml.cpp:686
UMLApp::generator
CodeGenerator * generator() const
Definition: uml.cpp:2337
UMLApp::slotFind
void slotFind()
Definition: uml.cpp:1429
Icon_Utils::it_Delete
@ it_Delete
Definition: icon_utils.h:135
UMLApp::isUndoEnabled
bool isUndoEnabled()
Definition: uml.cpp:2115
i18n
#define i18n
Definition: main.cpp:39
UMLApp::createDiagram
void createDiagram(Uml::DiagramType::Enum type)
Definition: uml.cpp:1720
UMLApp::slotCollaborationDiagram
void slotCollaborationDiagram()
Definition: uml.cpp:1754
UMLApp::m_undoEnabled
bool m_undoEnabled
Undo enabled flag.
Definition: uml.h:514
UMLApp::slotAlignTop
void slotAlignTop()
Definition: uml.cpp:1826
Icon_Utils::it_Align_Top
@ it_Align_Top
Definition: icon_utils.h:228
UMLApp::slotAlignVerticalDistribute
void slotAlignVerticalDistribute()
Definition: uml.cpp:1858
Uml::ProgrammingLanguage::D
@ D
Definition: basictypes.h:293
advancedcodegenerator.h
UMLScene::selectedWidgets
UMLWidgetList selectedWidgets() const
Definition: umlscene.cpp:1391
UMLApp::setLang_ada
void setLang_ada()
Definition: uml.cpp:2385
UMLApp::m_diagramMenu
KMenu * m_diagramMenu
Definition: uml.h:458
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:277
UMLApp::enablePrint
void enablePrint(bool enable)
Definition: uml.cpp:1935
ClassImport::setRootPath
void setRootPath(const QString &path)
Definition: classimport.cpp:123
UMLApp::resetStatusMsg
void resetStatusMsg()
Definition: uml.cpp:1711
UMLApp::m_pZoomFullSBTB
StatusBarToolButton * m_pZoomFullSBTB
Definition: uml.h:501
UMLApp::setImageMimeType
void setImageMimeType(const QString &mimeType)
Definition: uml.cpp:3153
UMLDoc::writeToStatusBar
void writeToStatusBar(const QString &text)
Definition: umldoc.cpp:1206
diagramselectiondialog.h
UMLApp::slotFileOpenRecent
void slotFileOpenRecent(const KUrl &url)
Definition: uml.cpp:1304
umlviewimageexporter.h
UMLApp::setLang_php5
void setLang_php5()
Definition: uml.cpp:2440
UMLApp::saveOptions
void saveOptions()
Definition: uml.cpp:1075
basictypes.h
Uml::ProgrammingLanguage::Ada
@ Ada
Definition: basictypes.h:290
UMLApp::defaultLanguage
Uml::ProgrammingLanguage::Enum defaultLanguage()
Definition: uml.cpp:2895
codegenerationpolicy.h
UMLApp::m_langSelect
QMenu * m_langSelect
For selecting the active language.
Definition: uml.h:379
UMLApp::slotSequenceDiagram
void slotSequenceDiagram()
Definition: uml.cpp:1746
UMLApp::beginMacro
void beginMacro(const QString &text)
Definition: uml.cpp:3438
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:356
UMLApp::m_xhtmlGenerator
XhtmlGenerator * m_xhtmlGenerator
Definition: uml.h:507
SimpleCodeGenerator
Definition: simplecodegenerator.h:34
UMLApp::workToolBar
WorkToolBar * workToolBar() const
Definition: uml.cpp:1876
UMLApp::setActiveLanguage
void setActiveLanguage(Uml::ProgrammingLanguage::Enum pl)
Definition: uml.cpp:2500
UMLApp::m_birdViewDock
BirdViewDockWidget * m_birdViewDock
Contains the bird's eye view.
Definition: uml.h:414
UMLApp::setLang_java
void setLang_java()
Definition: uml.cpp:2410
AdvancedCodeGenerator
Definition: advancedcodegenerator.h:22
UMLApp::initActions
void initActions()
Definition: uml.cpp:289
UMLApp::slotFindNext
void slotFindNext()
Definition: uml.cpp:1445
UMLApp::slotStateDiagram
void slotStateDiagram()
Definition: uml.cpp:1770
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:497
Uml::ProgrammingLanguage::Cpp
@ Cpp
Definition: basictypes.h:291
UMLApp::viewShowLog
QAction * viewShowLog
Definition: uml.h:435
Icon_Utils::SmallIcon
QPixmap SmallIcon(IconType type)
Definition: icon_utils.cpp:41
UMLApp::endMacro
void endMacro()
Definition: uml.cpp:3457
UMLApp::slotGenerateAllCode
void slotGenerateAllCode()
Definition: uml.cpp:2360
MyProject\connect
connect()
Definition: namespaces-multiple.php:5
UMLApp::m_d
UMLAppPrivate * m_d
Definition: uml.h:357
umllistview.h
UMLApp::slotFileClose
void slotFileClose()
Definition: uml.cpp:1420
Icon_Utils::it_Clear
@ it_Clear
Definition: icon_utils.h:156
UMLApp::slotMoveTabLeft
void slotMoveTabLeft()
Definition: uml.cpp:3264
UMLApp::slotMoveTabRight
void slotMoveTabRight()
Definition: uml.cpp:3286
UMLApp::initGenerator
void initGenerator()
Definition: uml.cpp:2904
UMLScene::clearDiagram
void clearDiagram()
Definition: umlscene.cpp:3469
UMLApp::app
static UMLApp * app()
Definition: uml.cpp:269
UMLApp::slotAlignHorizontalMiddle
void slotAlignHorizontalMiddle()
Definition: uml.cpp:1850
UMLApp::slotFileOpen
void slotFileOpen()
Definition: uml.cpp:1256
widget_utils.h
UMLDoc
Definition: umldoc.h:75
UMLApp::slotPrintPreviewPaintRequested
void slotPrintPreviewPaintRequested(QPrinter *printer)
Definition: uml.cpp:1519
UMLApp::m_zoomSelect
QMenu * m_zoomSelect
Popup menu for zoom selection.
Definition: uml.h:380
Icon_Utils::it_Diagram_Usecase
@ it_Diagram_Usecase
Definition: icon_utils.h:132
UMLDoc::setModified
void setModified(bool modified=true)
Definition: umldoc.cpp:3125
Icon_Utils::it_Zoom_100
@ it_Zoom_100
Definition: icon_utils.h:225
UMLApp::slotClassDiagram
void slotClassDiagram()
Definition: uml.cpp:1730
UMLApp::slotCurrentViewToggleShowGrid
void slotCurrentViewToggleShowGrid()
Definition: uml.cpp:2588
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:2771
UMLApp::setLang_xmlschema
void setLang_xmlschema()
Definition: uml.cpp:2475
UMLApp::undo
void undo()
Definition: uml.cpp:3368
UMLScene::alignVerticalDistribute
void alignVerticalDistribute()
Definition: umlscene.cpp:4316
UMLApp::slotUseCaseDiagram
void slotUseCaseDiagram()
Definition: uml.cpp:1762
CodeViewerDialog
Definition: codeviewerdialog.h:28
Uml
Definition: basictypes.cpp:37
Uml::DiagramType::Sequence
@ Sequence
Definition: basictypes.h:100
DocbookGenerator
Definition: docbookgenerator.h:40
UMLApp::setLang_cpp
void setLang_cpp()
Definition: uml.cpp:2390
UMLApp::m_zoomValueLbl
QLabel * m_zoomValueLbl
Definition: uml.h:497
classwizard.h
UniqueID::gen
Uml::ID::Type gen()
Definition: uniqueid.cpp:34
RefactoringAssistant::refactor
void refactor(UMLClassifier *obj)
Definition: refactoringassistant.cpp:78
UMLApp::isCutCopyState
bool isCutCopyState() const
Definition: uml.cpp:2105
UMLApp::slotZoomIn
void slotZoomIn()
Definition: uml.cpp:734
refactoringassistant.h
UMLApp::enableRedoAction
void enableRedoAction(bool enable)
Definition: uml.cpp:2172
UMLApp::setLang_idl
void setLang_idl()
Definition: uml.cpp:2405
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:2707
UMLApp::m_clipTimer
QTimer * m_clipTimer
Definition: uml.h:460
UMLApp::m_pZoomSlider
QSlider * m_pZoomSlider
Definition: uml.h:502
Settings::OptionState
Definition: optionstate.h:322
UMLApp::m_logDock
QDockWidget * m_logDock
Contains the log window widget.
Definition: uml.h:413
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:1454
Uml::DiagramType::Class
@ Class
Definition: basictypes.h:98
getFiles
void getFiles(QStringList &files, const QString &path, QStringList &filters)
getFiles
Definition: uml.cpp:2729
UMLScene::alignHorizontalDistribute
void alignHorizontalDistribute()
Definition: umlscene.cpp:4347
DEBUG
#define DEBUG(src)
Definition: debug_utils.h:129
UMLApp::slotPrefs
void slotPrefs(MultiPageDialogBase::PageType page=MultiPageDialogBase::GeneralPage)
Definition: uml.cpp:2014
docbookgenerator.h
UMLApp::viewClearDiagram
QAction * viewClearDiagram
Definition: uml.h:440
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:2920
Uml::DiagramType::Object
@ Object
Definition: basictypes.h:107
CodeViewerDialog::state
Settings::CodeViewerState state()
Definition: codeviewerdialog.cpp:73
umlscene.h
Icon_Utils::it_UndoView
@ it_UndoView
Definition: icon_utils.h:144
UMLApp::policyExt
CodeGenPolicyExt * policyExt() const
Definition: uml.cpp:2290
uml.h
DocWindow::isTyping
bool isTyping()
Definition: docwindow.cpp:323
UMLApp::m_debugDock
QDockWidget * m_debugDock
Contains the debug DocWindow widget.
Definition: uml.h:409
Settings::OptionState::load
void load()
Definition: optionstate.cpp:384
UMLApp::canDecode
static bool canDecode(const QMimeData *mimeSource)
Definition: uml.cpp:1967
UMLView::showPropertiesDialog
virtual bool showPropertiesDialog(QWidget *parent=0)
Definition: umlview.cpp:91
UMLApp::createBirdView
void createBirdView(UMLView *view)
Definition: uml.cpp:3052
UMLApp::slotBirdViewChanged
void slotBirdViewChanged(const QPointF &newCenter)
Definition: uml.cpp:3066
UMLApp::refactor
void refactor(UMLClassifier *classifier)
Definition: uml.cpp:2261
UMLScene::toggleShowGrid
void toggleShowGrid()
Definition: umlscene.cpp:3511
UMLApp::m_birdView
BirdView * m_birdView
Bird View window.
Definition: uml.h:418
UMLApp::viewShowDoc
QAction * viewShowDoc
Definition: uml.h:434
Icon_Utils::it_Align_HorizontalDistribute
@ it_Align_HorizontalDistribute
Definition: icon_utils.h:233
UMLApp::slotZoomOut
void slotZoomOut()
Definition: uml.cpp:726
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:4208
icon_utils.h
UMLApp::setLang_tcl
void setLang_tcl()
Definition: uml.cpp:2465
UMLScene::name
QString name() const
Definition: umlscene.cpp:410
UMLApp::newDiagram
KActionMenu * newDiagram
Definition: uml.h:439
Settings::GeneralState::defaultLanguage
Uml::ProgrammingLanguage::Enum defaultLanguage
Definition: optionstate.h:76
UMLApp::slotAlignRight
void slotAlignRight()
Definition: uml.cpp:1818
UMLApp::editUndo
QAction * editUndo
Definition: uml.h:429
UMLApp::editRedo
QAction * editRedo
Definition: uml.h:430
UMLApp::slotExecGenerationWizard
void slotExecGenerationWizard()
Definition: uml.cpp:2370
UMLApp::m_doc
UMLDoc * m_doc
Definition: uml.h:403
UMLScene
Definition: umlscene.h:69
UMLApp::UMLApp
UMLApp(QWidget *parent=0)
Definition: uml.cpp:155
DBG_SRC
#define DBG_SRC
Definition: import_utils.cpp:43
Uml::ProgrammingLanguage::toExtensions
QStringList toExtensions(Enum item)
Definition: basictypes.cpp:1002
UMLApp::slotPrintPreview
void slotPrintPreview()
Definition: uml.cpp:1500
UMLApp::setLang_vala
void setLang_vala()
Definition: uml.cpp:2470
codegenpolicyext.h
Uml::ProgrammingLanguage::Vala
@ Vala
Definition: basictypes.h:307
UMLApp::m_viewStack
QStackedWidget * m_viewStack
Definition: uml.h:469
UMLApp::slotCurrentViewChanged
void slotCurrentViewChanged()
Definition: uml.cpp:2789
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:447
UMLView::umlScene
UMLScene * umlScene() const
Definition: umlview.cpp:56
UMLApp::slotEditCut
void slotEditCut()
Definition: uml.cpp:1645
UMLAppPrivate::welcomeWindow
QDockWidget * welcomeWindow
Definition: umlappprivate.h:71
UMLApp::m_config
KSharedConfigPtr m_config
The configuration object of the application.
Definition: uml.h:388
UMLListView::selectedItemsCount
int selectedItemsCount()
Definition: umllistview.cpp:2067
UMLApp::viewSnapToGrid
KToggleAction * viewSnapToGrid
Definition: uml.h:442
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:410
UMLApp::queryClose
virtual bool queryClose()
Definition: uml.cpp:1224
Uml::DiagramType::Activity
@ Activity
Definition: basictypes.h:103
UMLClipboard
Clipboard management class.
Definition: umlclipboard.h:33
CodeGenerator
Definition: codegenerator.h:57
UMLDoc::isModified
bool isModified()
Definition: umldoc.cpp:3140
DocWindow::reset
void reset()
Definition: docwindow.cpp:309
UMLApp::statusBarMsg
QString statusBarMsg()
Definition: uml.cpp:3350
Settings::OptionState::codeViewerState
CodeViewerState codeViewerState
Definition: optionstate.h:338
Settings::GeneralState::undo
bool undo
Definition: optionstate.h:64
Icon_Utils::it_Go_Next
@ it_Go_Next
Definition: icon_utils.h:145
UMLListView::setStartedCut
void setStartedCut(bool startedCut)
Definition: umllistview.cpp:2657
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:3474
UMLApp::m_langAct
QAction * m_langAct[Uml::ProgrammingLanguage::Reserved]
Definition: uml.h:449
UMLApp::slotCopyChanged
void slotCopyChanged()
Definition: uml.cpp:1999
UMLApp::activeLanguage
Uml::ProgrammingLanguage::Enum activeLanguage() const
Definition: uml.cpp:2509
UMLApp::newDocument
void newDocument()
Definition: uml.cpp:3028
UMLApp::m_cmdHistoryDock
QDockWidget * m_cmdHistoryDock
Contains the undo/redo viewer widget.
Definition: uml.h:411
Icon_Utils::it_Diagram_Component
@ it_Diagram_Component
Definition: icon_utils.h:127
UMLScene::toggleSnapToGrid
void toggleSnapToGrid()
Definition: umlscene.cpp:3493
UMLDoc::viewIterator
UMLViewList viewIterator()
Definition: umldoc.cpp:3094
UMLListView::findView
UMLListViewItem * findView(UMLView *v)
Definition: umllistview.cpp:1338
UMLApp::setLang_actionscript
void setLang_actionscript()
Definition: uml.cpp:2380
Icon_Utils::it_Tab_New
@ it_Tab_New
Definition: icon_utils.h:151
UMLApp::viewShowCmdHistory
QAction * viewShowCmdHistory
Definition: uml.h:436
Uml::ProgrammingLanguage::JavaScript
@ JavaScript
Definition: basictypes.h:296
umlviewimageexporterall.h
Icon_Utils::it_Export_Files
@ it_Export_Files
Definition: icon_utils.h:169
UMLDoc::closeDocument
void closeDocument()
Definition: umldoc.cpp:402
Uml::ProgrammingLanguage::toExtensionsDescription
QString toExtensionsDescription(Enum item)
Definition: basictypes.cpp:1081
UMLApp::executeCommand
void executeCommand(QUndoCommand *cmd)
Definition: uml.cpp:3416
Uml::ProgrammingLanguage::CSharp
@ CSharp
Definition: basictypes.h:292
Uml::DiagramType::Deployment
@ Deployment
Definition: basictypes.h:105
UMLViewList
QList< QPointer< UMLView > > UMLViewList
Definition: umlviewlist.h:26
UMLApp::m_view
QPointer< UMLView > m_view
Definition: uml.h:396
UMLApp::keyPressEvent
virtual void keyPressEvent(QKeyEvent *e)
Definition: uml.cpp:2931
UMLApp::m_pZoomOutPB
QPushButton * m_pZoomOutPB
Definition: uml.h:498
UMLClipboard::copy
QMimeData * copy(bool fromView=false)
Definition: umlclipboard.cpp:69
UMLApp::isUndoActionEnabled
bool isUndoActionEnabled() const
Definition: uml.cpp:2140
UMLApp::slotShowDebugView
void slotShowDebugView(bool state)
Definition: uml.cpp:2538
UMLScene::alignBottom
void alignBottom()
Definition: umlscene.cpp:4243
UMLApp::initView
void initView()
Definition: uml.cpp:894
UMLApp::m_printSettings
QPointer< DiagramPrintPage > m_printSettings
printer diagram settings
Definition: uml.h:518
UMLApp::setLang_python
void setLang_python()
Definition: uml.cpp:2450
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:1599
UMLApp::viewExportImage
QAction * viewExportImage
Definition: uml.h:444
UMLApp::setLang_pascal
void setLang_pascal()
Definition: uml.cpp:2425
CmdLineExportAllViewsEvent
Definition: cmdlineexportallviewsevent.h:28
UMLScene::alignLeft
void alignLeft()
Definition: umlscene.cpp:4190
UMLApp::document
UMLDoc * document() const
Definition: uml.cpp:1055
UMLApp::viewShowDebug
QAction * viewShowDebug
Definition: uml.h:433
UMLAppPrivate::createWelcomeWindow
void createWelcomeWindow()
Definition: umlappprivate.h:152
UMLApp::viewCodeDocument
void viewCodeDocument(UMLClassifier *classifier)
Definition: uml.cpp:2229
CmdLineExportAllViewsEvent::exportAllViews
void exportAllViews()
Definition: cmdlineexportallviewsevent.cpp:72
UMLScene::selectAll
void selectAll()
Definition: umlscene.cpp:1669
umldoc.h
WorkToolBar::setupActions
void setupActions()
Definition: worktoolbar.cpp:501
UMLApp::isPasteState
bool isPasteState() const
Definition: uml.cpp:2095
UMLDoc::saveModified
bool saveModified()
Definition: umldoc.cpp:354
CodeGenPolicyExt::setDefaults
virtual void setDefaults(bool emitUpdateSignal=true)=0
UMLApp::slotStatusMsg
void slotStatusMsg(const QString &text)
Definition: uml.cpp:1702
UMLApp::slotShowTreeView
void slotShowTreeView(bool state)
Definition: uml.cpp:2532
UMLApp::clearUndoStack
void clearUndoStack()
Definition: uml.cpp:3359
UMLApp::slotSnapToGridToggled
void slotSnapToGridToggled(bool gridOn)
Definition: uml.cpp:2803
XhtmlGenerator
Definition: xhtmlgenerator.h:42
xhtmlgenerator.h
UMLApp::isRedoActionEnabled
bool isRedoActionEnabled() const
Definition: uml.cpp:2161
UMLApp::setLang_d
void setLang_d()
Definition: uml.cpp:2400
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:1810
CodeGenerationWizard
Definition: codegenerationwizard.h:33
WorkToolBar::setDefaultTool
void setDefaultTool()
Definition: worktoolbar.cpp:312
Uml::ProgrammingLanguage::PHP5
@ PHP5
Definition: basictypes.h:301