.TH "MirrorElementsCommand" 3 "Version 0.200.1-dev" "QElectroTech" \" -*- nroff -*-
.ad l
.nh
.SH NAME
MirrorElementsCommand \- The \fBMirrorElementsCommand\fP class Mirror the selected parts horizontally (left <-> right) across the vertical line through the center of the selection, so the selection keeps its place in the scene\&.  

.SH SYNOPSIS
.br
.PP
.PP
\fR#include <editorcommands\&.h>\fP
.PP
Inherits \fBElementEditionCommand\fP\&.
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBMirrorElementsCommand\fP (\fBElementScene\fP *scene, QUndoCommand *parent=nullptr)"
.br
.ti -1c
.RI "void \fBundo\fP () override"
.br
.RI "\fBMirrorElementsCommand::undo\fP\&. "
.ti -1c
.RI "void \fBredo\fP () override"
.br
.RI "\fBMirrorElementsCommand::redo\fP\&. "
.in -1c

Public Member Functions inherited from \fBElementEditionCommand\fP
.in +1c
.ti -1c
.RI "\fBElementEditionCommand\fP (\fBElementScene\fP *=nullptr, \fBElementView\fP *=nullptr, QUndoCommand *=nullptr)"
.br
.RI "\fBElementEditionCommand::ElementEditionCommand\fP Constructs an \fBElementEditionCommand\fP, thus embedding the provided \fIscene\fP and \fIview\fP\&. "
.ti -1c
.RI "\fBElementEditionCommand\fP (const QString &, \fBElementScene\fP *=nullptr, \fBElementView\fP *=nullptr, QUndoCommand *=nullptr)"
.br
.RI "\fBElementEditionCommand::ElementEditionCommand\fP Constructs an \fBElementEditionCommand\fP, thus embedding the provided \fIscene\fP and \fIview\fP\&. "
.ti -1c
.RI "\fB~ElementEditionCommand\fP () override"
.br
.ti -1c
.RI "\fBElementScene\fP * \fBelementScene\fP () const"
.br
.ti -1c
.RI "void \fBsetElementScene\fP (\fBElementScene\fP *)"
.br
.ti -1c
.RI "\fBElementView\fP * \fBelementView\fP () const"
.br
.ti -1c
.RI "void \fBsetElementView\fP (\fBElementView\fP *)"
.br
.in -1c
.SS "Private Attributes"

.in +1c
.ti -1c
.RI "\fBElementScene\fP * \fBm_scene\fP =nullptr"
.br
.ti -1c
.RI "QList< QGraphicsItem * > \fBm_items\fP"
.br
.ti -1c
.RI "qreal \fBm_axis_x\fP = 0"
.br
.in -1c
.SS "Additional Inherited Members"


Protected Attributes inherited from \fBElementEditionCommand\fP
.in +1c
.ti -1c
.RI "\fBElementScene\fP * \fBm_scene\fP"
.br
.RI "\fBElement\fP editor/view/scene the command should take place on\&. "
.ti -1c
.RI "\fBElementView\fP * \fBm_view\fP"
.br
.in -1c
.SH "Detailed Description"
.PP 
The \fBMirrorElementsCommand\fP class Mirror the selected parts horizontally (left <-> right) across the vertical line through the center of the selection, so the selection keeps its place in the scene\&. 
.SH "Constructor & Destructor Documentation"
.PP 
.SS "MirrorElementsCommand::MirrorElementsCommand (\fBElementScene\fP * scene, QUndoCommand * parent = \fRnullptr\fP)"

.SH "Member Function Documentation"
.PP 
.SS "void MirrorElementsCommand::redo ()\fR [override]\fP"

.PP
\fBMirrorElementsCommand::redo\fP\&. 
.SS "void MirrorElementsCommand::undo ()\fR [override]\fP"

.PP
\fBMirrorElementsCommand::undo\fP\&. 
.SH "Member Data Documentation"
.PP 
.SS "qreal MirrorElementsCommand::m_axis_x = 0\fR [private]\fP"

.SS "QList<QGraphicsItem*> MirrorElementsCommand::m_items\fR [private]\fP"

.SS "\fBElementScene\fP* MirrorElementsCommand::m_scene =nullptr\fR [private]\fP"


.SH "Author"
.PP 
Generated automatically by Doxygen for QElectroTech from the source code\&.
