• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdesdk API Reference
  • KDE Home
  • Contact Us
 

umbrello/umbrello

Public Types | Public Slots | Signals | Public Member Functions | List of all members
WorkToolBar Class Reference

#include <worktoolbar.h>

Inheritance diagram for WorkToolBar:
Inheritance graph
[legend]

Public Types

enum  ToolBar_Buttons {
  tbb_Undefined = -1, tbb_Arrow, tbb_Generalization, tbb_Aggregation,
  tbb_Dependency, tbb_Association, tbb_Containment, tbb_Coll_Message,
  tbb_Seq_Message_Synchronous, tbb_Seq_Message_Asynchronous, tbb_Seq_Message_Found, tbb_Seq_Message_Lost,
  tbb_Seq_Combined_Fragment, tbb_Seq_Precondition, tbb_Composition, tbb_Relationship,
  tbb_UniAssociation, tbb_State_Transition, tbb_Activity_Transition, tbb_Send_Signal,
  tbb_Accept_Signal, tbb_Accept_Time_Event, tbb_Anchor, tbb_Note,
  tbb_Box, tbb_Text, tbb_Actor, tbb_UseCase,
  tbb_Class, tbb_Interface, tbb_Datatype, tbb_Enum,
  tbb_Entity, tbb_Package, tbb_Component, tbb_Node,
  tbb_Artifact, tbb_Object, tbb_Initial_State, tbb_State,
  tbb_Region, tbb_End_State, tbb_Initial_Activity, tbb_Activity,
  tbb_End_Activity, tbb_Final_Activity, tbb_Pin, tbb_Branch,
  tbb_Fork, tbb_DeepHistory, tbb_ShallowHistory, tbb_StateFork,
  tbb_StateJoin, tbb_Junction, tbb_Choice, tbb_Andline,
  tbb_Exception, tbb_Object_Node, tbb_PrePostCondition, tbb_Category,
  tbb_Category2Parent, tbb_Child2Category
}
 

Public Slots

void buttonChanged (int b)
 
void slotAccept_Signal ()
 
void slotAccept_Time_Event ()
 
void slotActivity ()
 
void slotActivity_Transition ()
 
void slotActor ()
 
void slotAggregation ()
 
void slotAnchor ()
 
void slotAndline ()
 
void slotArrow ()
 
void slotArtifact ()
 
void slotAssociation ()
 
void slotBox ()
 
void slotBranch ()
 
void slotCategory ()
 
void slotCategory2Parent ()
 
void slotCheckToolBar (Uml::DiagramType::Enum dt)
 
void slotChild2Category ()
 
void slotChoice ()
 
void slotClass ()
 
void slotColl_Message ()
 
void slotComponent ()
 
void slotComposition ()
 
void slotContainment ()
 
void slotDatatype ()
 
void slotDeepHistory ()
 
void slotDependency ()
 
void slotEnd_Activity ()
 
void slotEnd_State ()
 
void slotEntity ()
 
void slotEnum ()
 
void slotException ()
 
void slotFinal_Activity ()
 
void slotFork ()
 
void slotGeneralization ()
 
void slotInitial_Activity ()
 
void slotInitial_State ()
 
void slotInterface ()
 
void slotJunction ()
 
void slotNode ()
 
void slotNote ()
 
void slotObject ()
 
void slotObject_Node ()
 
void slotPackage ()
 
void slotPin ()
 
void slotPrePostCondition ()
 
void slotRegion ()
 
void slotRelationship ()
 
void slotResetToolBar ()
 
void slotSend_Signal ()
 
void slotSeq_Combined_Fragment ()
 
void slotSeq_Message_Asynchronous ()
 
void slotSeq_Message_Found ()
 
void slotSeq_Message_Lost ()
 
void slotSeq_Message_Synchronous ()
 
void slotSeq_Precondition ()
 
void slotShallowHistory ()
 
void slotState ()
 
void slotState_Transition ()
 
void slotStateFork ()
 
void slotStateJoin ()
 
void slotText ()
 
void slotUniAssociation ()
 
void slotUseCase ()
 

Signals

void sigButtonChanged (int)
 

Public Member Functions

 WorkToolBar (QMainWindow *parentWindow)
 
 ~WorkToolBar ()
 
void setDefaultTool ()
 
void setOldTool ()
 

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.

To add a new tool button do the following:

  • create a button pixmap (symbol)
  • create a cursor pixmap
  • add an element to the ToolBar_Buttons enum
  • adjust function loadPixmaps
  • adjust function slotCheckToolBar

The toolbar that is different for each type of diagram.

Author
Paul Hensgen phens.nosp@m.gen@.nosp@m.techi.nosp@m.e.co.nosp@m.m Bugs and comments to umbre.nosp@m.llo-.nosp@m.devel.nosp@m.@kde.nosp@m..org or http://bugs.kde.org

Definition at line 40 of file worktoolbar.h.

Member Enumeration Documentation

enum WorkToolBar::ToolBar_Buttons

Enumeration of all available toolbar buttons.

Enumerator
tbb_Undefined 
tbb_Arrow 
tbb_Generalization 
tbb_Aggregation 
tbb_Dependency 
tbb_Association 
tbb_Containment 
tbb_Coll_Message 
tbb_Seq_Message_Synchronous 
tbb_Seq_Message_Asynchronous 
tbb_Seq_Message_Found 
tbb_Seq_Message_Lost 
tbb_Seq_Combined_Fragment 
tbb_Seq_Precondition 
tbb_Composition 
tbb_Relationship 
tbb_UniAssociation 
tbb_State_Transition 
tbb_Activity_Transition 
tbb_Send_Signal 
tbb_Accept_Signal 
tbb_Accept_Time_Event 
tbb_Anchor 
tbb_Note 
tbb_Box 
tbb_Text 
tbb_Actor 
tbb_UseCase 
tbb_Class 
tbb_Interface 
tbb_Datatype 
tbb_Enum 
tbb_Entity 
tbb_Package 
tbb_Component 
tbb_Node 
tbb_Artifact 
tbb_Object 
tbb_Initial_State 
tbb_State 
tbb_Region 
tbb_End_State 
tbb_Initial_Activity 
tbb_Activity 
tbb_End_Activity 
tbb_Final_Activity 
tbb_Pin 
tbb_Branch 
tbb_Fork 
tbb_DeepHistory 
tbb_ShallowHistory 
tbb_StateFork 
tbb_StateJoin 
tbb_Junction 
tbb_Choice 
tbb_Andline 
tbb_Exception 
tbb_Object_Node 
tbb_PrePostCondition 
tbb_Category 
tbb_Category2Parent 
tbb_Child2Category 

Definition at line 55 of file worktoolbar.h.

Constructor & Destructor Documentation

WorkToolBar::WorkToolBar ( QMainWindow *  parentWindow)
explicit

Creates a work tool bar.

Parameters
parentWindowThe parent of the toolbar.

Definition at line 33 of file worktoolbar.cpp.

WorkToolBar::~WorkToolBar ( )

Standard destructor.

Definition at line 57 of file worktoolbar.cpp.

Member Function Documentation

void WorkToolBar::buttonChanged ( int  b)
slot

Definition at line 205 of file worktoolbar.cpp.

void WorkToolBar::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.

Definition at line 282 of file worktoolbar.cpp.

void WorkToolBar::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.

Definition at line 270 of file worktoolbar.cpp.

void WorkToolBar::sigButtonChanged ( int  )
signal
void WorkToolBar::slotAccept_Signal ( )
slot

Definition at line 429 of file worktoolbar.cpp.

void WorkToolBar::slotAccept_Time_Event ( )
slot

Definition at line 430 of file worktoolbar.cpp.

void WorkToolBar::slotActivity ( )
slot

Definition at line 434 of file worktoolbar.cpp.

void WorkToolBar::slotActivity_Transition ( )
slot

Definition at line 409 of file worktoolbar.cpp.

void WorkToolBar::slotActor ( )
slot

Definition at line 414 of file worktoolbar.cpp.

void WorkToolBar::slotAggregation ( )
slot

Definition at line 394 of file worktoolbar.cpp.

void WorkToolBar::slotAnchor ( )
slot

Definition at line 410 of file worktoolbar.cpp.

void WorkToolBar::slotAndline ( )
slot

Definition at line 446 of file worktoolbar.cpp.

void WorkToolBar::slotArrow ( )
slot

These slots are triggered by the buttons.

They call buttonChanged with the button id

Definition at line 392 of file worktoolbar.cpp.

void WorkToolBar::slotArtifact ( )
slot

Definition at line 424 of file worktoolbar.cpp.

void WorkToolBar::slotAssociation ( )
slot

Definition at line 396 of file worktoolbar.cpp.

void WorkToolBar::slotBox ( )
slot

Definition at line 412 of file worktoolbar.cpp.

void WorkToolBar::slotBranch ( )
slot

Definition at line 437 of file worktoolbar.cpp.

void WorkToolBar::slotCategory ( )
slot

Definition at line 450 of file worktoolbar.cpp.

void WorkToolBar::slotCategory2Parent ( )
slot

Definition at line 451 of file worktoolbar.cpp.

void WorkToolBar::slotCheckToolBar ( Uml::DiagramType::Enum  dt)
slot

Definition at line 88 of file worktoolbar.cpp.

void WorkToolBar::slotChild2Category ( )
slot

Definition at line 452 of file worktoolbar.cpp.

void WorkToolBar::slotChoice ( )
slot

Definition at line 445 of file worktoolbar.cpp.

void WorkToolBar::slotClass ( )
slot

Definition at line 416 of file worktoolbar.cpp.

void WorkToolBar::slotColl_Message ( )
slot

Definition at line 398 of file worktoolbar.cpp.

void WorkToolBar::slotComponent ( )
slot

Definition at line 422 of file worktoolbar.cpp.

void WorkToolBar::slotComposition ( )
slot

Definition at line 405 of file worktoolbar.cpp.

