diff options
Diffstat (limited to 'dgedit/mainwindow.h')
-rw-r--r-- | dgedit/mainwindow.h | 9 |
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__*/ |