summaryrefslogtreecommitdiff
path: root/dgedit/mainwindow.h
diff options
context:
space:
mode:
authordeva <deva>2009-11-24 20:03:31 +0000
committerdeva <deva>2009-11-24 20:03:31 +0000
commitdf80c1f82140e57965f38d0a50ad2a843cf60ff5 (patch)
tree915aefe4c77cdc4374c09364d9e91fbdfbd4b8ac /dgedit/mainwindow.h
parent366701768b4e7e31e3d96071700783a49bcbd078 (diff)
Initial attempt on some GUI layout...
Diffstat (limited to 'dgedit/mainwindow.h')
-rw-r--r--dgedit/mainwindow.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/dgedit/mainwindow.h b/dgedit/mainwindow.h
index af17970..246a40f 100644
--- a/dgedit/mainwindow.h
+++ b/dgedit/mainwindow.h
@@ -27,23 +27,27 @@
#ifndef __DRUMGIZMO_MAINWINDOW_H__
#define __DRUMGIZMO_MAINWINDOW_H__
-#include <QWidget>
+#include <QMainWindow>
#include <QScrollBar>
+#include <QListWidget>
#include "canvas.h"
#include "audioextractor.h"
-class MainWindow : public QWidget {
+class MainWindow : public QMainWindow {
Q_OBJECT
public:
MainWindow();
+ void addFile(QString file, QString name);
+
public slots:
void setXScale(int);
void setYScale(int);
void setXOffset(int);
void setYOffset(int);
void doExport();
+ void loadFile();
private:
Canvas *canvas;
@@ -52,6 +56,7 @@ private:
QScrollBar *yscale;
QScrollBar *xscale;
QScrollBar *xoffset;
+ QListWidget *filelist;
};
#endif/*__DRUMGIZMO_MAINWINDOW_H__*/