aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/mdbviz/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/mdbviz/mainwindow.h')
-rw-r--r--tools/mdbviz/mainwindow.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/mdbviz/mainwindow.h b/tools/mdbviz/mainwindow.h
index 9aa9fcfda1..80c86b0471 100644
--- a/tools/mdbviz/mainwindow.h
+++ b/tools/mdbviz/mainwindow.h
@@ -8,9 +8,15 @@
#ifndef MainWindow_DEFINED
#define MainWindow_DEFINED
+#include <memory>
#include <QMainWindow>
+#include "SkDebugCanvas.h"
+
class QLabel;
+class QListWidget;
+class QMenu;
+
class MainWindow : public QMainWindow {
Q_OBJECT
@@ -20,17 +26,27 @@ public:
private slots:
void openFile();
+ void about();
private:
void loadFile(const QString &fileName);
+ void setupOpListWidget();
void createActions();
void createStatusBar();
+ void createDockWindows();
+
void readSettings();
void writeSettings();
QImage fImage;
QLabel* fImageLabel;
+
+ QListWidget* fOpListWidget;
+
+ QMenu* fViewMenu;
+
+ std::unique_ptr<SkDebugCanvas> fDebugCanvas;
};
#endif