aboutsummaryrefslogtreecommitdiffhomepage
path: root/debugger/QT/SkDebuggerGUI.h
diff options
context:
space:
mode:
Diffstat (limited to 'debugger/QT/SkDebuggerGUI.h')
-rw-r--r--debugger/QT/SkDebuggerGUI.h19
1 files changed, 18 insertions, 1 deletions
diff --git a/debugger/QT/SkDebuggerGUI.h b/debugger/QT/SkDebuggerGUI.h
index fcbf3b7855..3e4d319c71 100644
--- a/debugger/QT/SkDebuggerGUI.h
+++ b/debugger/QT/SkDebuggerGUI.h
@@ -117,6 +117,16 @@ private slots:
void actionRewind();
/**
+ Saves the current SKP with all modifications.
+ */
+ void actionSave();
+
+ /**
+ Saves the current SKP under a different name and/or location.
+ */
+ void actionSaveAs();
+
+ /**
Sends the scale factor information to the settings widget.
*/
void actionScale(float scaleFactor);
@@ -199,6 +209,8 @@ private:
QAction fActionPlay;
QAction fActionPause;
QAction fActionRewind;
+ QAction fActionSave;
+ QAction fActionSaveAs;
QAction fActionShowDeletes;
QAction fActionStepBack;
QAction fActionStepForward;
@@ -206,7 +218,7 @@ private:
QAction fActionZoomOut;
QSignalMapper fMapper;
QWidget fCentralWidget;
-
+ QWidget fSpacer;
QComboBox fFilter;
QVBoxLayout fLeftColumnLayout;
@@ -251,6 +263,11 @@ private:
void loadPicture(QString fileName);
/**
+ Creates a picture of the current canvas.
+ */
+ void saveToFile(QString filename);
+
+ /**
Populates the list widget with the vector of strings passed in.
*/
void setupListWidget(std::vector<std::string>* cv);