summaryrefslogtreecommitdiff
path: root/muse2/muse/patchbay
diff options
context:
space:
mode:
authorRobert Jonsson <spamatica@gmail.com>2010-10-13 19:34:22 +0000
committerRobert Jonsson <spamatica@gmail.com>2010-10-13 19:34:22 +0000
commit8a2c2824a59d7644e13bc52c9a0ecbd641f21f95 (patch)
tree064ad3f2bf8daab0ad27b128abd86a9bbdb1e496 /muse2/muse/patchbay
parenta27706d9629e8b592cca4659f865b70adef24e6d (diff)
new branch muse2, first checkin
Diffstat (limited to 'muse2/muse/patchbay')
-rw-r--r--muse2/muse/patchbay/Makefile.am9
-rw-r--r--muse2/muse/patchbay/patchbay.cpp10
-rw-r--r--muse2/muse/patchbay/patchbay.h16
-rw-r--r--muse2/muse/patchbay/patchbaybase.ui36
4 files changed, 71 insertions, 0 deletions
diff --git a/muse2/muse/patchbay/Makefile.am b/muse2/muse/patchbay/Makefile.am
new file mode 100644
index 00000000..7588de85
--- /dev/null
+++ b/muse2/muse/patchbay/Makefile.am
@@ -0,0 +1,9 @@
+include $(top_srcdir)/common.am
+
+noinst_LTLIBRARIES = libpatchbay.la
+
+dist_libpatchbay_la_SOURCES = \
+ patchbay.cpp patchbay.h
+
+nodist_libpatchbay_la_SOURCES = \
+ moc_patchbay.cpp
diff --git a/muse2/muse/patchbay/patchbay.cpp b/muse2/muse/patchbay/patchbay.cpp
new file mode 100644
index 00000000..a03804e5
--- /dev/null
+++ b/muse2/muse/patchbay/patchbay.cpp
@@ -0,0 +1,10 @@
+#include "patchbay.h"
+
+PatchBay::PatchBay (void) {
+ _patchbay = new PatchBayBase (this, "patchbay");
+ setCaption(tr("MusE: ALSA MIDI Patch Bay"));
+}
+
+PatchBay::~PatchBay (void) {
+ if (_patchbay) delete _patchbay;
+}
diff --git a/muse2/muse/patchbay/patchbay.h b/muse2/muse/patchbay/patchbay.h
new file mode 100644
index 00000000..14f51a82
--- /dev/null
+++ b/muse2/muse/patchbay/patchbay.h
@@ -0,0 +1,16 @@
+#ifndef __MUSE_PATCHBAY_H__
+#define __MUSE_PATCHBAY_H__
+
+#include "cobject.h"
+#include "patchbaybase.h"
+
+class PatchBay : public TopWin {
+ Q_OBJECT
+ PatchBayBase * _patchbay;
+
+public:
+ PatchBay (void);
+ ~PatchBay (void);
+};
+
+#endif /* __MUSE_PATCHBAY_H__ */ \ No newline at end of file
diff --git a/muse2/muse/patchbay/patchbaybase.ui b/muse2/muse/patchbay/patchbaybase.ui
new file mode 100644
index 00000000..7138982f
--- /dev/null
+++ b/muse2/muse/patchbay/patchbaybase.ui
@@ -0,0 +1,36 @@
+<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
+<class>PatchBayBase</class>
+<widget class="QDialog">
+ <property name="name">
+ <cstring>PatchBayBase</cstring>
+ </property>
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>401</width>
+ <height>315</height>
+ </rect>
+ </property>
+ <property name="caption">
+ <string>ALSA Patch Bay</string>
+ </property>
+ <widget class="QGroupBox">
+ <property name="name">
+ <cstring>alsaPatchbay</cstring>
+ </property>
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>400</width>
+ <height>315</height>
+ </rect>
+ </property>
+ <property name="title">
+ <string>ALSA Patch Bay</string>
+ </property>
+ </widget>
+</widget>
+<layoutdefaults spacing="6" margin="11"/>
+</UI>