umbrello 26.03.70-f7b1fd3 Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

cmdchangefillcolor.h
Go to the documentation of this file.
1/*
2 SPDX-License-Identifier: GPL-2.0-or-later
3 SPDX-FileCopyrightText: 2002-2014 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
4*/
5
6 /* Created By Krzywda Stanislas and Bouchikhi Mohamed-Amine ;) */
7
8#ifndef CMDCHANGEFILLCOLOR_H
9#define CMDCHANGEFILLCOLOR_H
10
11#include "cmdbasewidgetcommand.h"
12
13#include <QColor>
14
15 class UMLWidget;
16
17 namespace Uml
18{
19 class CmdChangeFillColor : public CmdBaseWidgetCommand
20 {
21 public:
22 CmdChangeFillColor(UMLWidget* w, const QColor& col);
23 ~CmdChangeFillColor();
24
25 void redo();
26 void undo();
27
28 private:
29 QColor m_oldColor;
30 QColor m_color;
31
32 };
33}
34
35#endif /*CMDCHANGEFILLCOLOR_H*/
UMLWidget
The base class for graphical UML objects.
Definition: umlwidget.h:36
Uml::CmdBaseWidgetCommand
Definition: cmdbasewidgetcommand.h:21
Uml::CmdChangeFillColor
Definition: cmdchangefillcolor.h:20
Uml::CmdChangeFillColor::m_oldColor
QColor m_oldColor
old color
Definition: cmdchangefillcolor.h:29
Uml::CmdChangeFillColor::m_color
QColor m_color
new color
Definition: cmdchangefillcolor.h:30
Uml::CmdChangeFillColor::redo
void redo()
Definition: cmdchangefillcolor.cpp:30
Uml::CmdChangeFillColor::~CmdChangeFillColor
~CmdChangeFillColor()
Definition: cmdchangefillcolor.cpp:26
Uml::CmdChangeFillColor::undo
void undo()
Definition: cmdchangefillcolor.cpp:35
cmdbasewidgetcommand.h
Uml
Definition: basictypes.cpp:17