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

Flip vertical command class. More...

#include <Commands.h>

Inheritance diagram for FlipVerticalCommand:
Collaboration diagram for FlipVerticalCommand:

Public Member Functions

 FlipVerticalCommand (Editor *editor)
 
 ~FlipVerticalCommand ()
 
virtual void undo ()
 
virtual void redo ()
 

Private Attributes

Editorm_editor
 

Detailed Description

Flip vertical command class.

Implement the flipping of the QPainterPath for the current symbol vertically about the horizontal axis passing through the center line of the symbol.

Nothing is stored for undo as this is implemented by another flip vertical.

Definition at line 304 of file Commands.h.

Constructor & Destructor Documentation

FlipVerticalCommand::FlipVerticalCommand ( Editor editor)
explicit

Constructor

Parameters
editora pointer to the Editor

Definition at line 546 of file Commands.cpp.

FlipVerticalCommand::~FlipVerticalCommand ( )

Destructor

Definition at line 556 of file Commands.cpp.

Member Function Documentation

void FlipVerticalCommand::redo ( )
virtual

Redo the flip vertical command. Call the Editor::flipPointsVertical to flip the points.

Definition at line 573 of file Commands.cpp.

Here is the call graph for this function:

void FlipVerticalCommand::undo ( )
virtual

Undo the flip vertical command. Call the Editor::flipPointsVertical to flip the points.

Definition at line 564 of file Commands.cpp.

Here is the call graph for this function:

Member Data Documentation

Editor* FlipVerticalCommand::m_editor
private

pointer to the editor

Definition at line 314 of file Commands.h.


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