The toolbar that is different for each type of diagram.
More...
#include <worktoolbar.h>
|
enum | ToolBar_Buttons {
tbb_Undefined = -1
, tbb_Arrow
, tbb_Generalization
, tbb_Aggregation
,
tbb_Dependency
, tbb_Association
, tbb_Containment
, tbb_Coll_Mesg_Sync
,
tbb_Coll_Mesg_Async
, tbb_Seq_Message_Creation
, tbb_Seq_Message_Destroy
, 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_Interface_Provider
, tbb_Interface_Requirement
, 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_Port
, 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
,
tbb_Instance
, tbb_SubSystem
} |
|
The toolbar that is different for each type of diagram.
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
- 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 https://bugs.kde.org
◆ ActionsMap
◆ CursorMap
◆ OldToolMap
◆ 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_Mesg_Sync | |
tbb_Coll_Mesg_Async | |
tbb_Seq_Message_Creation | |
tbb_Seq_Message_Destroy | |
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_Interface_Provider | |
tbb_Interface_Requirement | |
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_Port | |
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 | |
tbb_Instance | |
tbb_SubSystem | |
◆ WorkToolBar()
WorkToolBar::WorkToolBar |
( |
QMainWindow * |
parentWindow | ) |
|
|
explicit |
Creates a work tool bar.
- Parameters
-
parentWindow | The parent of the toolbar. |
◆ ~WorkToolBar()
WorkToolBar::~WorkToolBar |
( |
| ) |
|
◆ buttonChanged
void WorkToolBar::buttonChanged |
( |
int |
b | ) |
|
|
slot |
◆ currentCursor()
QCursor WorkToolBar::currentCursor |
( |
| ) |
|
|
private |
Returns the current cursor depending on m_CurrentButtonID
◆ defaultCursor()
QCursor WorkToolBar::defaultCursor |
( |
| ) |
|
|
private |
Returns the default cursor
◆ insertBasicAssociations()
void WorkToolBar::insertBasicAssociations |
( |
| ) |
|
|
private |
Inserts most associations, just reduces some string duplication (nice to translators)
◆ insertHotBtn()
Inserts the button corresponding to the tbb value given and activates the toggle.
◆ loadPixmaps()
void WorkToolBar::loadPixmaps |
( |
| ) |
|
|
private |
Loads toolbar icon and mouse cursor images from disk
◆ setDefaultTool()
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.
◆ setOldTool()
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.
◆ setupActions()
void WorkToolBar::setupActions |
( |
| ) |
|
Setup actions after reading shortcuts from settings
◆ sigButtonChanged
void WorkToolBar::sigButtonChanged |
( |
int |
_t1 | ) |
|
|
signal |
◆ slotAccept_Signal
void WorkToolBar::slotAccept_Signal |
( |
| ) |
|
|
slot |
◆ slotAccept_Time_Event
void WorkToolBar::slotAccept_Time_Event |
( |
| ) |
|
|
slot |
◆ slotActivity
void WorkToolBar::slotActivity |
( |
| ) |
|
|
slot |
◆ slotActivity_Transition
void WorkToolBar::slotActivity_Transition |
( |
| ) |
|
|
slot |
◆ slotActor
void WorkToolBar::slotActor |
( |
| ) |
|
|
slot |
◆ slotAggregation
void WorkToolBar::slotAggregation |
( |
| ) |
|
|
slot |
◆ slotAnchor
void WorkToolBar::slotAnchor |
( |
| ) |
|
|
slot |
◆ slotAndline
void WorkToolBar::slotAndline |
( |
| ) |
|
|
slot |
◆ slotArrow
void WorkToolBar::slotArrow |
( |
| ) |
|
|
slot |
These slots are triggered by the buttons. They call buttonChanged with the button id
◆ slotArtifact
void WorkToolBar::slotArtifact |
( |
| ) |
|
|
slot |
◆ slotAssociation
void WorkToolBar::slotAssociation |
( |
| ) |
|
|
slot |
◆ slotBox
void WorkToolBar::slotBox |
( |
| ) |
|
|
slot |
◆ slotBranch
void WorkToolBar::slotBranch |
( |
| ) |
|
|
slot |
◆ slotCategory
void WorkToolBar::slotCategory |
( |
| ) |
|
|
slot |
◆ slotCategory2Parent
void WorkToolBar::slotCategory2Parent |
( |
| ) |
|
|
slot |
◆ slotCheckToolBar
◆ slotChild2Category
void WorkToolBar::slotChild2Category |
( |
| ) |
|
|
slot |
◆ slotChoice
void WorkToolBar::slotChoice |
( |
| ) |
|
|
slot |
◆ slotClass
void WorkToolBar::slotClass |
( |
| ) |
|
|
slot |
◆ slotColl_Mesg_Async
void WorkToolBar::slotColl_Mesg_Async |
( |
| ) |
|
|
slot |
◆ slotColl_Mesg_Sync
void WorkToolBar::slotColl_Mesg_Sync |
( |
| ) |
|
|
slot |
◆ slotComponent
void WorkToolBar::slotComponent |
( |
| ) |
|
|
slot |
◆ slotComposition
void WorkToolBar::slotComposition |
( |
| ) |
|
|
slot |
◆ slotContainment
void WorkToolBar::slotContainment |
( |
| ) |
|
|
slot |
◆ slotDatatype
void WorkToolBar::slotDatatype |
( |
| ) |
|
|
slot |
◆ slotDeepHistory
void WorkToolBar::slotDeepHistory |
( |
| ) |
|
|
slot |
◆ slotDependency
void WorkToolBar::slotDependency |
( |
| ) |
|
|
slot |
◆ slotEnd_Activity
void WorkToolBar::slotEnd_Activity |
( |
| ) |
|
|
slot |
◆ slotEnd_State
void WorkToolBar::slotEnd_State |
( |
| ) |
|
|
slot |
◆ slotEntity
void WorkToolBar::slotEntity |
( |
| ) |
|
|
slot |
◆ slotEnum
void WorkToolBar::slotEnum |
( |
| ) |
|
|
slot |
◆ slotException
void WorkToolBar::slotException |
( |
| ) |
|
|
slot |
◆ slotFinal_Activity
void WorkToolBar::slotFinal_Activity |
( |
| ) |
|
|
slot |
◆ slotFork
void WorkToolBar::slotFork |
( |
| ) |
|
|
slot |
◆ slotGeneralization
void WorkToolBar::slotGeneralization |
( |
| ) |
|
|
slot |
◆ slotInitial_Activity
void WorkToolBar::slotInitial_Activity |
( |
| ) |
|
|
slot |
◆ slotInitial_State
void WorkToolBar::slotInitial_State |
( |
| ) |
|
|
slot |
◆ slotInstance
void WorkToolBar::slotInstance |
( |
| ) |
|
|
slot |
◆ slotInterface
void WorkToolBar::slotInterface |
( |
| ) |
|
|
slot |
◆ slotInterfaceProvider
void WorkToolBar::slotInterfaceProvider |
( |
| ) |
|
|
slot |
◆ slotInterfaceRequired
void WorkToolBar::slotInterfaceRequired |
( |
| ) |
|
|
slot |
◆ slotJunction
void WorkToolBar::slotJunction |
( |
| ) |
|
|
slot |
◆ slotNode
void WorkToolBar::slotNode |
( |
| ) |
|
|
slot |
◆ slotNote
void WorkToolBar::slotNote |
( |
| ) |
|
|
slot |
◆ slotObject
void WorkToolBar::slotObject |
( |
| ) |
|
|
slot |
◆ slotObject_Node
void WorkToolBar::slotObject_Node |
( |
| ) |
|
|
slot |
◆ slotPackage
void WorkToolBar::slotPackage |
( |
| ) |
|
|
slot |
◆ slotPin
void WorkToolBar::slotPin |
( |
| ) |
|
|
slot |
◆ slotPort
void WorkToolBar::slotPort |
( |
| ) |
|
|
slot |
◆ slotPrePostCondition
void WorkToolBar::slotPrePostCondition |
( |
| ) |
|
|
slot |
◆ slotRegion
void WorkToolBar::slotRegion |
( |
| ) |
|
|
slot |
◆ slotRelationship
void WorkToolBar::slotRelationship |
( |
| ) |
|
|
slot |
◆ slotResetToolBar
void WorkToolBar::slotResetToolBar |
( |
| ) |
|
|
slot |
◆ slotSend_Signal
void WorkToolBar::slotSend_Signal |
( |
| ) |
|
|
slot |
◆ slotSeq_Combined_Fragment
void WorkToolBar::slotSeq_Combined_Fragment |
( |
| ) |
|
|
slot |
◆ slotSeq_Message_Asynchronous
void WorkToolBar::slotSeq_Message_Asynchronous |
( |
| ) |
|
|
slot |
◆ slotSeq_Message_Creation
void WorkToolBar::slotSeq_Message_Creation |
( |
| ) |
|
|
slot |
◆ slotSeq_Message_Destroy
void WorkToolBar::slotSeq_Message_Destroy |
( |
| ) |
|
|
slot |
◆ slotSeq_Message_Found
void WorkToolBar::slotSeq_Message_Found |
( |
| ) |
|
|
slot |
◆ slotSeq_Message_Lost
void WorkToolBar::slotSeq_Message_Lost |
( |
| ) |
|
|
slot |
◆ slotSeq_Message_Synchronous
void WorkToolBar::slotSeq_Message_Synchronous |
( |
| ) |
|
|
slot |
◆ slotSeq_Precondition
void WorkToolBar::slotSeq_Precondition |
( |
| ) |
|
|
slot |
◆ slotShallowHistory
void WorkToolBar::slotShallowHistory |
( |
| ) |
|
|
slot |
◆ slotState
void WorkToolBar::slotState |
( |
| ) |
|
|
slot |
◆ slotState_Transition
void WorkToolBar::slotState_Transition |
( |
| ) |
|
|
slot |
◆ slotStateFork
void WorkToolBar::slotStateFork |
( |
| ) |
|
|
slot |
◆ slotStateJoin
void WorkToolBar::slotStateJoin |
( |
| ) |
|
|
slot |
◆ slotSubsystem
void WorkToolBar::slotSubsystem |
( |
| ) |
|
|
slot |
◆ slotText
void WorkToolBar::slotText |
( |
| ) |
|
|
slot |
◆ slotUniAssociation
void WorkToolBar::slotUniAssociation |
( |
| ) |
|
|
slot |
◆ slotUseCase
void WorkToolBar::slotUseCase |
( |
| ) |
|
|
slot |
◆ m_actions
◆ m_CurrentButtonID
◆ m_cursors
◆ m_map
◆ m_Type
The documentation for this class was generated from the following files: