QElectroTech 0.200.1-dev
Loading...
Searching...
No Matches
RotateFineElementsCommand Class Reference

#include <editorcommands.h>

Inheritance diagram for RotateFineElementsCommand:
Inheritance graph
Collaboration diagram for RotateFineElementsCommand:
Collaboration graph

Public Member Functions

 RotateFineElementsCommand (ElementScene *scene, QUndoCommand *parent=nullptr)
void undo () override
 RotateFineElementsCommand::undo.
void redo () override
 RotateFineElementsCommand::redo.
Public Member Functions inherited from ElementEditionCommand
 ElementEditionCommand (ElementScene *=nullptr, ElementView *=nullptr, QUndoCommand *=nullptr)
 ElementEditionCommand::ElementEditionCommand Constructs an ElementEditionCommand, thus embedding the provided scene and view.
 ElementEditionCommand (const QString &, ElementScene *=nullptr, ElementView *=nullptr, QUndoCommand *=nullptr)
 ElementEditionCommand::ElementEditionCommand Constructs an ElementEditionCommand, thus embedding the provided scene and view.
 ~ElementEditionCommand () override
ElementSceneelementScene () const
void setElementScene (ElementScene *)
ElementViewelementView () const
void setElementView (ElementView *)

Private Attributes

ElementScenem_scene =nullptr
QList< QGraphicsItem * > m_items

Additional Inherited Members

Protected Attributes inherited from ElementEditionCommand
ElementScenem_scene
 Element editor/view/scene the command should take place on.
ElementViewm_view

Constructor & Destructor Documentation

◆ RotateFineElementsCommand()

RotateFineElementsCommand::RotateFineElementsCommand ( ElementScene * scene,
QUndoCommand * parent = nullptr )
Here is the call graph for this function:

Member Function Documentation

◆ redo()

void RotateFineElementsCommand::redo ( )
override

RotateFineElementsCommand::redo.

Here is the call graph for this function:

◆ undo()

void RotateFineElementsCommand::undo ( )
override

RotateFineElementsCommand::undo.

Here is the call graph for this function:

Member Data Documentation

◆ m_items

QList<QGraphicsItem*> RotateFineElementsCommand::m_items
private

◆ m_scene

ElementScene* RotateFineElementsCommand::m_scene =nullptr
private

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