umbrello/umbrello
uml.h
Go to the documentation of this file.
319 void setProgLangAction(Uml::ProgrammingLanguage::Enum pl, const char* name, const char* action);
void setPolicyExt(CodeGenPolicyExt *policy)
Sets the CodeGenPolicyExt object.
Definition: uml.cpp:2227
This class defines the non-graphical information required for a UML Classifier (ie a class or interfa...
Definition: classifier.h:39
void slotAllViewsExportImage()
Menu selection for exporting all views as images.
Definition: uml.cpp:2540
void setDiagramMenuItemsState(bool bState)
Sets the state of the view properties menu item.
Definition: uml.cpp:2558
void slotSnapToGridToggled(bool gridOn)
The snap to grid value has been changed.
Definition: uml.cpp:2715
void initStatusBar()
Sets up the statusbar for the main window by initialzing a statuslabel.
Definition: uml.cpp:721
void initGenerator()
Reads the activeLanguage from the KConfig and calls updateLangSelectMenu()
Definition: uml.cpp:2798
void slotCurrentViewProperties()
Menu selection for current view properties.
Definition: uml.cpp:2548
void slotEditCut()
Put the marked text/object into the clipboard and remove it from the document.
Definition: uml.cpp:1515
void slotAddDefaultDatatypes()
Calls the active code generator to add its default datatypes.
Definition: uml.cpp:2693
void slotCurrentViewToggleSnapToGrid()
Menu selection for current view snap to grid property.
Definition: uml.cpp:2514
QWidget * mainViewWidget()
Returns the widget used as the parent for UMLViews.
Definition: uml.cpp:2932
class CodeGenerationPolicy This class describes the code generation policy for this project...
Definition: codegenerationpolicy.h:29
void slotUpdateViews()
Register new views (aka diagram) with the GUI so they show up in the menu.
Definition: uml.cpp:2577
void setActiveLanguage(Uml::ProgrammingLanguage::Enum pl)
Set the language for which code will be generated.
Definition: uml.cpp:2430
void slotXhtmlDocGenerationFinished(bool status)
This slot deletes the current XHTML documentation generator as soon as this one signals that it has f...
Definition: uml.cpp:3145
void setGenerator(CodeGenerator *gen, bool giveWarning=true)
void updateLangSelectMenu(Uml::ProgrammingLanguage::Enum activeLanguage)
Updates the Menu for language selection and sets the active lanugage.
Definition: uml.cpp:2814
void openDocumentFile(const KUrl &url=KUrl())
Opens a file specified by commandline option.
Definition: uml.cpp:894
UMLDoc * document() const
Returns a pointer to the current document connected to the KMainWindow instance.
Definition: uml.cpp:910
Uml::ProgrammingLanguage::Enum defaultLanguage()
Return the default code generation language as configured by KConfig.
Definition: uml.cpp:2789
class XhtmlGenerator is a documentation generator for UML documents.
Definition: xhtmlgenerator.h:35
void slotChangeTabRight()
Make the tab on the right of the current one the active one.
Definition: uml.cpp:3066
void slotFileExportXhtml()
Exports the current model to XHTML in a subdir of the current model directory named from the model na...
Definition: uml.cpp:1481
void slotFileNew()
Clears the document in the actual view to reuse it as the new document.
Definition: uml.cpp:1169
Definition: docwindow.h:28
void slotFileClose()
Asks for saving if the file is modified, then closes the current file and window. ...
Definition: uml.cpp:1326
void executeCommand(QUndoCommand *cmd)
Execute a command and push it in the stack.
Definition: uml.cpp:3227
bool editCutCopy(bool bFromView)
Carries out the cut/copy command with different action performed depending on if from view or list vi...
Definition: uml.cpp:2040
void slotStatusMsg(const QString &text)
Changes the statusbar contents for the standard label permanently, used to indicate current actions...
Definition: uml.cpp:1572
void slotCurrentViewToggleShowGrid()
Menu selection for current view show grid property.
Definition: uml.cpp:2523
void handleCursorKeyReleaseEvent(QKeyEvent *e)
Helper method for handling cursor key release events (refactoring).
Definition: uml.cpp:2855
bool isSimpleCodeGeneratorActive()
Determines if SimpleCodeGenerator is active.
Definition: uml.cpp:2292
void setCurrentView(UMLView *view, bool updateTreeView=true)
Puts this view to the top of the viewStack, i.e.
Definition: uml.cpp:2950
QString imageMimeType() const
Gets the default mime type for all diagrams that are exported as images.
Definition: uml.cpp:3016
QString activeLanguageScopeSeparator()
Return the target language depedent scope separator.
Definition: uml.cpp:2459
Definition: settingsdialog.h:44
void saveOptions()
Save general Options like all bar positions and status as well as the geometry and the recent file li...
Definition: uml.cpp:930
CodeGenerationPolicy * commonPolicy() const
Returns the default code generation policy.
Definition: uml.cpp:2219
void slotZoomSliderMoved(int value)
Connected to by the zoomAction, a value of between 300 and 2200 is scaled to zoom to between 9% and 5...
Definition: uml.cpp:591
void slotFileOpenRecent(const KUrl &url)
Opens a file from the recent files menu.
Definition: uml.cpp:1222
Exports all the views in the UML document as images.
Definition: umlviewimageexporterall.h:21
virtual bool queryClose()
queryClose is called by KMainWindow on each closeEvent of a window.
Definition: uml.cpp:1155
void slotCurrentViewExportImage()
Menu selection for exporting current view as an image.
Definition: uml.cpp:2532
virtual void readProperties(const KConfigGroup &cfg)
Reads the session config file and restores the application's state including the last opened files an...
Definition: uml.cpp:1109
void slotSetZoom(QAction *action)
Set the zoom factor of the current diagram.
Definition: uml.cpp:659
void slotChangeTabLeft()
Make the tab on the left of the current one the active one.
Definition: uml.cpp:3036
void setImageMimeType(const QString &mimeType)
Sets the default mime type for all diagrams that are exported as images.
Definition: uml.cpp:3006
void initView()
Creates the centerwidget of the KMainWindow instance and sets it as the view.
Definition: uml.cpp:785
A thin tool button which can be grouped with another and look like one solid bar: ...
Definition: statusbartoolbutton.h:33
void sigCutSuccessful()
This is the toolbar that is displayed on the right-hand side of the program window.
Definition: worktoolbar.h:40
bool activeLanguageIsCaseSensitive()
Return true if the active language is case sensitive.
Definition: uml.cpp:2447
Class UMLAppPrivate holds private class members/methods to reduce the size of the public class and to...
Definition: umlappprivate.h:40
void slotEditRedo()
Reverts the document back to the state it was prior to the last undo.
Definition: uml.cpp:1505
This class collects together all of the code documents which form this project, and generates code fo...
Definition: codegenerator.h:67
Definition: refactoringassistant.h:27
virtual void saveProperties(KConfigGroup &cfg)
Saves the window properties for each open window during session end to the session config file...
Definition: uml.cpp:1082
void viewCodeDocument(UMLClassifier *classifier)
Call the code viewing assistant on a given UMLClassifier.
Definition: uml.cpp:2175
This is a page on the print dialog to select what diagram(s) you wish to print.
Definition: diagramprintpage.h:37
virtual void keyPressEvent(QKeyEvent *e)
Event handler to receive key press events.
Definition: uml.cpp:2825
void readOptions()
Read general Options again and initialize all variables like the recent file list.
Definition: uml.cpp:1056
void clearUndoStack()
Removes all entries from the UndoStack and RedoStack and disables the undo and redo actions...
Definition: uml.cpp:3177
void refactor(UMLClassifier *classifier)
Call the refactoring assistant on a classifier.
Definition: uml.cpp:2206
Base class for programming language specific code generation policy extensions.
Definition: codegenpolicyext.h:27
void importFiles(QStringList *fileList)
Import the source files that are in fileList.
Definition: uml.cpp:2603
Uml::ProgrammingLanguage::Enum activeLanguage() const
Get the language for import and code generation.
Definition: uml.cpp:2439
void slotPrintPreviewPaintRequested(QPrinter *printer)
Print preview painting slot.
Definition: uml.cpp:1417
void slotFileExportDocbook()
Exports the current model to docbook in a subdir of the current model directory named from the model ...
Definition: uml.cpp:1468
QCursor defaultCursor()
void initActions()
Initializes the KActions and the status bar of the application and calls setupGUI().
Definition: uml.cpp:234
CodeGenerator * createGenerator()
void slotFileQuit()
Closes all open windows by calling close() on each memberList item until the list is empty...
Definition: uml.cpp:1452
void slotApplyPrefs()
Commits the changes from the global preferences dialog.
Definition: uml.cpp:1891
void slotEditUndo()
Reverts the document back to the state it was prior to the last action performed by the user...
Definition: uml.cpp:1495
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.