Workspace 6.21.5
Public Member Functions | List of all members
ResizeWorkspace Class Reference

Command class for automatically resizing the workspace view to its contents. More...

#include <Workspace/Presentation/UndoCommands/resizeworkspace.h>

Inheritance diagram for ResizeWorkspace:
[legend]

Public Member Functions

 ResizeWorkspace (WorkspaceView &wsView, const QPoint &delta, const QSize &newSize)
 
int id () const override
 
bool mergeWith (const QUndoCommand *other) override
 
void redo () override
 
void undo () override
 

Detailed Description

Constructor & Destructor Documentation

◆ ResizeWorkspace()

ResizeWorkspace ( WorkspaceView wsView,
const QPoint &  delta,
const QSize &  newSize 
)

Member Function Documentation

◆ id()

int id ( ) const
override

◆ mergeWith()

bool mergeWith ( const QUndoCommand other)
override

◆ redo()

void redo ( )
override

◆ undo()

void undo ( )
override