| umbrello 25.07.80
    Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology | 
#include <toolbarstatepool.h>
 
  
| Public Member Functions | |
| virtual | ~ToolBarStatePool () | 
| void | setButton (const WorkToolBar::ToolBar_Buttons &button) | 
| WorkToolBar::ToolBar_Buttons | getButton () const | 
| Public Member Functions inherited from ToolBarState | |
| virtual | ~ToolBarState () | 
| virtual void | init () | 
| virtual void | cleanBeforeChange () | 
| virtual void | mousePress (QGraphicsSceneMouseEvent *ome) | 
| virtual void | mouseRelease (QGraphicsSceneMouseEvent *ome) | 
| virtual void | mouseDoubleClick (QGraphicsSceneMouseEvent *ome) | 
| virtual void | mouseMove (QGraphicsSceneMouseEvent *ome) | 
| Protected Member Functions | |
| ToolBarStatePool (UMLScene *umlScene) | |
| Protected Member Functions inherited from ToolBarState | |
| ToolBarState (UMLScene *umlScene) | |
| virtual void | setCurrentElement () | 
| virtual void | mousePressAssociation () | 
| virtual void | mousePressWidget () | 
| virtual void | mousePressEmpty () | 
| virtual void | mouseReleaseAssociation () | 
| virtual void | mouseReleaseWidget () | 
| virtual void | mouseReleaseEmpty () | 
| virtual void | mouseDoubleClickAssociation () | 
| virtual void | mouseDoubleClickWidget () | 
| virtual void | mouseDoubleClickEmpty () | 
| virtual void | mouseMoveAssociation () | 
| virtual void | mouseMoveWidget () | 
| virtual void | mouseMoveEmpty () | 
| virtual void | changeTool () | 
| virtual UMLWidget * | currentWidget () const | 
| virtual void | setCurrentWidget (UMLWidget *widget) | 
| virtual AssociationWidget * | currentAssociation () const | 
| virtual void | setCurrentAssociation (AssociationWidget *association) | 
| void | setMouseEvent (QGraphicsSceneMouseEvent *ome, const QEvent::Type &type) | 
| AssociationWidget * | associationAt (const QPointF &pos) | 
| MessageWidget * | messageAt (const QPointF &pos) | 
| FloatingDashLineWidget * | floatingLineAt (const QPointF &pos) | 
| Private Attributes | |
| WorkToolBar::ToolBar_Buttons | m_ToolBarButton | 
| The current button of the tool. | |
| Additional Inherited Members | |
| Public Slots inherited from ToolBarState | |
| virtual void | slotAssociationRemoved (AssociationWidget *association) | 
| virtual void | slotWidgetRemoved (UMLWidget *widget) | 
| Signals inherited from ToolBarState | |
| void | finished () | 
| Protected Attributes inherited from ToolBarState | |
| UMLScene * | m_pUMLScene | 
| The UMLScene. | |
| QGraphicsSceneMouseEvent * | m_pMouseEvent | 
| The mouse event currently in use. | |
Base class for tools that can use the same state but with different button. This class only adds support to specify the button currently in use for a tool bar state.
| 
 | virtual | 
Destroys this ToolBarStatePool.
| 
 | protected | 
Creates a new ToolBarStatePool. Protected to avoid classes other than derived to create objects of this class.
| umlScene | The UMLScene to use. | 
| WorkToolBar::ToolBar_Buttons ToolBarStatePool::getButton | ( | ) | const | 
Returns the current button.
| void ToolBarStatePool::setButton | ( | const WorkToolBar::ToolBar_Buttons & | button | ) | 
Sets the current button and inits the tool. If the current button is the same to the button to set, the tool isn't initialized.
| button | The button to set. | 
| 
 | private | 
The current button of the tool.