Undo and Redo command

This commit is contained in:
T'JAMPENS QUENTIN p2406187
2025-06-19 19:29:12 +02:00
parent 57d77cf7cf
commit 0cd4f95865
4 changed files with 60 additions and 3 deletions
+3 -1
View File
@@ -2,7 +2,7 @@
#define MAINWINDOW_H
#include <QMainWindow>
#include <QUndoStack>
#include "path.h"
QT_BEGIN_NAMESPACE
@@ -35,6 +35,7 @@ private slots:
void on_actionopenFile_triggered();
private:
Ui::MainWindow *ui;
QString currentFile;
@@ -42,5 +43,6 @@ private:
QList<Path*> path;
Path* currentPath;
void loadImage(QString fileName);
QUndoStack *undoStack;
};
#endif // MAINWINDOW_H