The ChangeConductorCommand class This command changes a particular conductor.
More...
#include <diagramcommands.h>
Inherits QUndoCommand.
The ChangeConductorCommand class This command changes a particular conductor.
◆ ChangeConductorCommand() [1/2]
◆ ~ChangeConductorCommand()
ChangeConductorCommand::~ChangeConductorCommand |
( |
| ) |
|
|
override |
◆ ChangeConductorCommand() [2/2]
◆ redo()
void ChangeConductorCommand::redo |
( |
| ) |
|
|
override |
◆ setConductorTextItemMove()
void ChangeConductorCommand::setConductorTextItemMove |
( |
const QPointF & |
pos_before, |
|
|
const QPointF & |
pos_after |
|
) |
| |
|
virtual |
ChangeConductorCommand::setConductorTextItemMove Integre dans cet objet d'annulation le repositionnement du champ de texte du conducteur.
- Parameters
-
pos_before | Position du texte avant la modification du conducteur |
pos_after | Position du texte apres la modification du conducteur |
◆ undo()
void ChangeConductorCommand::undo |
( |
| ) |
|
|
override |
◆ conductor
◆ diagram
Diagram* ChangeConductorCommand::diagram |
|
private |
◆ first_redo
bool ChangeConductorCommand::first_redo |
|
private |
prevent the first call to redo()
◆ new_profile
◆ old_profile
profile before the change
◆ path_type
Qt::Corner ChangeConductorCommand::path_type |
|
private |
Path type of the modified conductor.
◆ text_pos_after_mov_
QPointF ChangeConductorCommand::text_pos_after_mov_ |
|
private |
position of the text item after the change
◆ text_pos_before_mov_
QPointF ChangeConductorCommand::text_pos_before_mov_ |
|
private |
position of the text item before the change
The documentation for this class was generated from the following files: