Public Member Functions | Protected Attributes

NextLabelEditCommand Class Reference

#include <commands.h>

Collaboration diagram for NextLabelEditCommand:

List of all members.

Public Member Functions

 NextLabelEditCommand (LabelX *label, const QString &labelText, float labelPos, bool isLeft, QUndoCommand *parent=0)
void redo ()
void undo ()

Protected Attributes

bool isLeft_backup
bool isLeft_new
LabelXlabel
float labelPos_backup
float labelPos_new
QString labelText_backup
QString labelText_new

Detailed Description

Definition at line 316 of file commands.h.


Constructor & Destructor Documentation

NextLabelEditCommand::NextLabelEditCommand ( LabelX label,
const QString &  labelText,
float  labelPos,
bool  isLeft,
QUndoCommand *  parent = 0 
)

Definition at line 760 of file commands.cpp.

References LabelX::left(), LabelX::posParam(), and LabelX::text().

Here is the call graph for this function:


Member Function Documentation

void NextLabelEditCommand::redo (  ) 

Definition at line 777 of file commands.cpp.

References Transition::adjust(), LabelX::getTransition(), isLeft_new, labelPos_new, labelText_new, LabelX::setLeftOriented(), LabelX::setPosParam(), and LabelX::setText().

Here is the call graph for this function:

void NextLabelEditCommand::undo (  ) 

Member Data Documentation

Definition at line 330 of file commands.h.

Referenced by undo().

Definition at line 331 of file commands.h.

Referenced by redo().

Definition at line 325 of file commands.h.

Definition at line 327 of file commands.h.

Referenced by undo().

Definition at line 329 of file commands.h.

Referenced by redo().

Definition at line 326 of file commands.h.

Referenced by undo().

Definition at line 328 of file commands.h.

Referenced by redo().


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