void WorkToolBar::slotContainment ( )
slot

Definition at line 397 of file worktoolbar.cpp.

void WorkToolBar::slotDatatype ( )
slot

Definition at line 418 of file worktoolbar.cpp.

void WorkToolBar::slotDeepHistory ( )
slot

Definition at line 439 of file worktoolbar.cpp.

void WorkToolBar::slotDependency ( )
slot

Definition at line 395 of file worktoolbar.cpp.

void WorkToolBar::slotEnd_Activity ( )
slot

Definition at line 435 of file worktoolbar.cpp.

void WorkToolBar::slotEnd_State ( )
slot

Definition at line 431 of file worktoolbar.cpp.

void WorkToolBar::slotEntity ( )
slot

Definition at line 420 of file worktoolbar.cpp.

void WorkToolBar::slotEnum ( )
slot

Definition at line 419 of file worktoolbar.cpp.

void WorkToolBar::slotException ( )
slot

Definition at line 447 of file worktoolbar.cpp.

void WorkToolBar::slotFinal_Activity ( )
slot

Definition at line 436 of file worktoolbar.cpp.

void WorkToolBar::slotFork ( )
slot

Definition at line 438 of file worktoolbar.cpp.

void WorkToolBar::slotGeneralization ( )
slot

Definition at line 393 of file worktoolbar.cpp.

void WorkToolBar::slotInitial_Activity ( )
slot

Definition at line 433 of file worktoolbar.cpp.

void WorkToolBar::slotInitial_State ( )
slot

Definition at line 426 of file worktoolbar.cpp.

void WorkToolBar::slotInterface ( )
slot

Definition at line 417 of file worktoolbar.cpp.

void WorkToolBar::slotJunction ( )
slot

Definition at line 444 of file worktoolbar.cpp.

void WorkToolBar::slotNode ( )
slot

Definition at line 423 of file worktoolbar.cpp.

void WorkToolBar::slotNote ( )
slot

Definition at line 411 of file worktoolbar.cpp.

void WorkToolBar::slotObject ( )
slot

Definition at line 425 of file worktoolbar.cpp.

void WorkToolBar::slotObject_Node ( )
slot

Definition at line 448 of file worktoolbar.cpp.

void WorkToolBar::slotPackage ( )
slot

Definition at line 421 of file worktoolbar.cpp.

void WorkToolBar::slotPin ( )
slot

Definition at line 442 of file worktoolbar.cpp.

void WorkToolBar::slotPrePostCondition ( )
slot

Definition at line 449 of file worktoolbar.cpp.

void WorkToolBar::slotRegion ( )
slot

Definition at line 432 of file worktoolbar.cpp.

void WorkToolBar::slotRelationship ( )
slot

Definition at line 406 of file worktoolbar.cpp.

void WorkToolBar::slotResetToolBar ( )
slot

Definition at line 246 of file worktoolbar.cpp.

void WorkToolBar::slotSend_Signal ( )
slot

Definition at line 428 of file worktoolbar.cpp.

void WorkToolBar::slotSeq_Combined_Fragment ( )
slot

Definition at line 403 of file worktoolbar.cpp.

void WorkToolBar::slotSeq_Message_Asynchronous ( )
slot

Definition at line 400 of file worktoolbar.cpp.

void WorkToolBar::slotSeq_Message_Found ( )
slot

Definition at line 401 of file worktoolbar.cpp.

void WorkToolBar::slotSeq_Message_Lost ( )
slot

Definition at line 402 of file worktoolbar.cpp.

void WorkToolBar::slotSeq_Message_Synchronous ( )
slot

Definition at line 399 of file worktoolbar.cpp.

void WorkToolBar::slotSeq_Precondition ( )
slot

Definition at line 404 of file worktoolbar.cpp.

void WorkToolBar::slotShallowHistory ( )
slot

Definition at line 440 of file worktoolbar.cpp.

void WorkToolBar::slotState ( )
slot

Definition at line 427 of file worktoolbar.cpp.

void WorkToolBar::slotState_Transition ( )
slot

Definition at line 408 of file worktoolbar.cpp.

void WorkToolBar::slotStateFork ( )
slot

Definition at line 443 of file worktoolbar.cpp.

void WorkToolBar::slotStateJoin ( )
slot

Definition at line 441 of file worktoolbar.cpp.

void WorkToolBar::slotText ( )
slot

Definition at line 413 of file worktoolbar.cpp.

void WorkToolBar::slotUniAssociation ( )
slot

Definition at line 407 of file worktoolbar.cpp.

void WorkToolBar::slotUseCase ( )
slot

Definition at line 415 of file worktoolbar.cpp.


The documentation for this class was generated from the following files:
  • worktoolbar.h
  • worktoolbar.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:06:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

umbrello/umbrello

Skip menu "umbrello/umbrello"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

kdesdk API Reference

Skip menu "kdesdk API Reference"
  • kapptemplate
  • kcachegrind
  • kompare
  • lokalize
  • okteta
  • umbrello
  •   umbrello

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal