Logo Search packages:      
Sourcecode: kdesdk-kde4 version File versions  Download package

UMLApp Class Reference

#include <uml.h>

List of all members.


Detailed Description

The base class for UML application windows. It sets up the main window and reads the config file as well as providing a menubar, toolbar and statusbar. An instance of UMLView creates your center view, which is connected to the window's Doc object. UMLApp reimplements the methods that KMainWindow provides for main window handling and supports full session management as well as using KActions.
See also:
KMainWindow

KApplication

KConfig

Author:
Paul Hensgen <phensgen@techie.com> Bugs and comments to uml-devel@lists.sf.net or http://bugs.kde.org

Definition at line 77 of file uml.h.


Public Slots

bool activeLanguageIsCaseSensitive ()
QString activeLanguageScopeSeparator ()
QMenu * findMenu (KMenuBar *menu, const QString &name)
QMenu * findMenu (QMenu *menu, const QString &name)
void generateAllCode ()
void generationWizard ()
Uml::Programming_Language getActiveLanguage ()
KConfig * getConfig ()
Uml::Programming_Language getDefaultLanguage ()
void initGenerator ()
void set_lang_actionscript ()
void set_lang_ada ()
void set_lang_cpp ()
void set_lang_csharp ()
void set_lang_d ()
void set_lang_idl ()
void set_lang_java ()
void set_lang_javascript ()
void set_lang_mysql ()
void set_lang_ocl ()
void set_lang_pascal ()
void set_lang_perl ()
void set_lang_php ()
void set_lang_php5 ()
void set_lang_postgresql ()
void set_lang_python ()
void set_lang_ruby ()
void set_lang_sql ()
void set_lang_tcl ()
void set_lang_xmlschema ()
void setActiveLanguage (Uml::Programming_Language pl)
void setupZoomMenu ()
void setZoom (int zoom)
void slotActivityDiagram ()
void slotAddDefaultDatatypes ()
void slotAlignBottom ()
void slotAlignHorizontalDistribute ()
void slotAlignHorizontalMiddle ()
void slotAlignLeft ()
void slotAlignRight ()
void slotAlignTop ()
void slotAlignVerticalDistribute ()
void slotAlignVerticalMiddle ()
void slotAllViewsExportImage ()
void slotApplyPrefs ()
void slotChangeTabLeft ()
void slotChangeTabRight ()
void slotClassDiagram ()
void slotClassWizard ()
void slotClipDataChanged ()
void slotCollaborationDiagram ()
void slotComponentDiagram ()
void slotCopyChanged ()
void slotCurrentViewChanged ()
void slotCurrentViewClearDiagram ()
void slotCurrentViewExportImage ()
void slotCurrentViewProperties ()
void slotCurrentViewToggleShowGrid ()
void slotCurrentViewToggleSnapToGrid ()
void slotDeleteDiagram ()
void slotDeleteSelectedWidget ()
void slotDeploymentDiagram ()
void slotEditCopy ()
void slotEditCut ()
void slotEditPaste ()
void slotEditRedo ()
void slotEditUndo ()
void slotEntityRelationshipDiagram ()
void slotFileClose ()
void slotFileExportDocbook ()
void slotFileExportXhtml ()
void slotFileNew ()
void slotFileOpen ()
void slotFileOpenRecent (const KUrl &url)
void slotFilePrint ()
void slotFileQuit ()
void slotFileSave ()
bool slotFileSaveAs ()
void slotImportClasses ()
void slotImportProject ()
void slotMoveTabLeft ()
void slotMoveTabRight ()
void slotPrefs ()
void slotSelectAll ()
void slotSequenceDiagram ()
void slotSetZoom (QAction *action)
void slotShowGridToggled (bool gridOn)
void slotSnapToGridToggled (bool gridOn)
void slotStateDiagram ()
void slotStatusMsg (const QString &text)
void slotTabChanged (QWidget *view)
void slotUpdateViews ()
void slotUseCaseDiagram ()
void slotXhtmlDocGenerationFinished (bool status)
void slotZoom100 ()
void slotZoomSliderMoved (int value)

Signals

void sigCutSuccessful ()

Public Member Functions

