Skip to content

Interface

Humberto Sanchez II edited this page Jan 8, 2021 · 9 revisions

This section describes the Pyut Interface and how to use it.

When launched, Pyut looks something like the following figure:

PyUt-3.0-Screenshot

On the left side, you have a project tree which displays the currently opened projects and associated diagrams. The menu gives you access to basic actions like import/export, cut/copy/paste, ...

File Menu

Here are the elements of the file menu :

New - Start a new class diagram

Open - Open a file, load class diagram from a file

Save - Save current diagram to a file; if a filename has already been specified, it will use it

Save as - Save the current diagram to a file, and ask the filename to use

Import/Export - Import/export data using the configured plugins

Pyut Properties - Diagram properties and preferences (language, ...)

Print setup - Display the print setup dialog box

Print preview - Preview before printing

Print - Print the current diagram

1-5 - A list of the last five last most recently opened files

Exit - Exit the program (aka get out of Dodge); On Mac OS X this appears as an application menu item.

Edit menu

Cut - Cut the selected classes to the clipboard

Copy - Copy the selected classes to the clipboard

Paste - Paste classes from the clipboard

Add Pyut Hierarchy - Import an introspection of PyUt data structures (for demonstration purposes).

Add Ogl Hierarchy - Import an introspection of graphic structures (for demonstration purposes).

Help menu

Index - Display the help index

Check for newer version - Check for newer version at the Pyut Github site

Web site - Launch PyUt's (web site)

About Pyut - Display the PyUt about box which shows the usual kudos. On Mac OS X this appears as an application menu item.

PyUt's toolbar is on the top of the main window. The followiing figures displays the button actions.

toolbar.png

  1. Open a new diagram
  2. Open a file
  3. Save the current diagram
  4. Selection tool
  5. Insert a class
  6. Insert an actor
  7. Insert a use case
  8. Insert a note
  9. Insert an inheritance link
  10. Insert a realization link
  11. Insert a composition link
  12. Insert an aggregation link
  13. Insert an association link
  14. Insert a note link

If you hover on a button with the mouse pointer a tooltip appears. Clicking on some tools causes PyUt to display additional instructions on the status bar (bottom of the window).


Clone this wiki locally