umbrello 25.04.3
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
Uml::CmdChangeTextColor Class Reference

#include <cmdchangetextcolor.h>

Inheritance diagram for Uml::CmdChangeTextColor:
Collaboration diagram for Uml::CmdChangeTextColor:

Public Member Functions

 CmdChangeTextColor (UMLWidget *w, const QColor &col)
 ~CmdChangeTextColor ()
void redo ()
void undo ()
Public Member Functions inherited from Uml::CmdBaseWidgetCommand
 CmdBaseWidgetCommand (UMLWidget *widget)
 CmdBaseWidgetCommand (AssociationWidget *widget)
virtual ~CmdBaseWidgetCommand ()

Private Attributes

QColor m_oldColor
QColor m_newColor
bool m_oldUsesDiagramValue

Additional Inherited Members

Protected Member Functions inherited from Uml::CmdBaseWidgetCommand
void setWidget (UMLWidget *widget)
void setWidget (AssociationWidget *widget)
void addWidgetToScene (UMLWidget *widget)
void addWidgetToScene (AssociationWidget *widget)
void removeWidgetFromScene (UMLWidget *widget)
void removeWidgetFromScene (AssociationWidget *widget)
UMLWidgetwidget ()
AssociationWidgetassocWidget ()
UMLScenescene ()
Protected Attributes inherited from Uml::CmdBaseWidgetCommand
Uml::ID::Type m_sceneId
Uml::ID::Type m_widgetId
QPointer< UMLScenem_scene
QPointer< UMLWidgetm_widget
QPointer< AssociationWidgetm_assocWidget
bool m_isAssoc

Constructor & Destructor Documentation

◆ CmdChangeTextColor()

Uml::CmdChangeTextColor::CmdChangeTextColor ( UMLWidget * w,
const QColor & col )
Here is the call graph for this function:

◆ ~CmdChangeTextColor()

Uml::CmdChangeTextColor::~CmdChangeTextColor ( )

Member Function Documentation

◆ redo()

void Uml::CmdChangeTextColor::redo ( )
Here is the call graph for this function:

◆ undo()

void Uml::CmdChangeTextColor::undo ( )
Here is the call graph for this function:

Member Data Documentation

◆ m_newColor

QColor Uml::CmdChangeTextColor::m_newColor
private

◆ m_oldColor

QColor Uml::CmdChangeTextColor::m_oldColor
private

◆ m_oldUsesDiagramValue

bool Uml::CmdChangeTextColor::m_oldUsesDiagramValue
private

The documentation for this class was generated from the following files: