class WorkToolBar

The toolbar that is different for each type of diagram. More...

Definition#include <./worktoolbar.h>
InheritsKToolBar (unknown) [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Types

Public Methods

Public Slots

Signals


Detailed Description

This is the toolbar that is displayed on the right-hand side of the program window. For each type of diagram it will change to suit that document.

 WorkToolBar (QMainWindow *parentWindow,const char*name)

WorkToolBar

Creates a work tool bar

Parameters:
parentWindowThe parent of the toolbar.
nameThe name of the toolbar.

void  setOldTool ()

setOldTool

Sets the current tool to the previously used Tool, this is just as if the user had pressed the button for the other tool

void  setDefaultTool ()

setDefaultTool

Sets the current tool to the default tool. (select tool) calling this function is as if the user had pressed the "arrow" button on the toolbar

 ~WorkToolBar ()

~WorkToolBar

Standard deconstructor

enum ToolBar_Buttons { tbb_Undefined = - 1, tbb_Arrow, tbb_Generalization, tbb_Aggregation, tbb_Dependency, tbb_Association, tbb_Coll_Message, tbb_Seq_Message, tbb_Implementation, tbb_Composition, tbb_UniAssociation, tbb_Realization, tbb_State_Transition, tbb_Activity_Transition, tbb_Anchor, tbb_Note, tbb_Text, tbb_Actor, tbb_UseCase, tbb_Concept, tbb_Object, tbb_Initial_State, tbb_State, tbb_End_State, tbb_Initial_Activity, tbb_Activity, tbb_End_Activity, tbb_Branch, tbb_Fork }

ToolBar_Buttons

typedef QMap<Uml::Diagram_Type,ToolBar_Buttons> OldToolMap

OldToolMap

void  sigButtonChanged (int)

sigButtonChanged

[signal]

void  slotCheckToolBar (Uml::Diagram_Type dt)

slotCheckToolBar

[slot]

void  buttonChanged (int b)

buttonChanged

[slot]

void  slotResetToolBar ()

slotResetToolBar

[slot]