summaryrefslogtreecommitdiff
path: root/dgedit/mainwindow.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2014-04-16 11:23:46 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2014-04-16 11:23:46 +0200
commiteb013918c17ac19b21845ded977aeee26bdf8275 (patch)
tree23b25c4184b7c4a5cc7b8780fa6c7370121c8afa /dgedit/mainwindow.h
parentdf08f18af0162104e8192241aa380aef21193ddb (diff)
New tabbed workflow with 'auto' preview functionality.
Diffstat (limited to 'dgedit/mainwindow.h')
-rw-r--r--dgedit/mainwindow.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/dgedit/mainwindow.h b/dgedit/mainwindow.h
index cd13132..620c116 100644
--- a/dgedit/mainwindow.h
+++ b/dgedit/mainwindow.h
@@ -39,6 +39,7 @@
#include "samplesorter.h"
#include "filelist.h"
#include "canvastoolselections.h"
+#include "canvastoolthreshold.h"
#include "selection.h"
#include "player.h"
@@ -67,6 +68,7 @@ public slots:
void playSamples();
void setPreset(int);
void browse();
+ void tabChanged(int tabid);
protected:
void closeEvent(QCloseEvent*);
@@ -75,9 +77,17 @@ private:
void loadSettings();
void saveSettings();
+ QWidget *createFilesTab();
+ QWidget *createEditTab();
+ QWidget *createGenerateTab();
+ QWidget *createExportTab();
+
+ int generateTabId;
+
SampleSorter *sorter;
Canvas *canvas;
- CanvasToolSelections *selections;
+ CanvasToolSelections *tool_selections;
+ CanvasToolThreshold *threshold;
AudioExtractor *extractor;
FileList *filelist;
QScrollBar *yoffset;
@@ -97,7 +107,8 @@ private:
QLineEdit *lineed_exportp;
// Session state information:
- Selections session;
+ Selections selections;
+ Selections selections_preview;
Player player;
private slots: