diff options
author | Robert Jonsson <spamatica@gmail.com> | 2011-09-15 12:14:55 +0000 |
---|---|---|
committer | Robert Jonsson <spamatica@gmail.com> | 2011-09-15 12:14:55 +0000 |
commit | b0546e5e7f7044019892543c6c82029db8d564a7 (patch) | |
tree | 1b96a6260900f3fbf3513fb48a5a72aa89052dc8 /attic/muse_qt4_evolution/midiplugins/trigg/trigggui.cpp | |
parent | 583c73d1a07154d3d2672d65d8cce6495f490454 (diff) |
moved attic to a branch of it's own
Diffstat (limited to 'attic/muse_qt4_evolution/midiplugins/trigg/trigggui.cpp')
-rw-r--r-- | attic/muse_qt4_evolution/midiplugins/trigg/trigggui.cpp | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/attic/muse_qt4_evolution/midiplugins/trigg/trigggui.cpp b/attic/muse_qt4_evolution/midiplugins/trigg/trigggui.cpp deleted file mode 100644 index 0fd3c4c6..00000000 --- a/attic/muse_qt4_evolution/midiplugins/trigg/trigggui.cpp +++ /dev/null @@ -1,56 +0,0 @@ -//========================================================= -// MusE -// Linux Music Editor -// $Id: filtergui.cpp,v 1.4 2005/11/06 17:49:34 wschweer Exp $ -// -// (C) Copyright 2005 Werner Schweer (ws@seh.de) -//========================================================= - -#include "trigggui.h" -#include "trigg.h" - -//--------------------------------------------------------- -// MidiTriggConfig -//--------------------------------------------------------- - -TriggGui::TriggGui(Trigg* f, QWidget* parent) - : QDialog(parent) - { - setupUi(this); - filter = f; - - connect(noteEntry, SIGNAL(valueChanged(int)), SLOT(setNote(int))); - connect(velocityEntry, SIGNAL(valueChanged(int)), SLOT(setVelocity(int))); - } - -//--------------------------------------------------------- -// init -//--------------------------------------------------------- -void TriggGui::init() - { - Trigg::initData *data; - int n; - filter->getInitData(&n,(const unsigned char **)&data); - printf("::init note=%d vel=%d\n",data->note,data->velocity); - noteEntry->setValue(data->note); - velocityEntry->setValue(data->velocity); - } - -//--------------------------------------------------------- -// setNote -//--------------------------------------------------------- -void TriggGui::setNote(int value) - { - printf("TriggGui::setNote %d\n",value); - filter->setNote(value); - } - -//--------------------------------------------------------- -// setVelocity -//--------------------------------------------------------- -void TriggGui::setVelocity(int value) - { - printf("TriggGui::setVelocity %d\n",value); - filter->setVelocity(value); - } - |