From 303d96a530c97e0db8395534b56b70faa959736b Mon Sep 17 00:00:00 2001 From: Jonas Suhr Christensen Date: Tue, 15 Apr 2014 16:00:44 +0200 Subject: Added volumefader.{cc,h}. --- dgedit/Makefile.am | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'dgedit') 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 -- cgit v1.2.3 From e0351b94bccc1d3f0abf66803d7dc14c76794ab3 Mon Sep 17 00:00:00 2001 From: Jonas Suhr Christensen Date: Tue, 15 Apr 2014 16:02:58 +0200 Subject: Added dummy QSlider. --- dgedit/volumefader.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'dgedit') 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 +#include + VolumeFader::VolumeFader() { - + QVBoxLayout* lo = new QVBoxLayout(); + lo->addWidget(new QSlider()); + setLayout(lo); } VolumeFader::~VolumeFader() -- cgit v1.2.3