SymbolEditor  1.3.0
 All Classes Files Functions Variables Enumerations Enumerator Friends Pages
AddCharacterCommand Class Reference

Add a fonted character as a symbol. More...

#include <Commands.h>

Inheritance diagram for AddCharacterCommand:
Collaboration diagram for AddCharacterCommand:

Public Member Functions

 AddCharacterCommand (Editor *editor, const QPainterPath &path)
 
virtual void redo ()
 
virtual void undo ()
 

Private Attributes

Editorm_editor
 
QPainterPath m_path
 

Detailed Description

Add a fonted character as a symbol.

Allows a character to be added after selection from the KCharSelect dialog.

Definition at line 535 of file Commands.h.

Constructor & Destructor Documentation

AddCharacterCommand::AddCharacterCommand ( Editor editor,
const QPainterPath &  path 
)

Constructor.

Parameters
editora pointer to the editor
paththe QPainterPath representing the character glyph

Definition at line 1048 of file Commands.cpp.

Member Function Documentation

void AddCharacterCommand::redo ( )
virtual

Definition at line 1056 of file Commands.cpp.

Here is the call graph for this function:

void AddCharacterCommand::undo ( )
virtual

Definition at line 1062 of file Commands.cpp.

Here is the call graph for this function:

Member Data Documentation

Editor* AddCharacterCommand::m_editor
private

Definition at line 544 of file Commands.h.

QPainterPath AddCharacterCommand::m_path
private

Definition at line 545 of file Commands.h.


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