summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dgedit/Makefile.am6
-rw-r--r--dgedit/volumefader.cc7
2 files changed, 10 insertions, 3 deletions
diff --git a/dgedit/Makefile.am b/dgedit/Makefile.am
index 58073db..85253a4 100644
--- a/dgedit/Makefile.am
+++ b/dgedit/Makefile.am
@@ -25,7 +25,8 @@ dgedit_SOURCES = \
mipmap.cc \
player.cc \
samplesorter.cc \
- selection.cc
+ selection.cc \
+ volumefader.cc
EXTRA_DIST = \
audioextractor.h \
@@ -41,6 +42,7 @@ EXTRA_DIST = \
player.h \
samplesorter.h \
selection.h \
+ volumefader.h \
dgedit.qrc
dgedit_MOC = $(shell ../tools/MocList cc )
@@ -67,4 +69,4 @@ qrc_%.cc: %.qrc
%.res: %.rc
rc $<
-endif \ No newline at end of file
+endif
diff --git a/dgedit/volumefader.cc b/dgedit/volumefader.cc
index 231feba..9a153a6 100644
--- a/dgedit/volumefader.cc
+++ b/dgedit/volumefader.cc
@@ -26,9 +26,14 @@
*/
#include "volumefader.h"
+#include <QSlider>
+#include <QVBoxLayout>
+
VolumeFader::VolumeFader()
{
-
+ QVBoxLayout* lo = new QVBoxLayout();
+ lo->addWidget(new QSlider());
+ setLayout(lo);
}
VolumeFader::~VolumeFader()