umbrello
2.38.4
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
Main Page
Related Pages
Topics
Namespaces
Classes
Files
File List
File Members
umbrello
cmds
widget
cmdchangefont.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
#ifndef CMDCHANGEFONT_H
7
#define CMDCHANGEFONT_H
8
9
#include "
cmdbasewidgetcommand.h
"
10
11
#include <QFont>
12
13
class
UMLWidget
;
14
15
namespace
Uml
16
{
17
class
CmdChangeFont
:
public
CmdBaseWidgetCommand
18
{
19
public
:
20
CmdChangeFont
(
UMLWidget
*
widget
, QFont font);
21
22
void
undo
();
23
void
redo
();
24
25
private
:
26
QFont
m_newFont
;
27
QFont
m_oldFont
;
28
};
29
}
30
31
#endif
// CMDCHANGEFONT_H
UMLWidget
The base class for graphical UML objects.
Definition
umlwidget.h:36
Uml::CmdBaseWidgetCommand
Definition
cmdbasewidgetcommand.h:21
Uml::CmdBaseWidgetCommand::widget
UMLWidget * widget()
Definition
cmdbasewidgetcommand.cpp:71
Uml::CmdChangeFont
Definition
cmdchangefont.h:18
Uml::CmdChangeFont::m_oldFont
QFont m_oldFont
Definition
cmdchangefont.h:27
Uml::CmdChangeFont::undo
void undo()
Definition
cmdchangefont.cpp:25
Uml::CmdChangeFont::m_newFont
QFont m_newFont
Definition
cmdchangefont.h:26
Uml::CmdChangeFont::redo
void redo()
Definition
cmdchangefont.cpp:30
cmdbasewidgetcommand.h
Uml
Definition
basictypes.cpp:18
Generated by
1.9.8