aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/mdbviz/mainwindow.h
diff options
context:
space:
mode:
authorGravatar Robert Phillips <robertphillips@google.com>2017-09-06 13:07:21 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-09-06 20:46:01 +0000
commitdeaf568e07f0b63c84c5909f14e2b7261b1653ae (patch)
tree6c4e8023f34d2019772c22edff65fe9afb45949b /tools/mdbviz/mainwindow.h
parent2880421c724e7b45ed13b784a36aa81a09fe62e5 (diff)
Solidify Model/View split
Change-Id: Iecf034feaa009002b5f09c47052c915d22aec0e4 Reviewed-on: https://skia-review.googlesource.com/43040 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'tools/mdbviz/mainwindow.h')
-rw-r--r--tools/mdbviz/mainwindow.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/mdbviz/mainwindow.h b/tools/mdbviz/mainwindow.h
index 80c86b0471..59e7b98c38 100644
--- a/tools/mdbviz/mainwindow.h
+++ b/tools/mdbviz/mainwindow.h
@@ -11,7 +11,7 @@
#include <memory>
#include <QMainWindow>
-#include "SkDebugCanvas.h"
+#include "Model.h"
class QLabel;
class QListWidget;
@@ -27,10 +27,13 @@ public:
private slots:
void openFile();
void about();
+ void onCurrentRowChanged(int currentRow);
private:
void loadFile(const QString &fileName);
void setupOpListWidget();
+ void presentCurrentRenderState();
+
void createActions();
void createStatusBar();
@@ -46,7 +49,7 @@ private:
QMenu* fViewMenu;
- std::unique_ptr<SkDebugCanvas> fDebugCanvas;
+ Model fModel;
};
#endif