Engauge Digitizer 2
Loading...
Searching...
No Matches
Public Member Functions | List of all members
FileCmdScript Class Reference

File that manages a command stack for regression testing of file import/open/export/close. More...

#include <FileCmdScript.h>

Public Member Functions

 FileCmdScript (const QString &fileCmdScriptFile)
 Single constructor.
 
bool canRedo () const
 Returns true if there is at least one command on the stack.
 
void redo (MainWindow &mainWindow)
 Apply the next command. Requires non-empty stack.
 

Detailed Description

File that manages a command stack for regression testing of file import/open/export/close.

This command stack (with a lifetime the same as the application's) is independent of the command stack in CmdMediator (which is Document-specific)

Definition at line 20 of file FileCmdScript.h.

Constructor & Destructor Documentation

◆ FileCmdScript()

FileCmdScript::FileCmdScript ( const QString &  fileCmdScriptFile)

Single constructor.

Definition at line 17 of file FileCmdScript.cpp.

◆ ~FileCmdScript()

FileCmdScript::~FileCmdScript ( )

Definition at line 39 of file FileCmdScript.cpp.

Member Function Documentation

◆ canRedo()

bool FileCmdScript::canRedo ( ) const

Returns true if there is at least one command on the stack.

Definition at line 43 of file FileCmdScript.cpp.

◆ redo()

void FileCmdScript::redo ( MainWindow mainWindow)

Apply the next command. Requires non-empty stack.

Definition at line 50 of file FileCmdScript.cpp.


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