mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-04-21 18:19:59 +02:00
Wrap code for better readability
This commit is contained in:
@@ -33,8 +33,13 @@ class ElementEditionCommand : public QUndoCommand
|
||||
{
|
||||
// constructors, destructor
|
||||
public:
|
||||
ElementEditionCommand(ElementScene * = nullptr, ElementView * = nullptr, QUndoCommand * = nullptr);
|
||||
ElementEditionCommand(const QString &, ElementScene * = nullptr, ElementView * = nullptr, QUndoCommand * = nullptr);
|
||||
ElementEditionCommand(ElementScene * = nullptr,
|
||||
ElementView * = nullptr,
|
||||
QUndoCommand * = nullptr);
|
||||
ElementEditionCommand(const QString &,
|
||||
ElementScene * = nullptr,
|
||||
ElementView * = nullptr,
|
||||
QUndoCommand * = nullptr);
|
||||
~ElementEditionCommand() override;
|
||||
private:
|
||||
ElementEditionCommand(const ElementEditionCommand &);
|
||||
@@ -259,7 +264,12 @@ class ScalePartsCommand : public ElementEditionCommand {
|
||||
|
||||
class ChangePropertiesCommand : public ElementEditionCommand {
|
||||
public:
|
||||
ChangePropertiesCommand (ElementScene *scene, const QString& type, const DiagramContext& info, const DiagramContext& elmt_info, QUndoCommand *parent=nullptr);
|
||||
ChangePropertiesCommand (
|
||||
ElementScene *scene,
|
||||
const QString& type,
|
||||
const DiagramContext& info,
|
||||
const DiagramContext& elmt_info,
|
||||
QUndoCommand *parent=nullptr);
|
||||
~ChangePropertiesCommand () override;
|
||||
|
||||
void undo() override;
|
||||
|
||||
Reference in New Issue
Block a user