umbrello/umbrello
uml.h
Go to the documentation of this file.
308 void setProgLangAction(Uml::ProgrammingLanguage::Enum pl, const QString& name, const QString& action);
void setPolicyExt(CodeGenPolicyExt *policy)
Sets the CodeGenPolicyExt object.
Definition: uml.cpp:2140
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:2442
void setDiagramMenuItemsState(bool bState)
Sets the state of the view properties menu item.
Definition: uml.cpp:2460
void slotSnapToGridToggled(bool gridOn)
The snap to grid value has been changed.
Definition: uml.cpp:2565
void initStatusBar()
Sets up the statusbar for the main window by initialzing a statuslabel.
Definition: uml.cpp:697
void initGenerator()
Reads the activeLanguage from the KConfig and calls updateLangSelectMenu()
Definition: uml.cpp:2648
void slotCurrentViewProperties()
Menu selection for current view properties.
Definition: uml.cpp:2450
void slotEditCut()
Put the marked text/object into the clipboard and remove it from the document.
Definition: uml.cpp:1441
void slotAddDefaultDatatypes()
Calls the active code generator to add its default datatypes.
Definition: uml.cpp:2543
void slotCurrentViewToggleSnapToGrid()
Menu selection for current view snap to grid property.
Definition: uml.cpp:2416
QWidget * mainViewWidget()
Returns the widget used as the parent for UMLViews.
Definition: uml.cpp:2789
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:2479
void setActiveLanguage(Uml::ProgrammingLanguage::Enum pl)
Set the language for which code will be generated.
Definition: uml.cpp:2344
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:2995
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:2664
void openDocumentFile(const KUrl &url=KUrl())
Opens a file specified by commandline option.
Definition: uml.cpp:856
UMLDoc * document() const
Returns a pointer to the current document connected to the KMainWindow instance.
Definition: uml.cpp:872
Uml::ProgrammingLanguage::Enum defaultLanguage()
Return the default code generation language as configured by KConfig.
Definition: uml.cpp:2639
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:2916
void slotFileExportXhtml()
Exports the current model to XHTML in a subdir of the current model directory named from the model na...
Definition: uml.cpp:1407
void slotFileNew()
Clears the document in the actual view to reuse it as the new document.
Definition: uml.cpp:1137
Definition: docwindow.h:28
void slotFileClose()
Asks for saving if the file is modified, then closes the current file and window. ...
Definition: uml.cpp:1292
void executeCommand(QUndoCommand *cmd)
Execute a command and pushit in the stack.
Definition: uml.cpp:3077
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:1955
void slotStatusMsg(const QString &text)
Changes the statusbar contents for the standard label permanently, used to indicate current actions...
Definition: uml.cpp:1498
void slotCurrentViewToggleShowGrid()
Menu selection for current view show grid property.
Definition: uml.cpp:2425
void handleCursorKeyReleaseEvent(QKeyEvent *e)
Helper method for handling cursor key release events (refactoring).
Definition: uml.cpp:2712
bool isSimpleCodeGeneratorActive()
Determines if SimpleCodeGenerator is active.
Definition: uml.cpp:2206
QString imageMimeType() const
Gets the default mime type for all diagrams that are exported as images.
Definition: uml.cpp:2866
QString activeLanguageScopeSeparator()
Return the target language depedent scope separator.
Definition: uml.cpp:2373
void saveOptions()
Save general Options like all bar positions and status as well as the geometry and the recent file li...
Definition: uml.cpp:892
CodeGenerationPolicy * commonPolicy() const
Returns the default code generation policy.
Definition: uml.cpp:2132
Definition: settingsdlg.h:44
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:567
void slotFileOpenRecent(const KUrl &url)
Opens a file from the recent files menu.
Definition: uml.cpp:1188
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:1109
void slotCurrentViewExportImage()
Menu selection for exporting current view as an image.
Definition: uml.cpp:2434
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:1063
void slotSetZoom(QAction *action)
Set the zoom factor of the current diagram.
Definition: uml.cpp:635
void setCurrentView(UMLView *view)
Puts this view to the top of the viewStack, i.e.
Definition: uml.cpp:2806
void slotChangeTabLeft()
Make the tab on the left of the current one the active one.
Definition: uml.cpp:2886
void setImageMimeType(const QString &mimeType)
Sets the default mime type for all diagrams that are exported as images.
Definition: uml.cpp:2856
void initView()
Creates the centerwidget of the KMainWindow instance and sets it as the view.
Definition: uml.cpp:761
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:2361
void slotEditRedo()
Reverts the document back to the state it was prior to the last undo.
Definition: uml.cpp:1431
This class collects together all of the code documents which form this project, and generates code fo...
Definition: codegenerator.h:68
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:1036
void viewCodeDocument(UMLClassifier *classifier)
Call the code viewing assistant on a given UMLClassifier.
Definition: uml.cpp:2089
This is a page on the print dialog to select what diagram(s) you wish to print.
Definition: diagramprintpage.h:36
virtual void keyPressEvent(QKeyEvent *e)
Event handler to receive key press events.
Definition: uml.cpp:2675
void readOptions()
Read general Options again and initialize all variables like the recent file list.
Definition: uml.cpp:1014
void clearUndoStack()
Removes all entries from the UndoStack and RedoStack and disables the undo and redo actions...
Definition: uml.cpp:3027
void refactor(UMLClassifier *classifier)
Call the refactoring assistant on a classifier.
Definition: uml.cpp:2120
Base class for programming language specific code generation policy extensions.
Definition: codegenpolicyext.h:28
Uml::ProgrammingLanguage::Enum activeLanguage() const
Get the language for import and code generation.
Definition: uml.cpp:2353
void slotPrintPreviewPaintRequested(QPrinter *printer)
Print preview painting slot.
Definition: uml.cpp:1343
void slotFileExportDocbook()
Exports the current model to docbook in a subdir of the current model directory named from the model ...
Definition: uml.cpp:1394
void initActions()
Initializes the KActions and the status bar of the application and calls setupGUI().
Definition: uml.cpp:226
CodeGenerator * createGenerator()
void slotFileQuit()
Closes all open windows by calling close() on each memberList item until the list is empty...
Definition: uml.cpp:1378
void slotApplyPrefs()
Commits the changes from the global preferences dialog.
Definition: uml.cpp:1806
void slotEditUndo()
Reverts the document back to the state it was prior to the last action performed by the user...
Definition: uml.cpp:1421
virtual bool queryExit()
queryExit is called by KMainWindow when the last window of the application is going to be closed duri...
Definition: uml.cpp:1126
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:06:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:06:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.