void BeginMacro (const QString &text)
void clearUndoStack ()
CodeGeneratorcreateGenerator ()
bool editCutCopy (bool bFromView)
void enablePrint (bool enable)
void enableRedo (bool enable)
void enableUndo (bool enable)
void EndMacro ()
void executeCommand (QUndoCommand *cmd)
CodeGenerationPolicygetCommonPolicy ()
UMLViewgetCurrentView ()
bool getCutCopyState ()
UMLDocgetDocument () const
DocWindowgetDocWindow ()
CodeGeneratorgetGenerator ()
QString const & getImageMimeType () const
UMLListView * getListView ()
QWidget * getMainViewWidget ()
bool getPasteState ()
CodeGenPolicyExtgetPolicyExt ()
bool getRedoEnabled ()
QString getStatusBarMsg ()
bool getUndoEnabled ()
WorkToolBargetWorkToolBar ()
void newDocument ()
void openDocumentFile (const KUrl &url=KUrl())
void redo ()
void refactor (UMLClassifier *classifier)
void setCurrentView (UMLView *view)
void setDiagramMenuItemsState (bool bState)
CodeGeneratorsetGenerator (Uml::Programming_Language pl)
void setGenerator (CodeGenerator *gen, bool giveWarning=true)
void setImageMimeType (QString const &mimeType)
void setModified (bool _m)
void setPolicyExt (CodeGenPolicyExt *policy)
KTabWidget * tabWidget ()
 UMLApp (QWidget *parent=0)
void undo ()
void viewCodeDocument (UMLClassifier *classifier)
 ~UMLApp ()

Static Public Member Functions

static UMLAppapp ()

Protected Member Functions

virtual void customEvent (QEvent *e)
void handleCursorKeyReleaseEvent (QKeyEvent *e)
void initActions ()
void initStatusBar ()
void initView ()
virtual void keyPressEvent (QKeyEvent *e)
virtual void keyReleaseEvent (QKeyEvent *e)
virtual bool queryClose ()
virtual bool queryExit ()
void readOptions ()
virtual void readProperties (const KConfigGroup &_cfg)
void saveOptions ()
virtual void saveProperties (KConfigGroup &_cfg)
void updateLangSelectMenu (Uml::Programming_Language activeLanguage)

Protected Attributes

CodeGenerationPolicym_commoncodegenpolicy

Private Member Functions

QAction * createZoomAction (int zoom, int currentZoom)
void importFiles (QStringList *fileList)
void initClip ()
void initSavedCodeGenerators ()
void readOptionState ()

Static Private Member Functions

static bool canDecode (const QMimeData *mimeSource)

Private Attributes

QAction * activityDiagram
QAction * alignBottom
QAction * alignHorizontalDistribute
QAction * alignHorizontalMiddle
QAction * alignLeft
QAction * alignRight
QAction * alignTop
QAction * alignVerticalDistribute
QAction * alignVerticalMiddle
QAction * changeTabLeft
QAction * changeTabRight
QAction * classDiagram
QAction * classWizard
QAction * collaborationDiagram
QAction * componentDiagram
QAction * deleteDiagram
QAction * deleteSelectedWidget
QAction * deploymentDiagram
QAction * editCopy
QAction * editCut
QAction * editPaste
QAction * editRedo
QAction * editUndo
QAction * entityRelationshipDiagram
QAction * fileClose
QAction * fileExportDocbook
QAction * fileExportXhtml
QAction * fileNew
QAction * fileOpen
KRecentFilesAction * fileOpenRecent
QAction * filePrint
QAction * fileQuit
QAction * fileSave
QAction * fileSaveAs
QAction * genAll
QAction * genWizard
QAction * importClasses
QAction * importProject
Uml::Programming_Language m_activeLanguage
AlignToolBar * m_alignToolBar
QTimer * m_clipTimer
QToolButton * m_closeDiagramButton
QDockWidget * m_cmdHistoryDock
CodeGeneratorm_codegen
KSharedConfigPtr m_config
QTimer * m_copyTimer
KMenu * m_diagramMenu
SettingsDlgm_dlg
UMLDocm_doc
QDockWidget * m_documentationDock
bool m_hasBegunMacro
UMLViewImageExporterAllm_imageExporterAll
QString m_imageMimeType
QAction * m_langAct [Uml::pl_Reserved]
QMenu * m_langSelect
QVBoxLayout * m_layout
QDockWidget * m_listDock
UMLListView * m_listView
bool m_loading
QDockWidget * m_mainDock
QToolButton * m_newSessionButton
DocWindowm_pDocWindow
CodeGenPolicyExtm_policyext
QUndoView * m_pQUndoView
QDockWidget * m_propertyDock
KUndoStack * m_pUndoStack
RefactoringAssistant * m_refactoringAssist
KTabWidget * m_tabWidget
UMLViewm_view
QStackedWidget * m_viewStack
XhtmlGeneratorm_xhtmlGenerator
QMenu * m_zoomSelect
QAction * moveTabLeft
QAction * moveTabRight
KActionMenu * newDiagram
QAction * preferences
QAction * selectAll
QAction * sequenceDiagram
QAction * stateDiagram
WorkToolBartoolsbar
QAction * useCaseDiagram
QAction * viewClearDiagram
QAction * viewExportImage
QAction * viewExportImageAll
QAction * viewProperties
KToggleAction * viewShowGrid
KToggleAction * viewSnapToGrid
KToggleAction * viewStatusBar
KToggleAction * viewToolBar
QAction * zoom100Action
KPlayerPopupSliderActionzoomAction

Static Private Attributes

static UMLApps_instance

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index