ModelEditor

From Qt Wiki
Revision as of 14:37, 29 August 2015 by Gilead (talk | contribs) (List ModelEditor's features and show some screenshots)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Features

  • Create UML-alike models
  • Store models and diagrams in a single xml file
  • Create structured diagrams with packages, classes, components, use-cases
  • Edit element properties including multi-selection (e.g. change color of many elements at once)
  • Design your diagrams with only a few clicks thanks to automatic coloring, easy alignment and automatic layout of labeling
  • Add C++ classes and components by simply dragging files from project explorer on diagrams
  • Navigate from class on diagram to source code
  • Configure your own model elements with custom icons

Screenshots


ModelEditor with toolbar, class diagram, model tree and selected element's properties

Several features help designing beautiful diagrams easily:

  • Create a "Boundary" box with a dotted border and a title. Everything within that box will move as a group if you drag the box.
  • Use Shift-Click on a relation to create a new sampling point. Use Ctrl-Click on a sampling point to remove it again.
  • If possible the connection between an end-point of a relation and its neighbored sampling point is automatically drawn vertically or horizontally by moving the end-point.


A package diagram


A use-case diagram


An activities diagram


Add elements to model and diagrams
  • Press one of the small buttons in the upper right toolbar to add a new element to the model
  • Drag an icon from the toolbar to a diagram to create a new element
  • Drag a model element from the model tree to a diagram to add the element and all its relations to the diagram.
  • Drag a C++ source code from the project explorer to a diagram to add the file as a component or any of its declared classes.
  • Drag one of the arrows right to a selected element to another element on the diagram to create a new relation


Element's properties in detail
  • This is not standard UML: A namespace property
  • The attributes and methods are written as C++ declarations.
  • Only a few properties define the look of the elements: a color, a role and an extra enhancement flag.