added LADSPA browser, fixed automatable sliders, workspace improvements

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@608 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Javier Serrano Polo
2007-11-23 00:05:25 +00:00
parent f9beb66e4e
commit c13853a9b3
194 changed files with 510 additions and 1082 deletions

View File

@@ -40,9 +40,8 @@ class mixer;
class pianoRoll;
class projectNotes;
class songEditor;
#ifdef LADSPA_SUPPORT
class ladspa2LMMS;
#endif
class engine
{
@@ -95,12 +94,10 @@ public:
return( s_automationEditor );
}
#ifdef LADSPA_SUPPORT
static ladspa2LMMS * getLADSPAManager( void )
{
return( s_ladspaManager );
}
#endif
static float framesPerTact64th( void )
{
@@ -126,10 +123,7 @@ private:
static pianoRoll * s_pianoRoll;
static projectNotes * s_projectNotes;
static projectJournal * s_projectJournal;
#ifdef LADSPA_SUPPORT
static ladspa2LMMS * s_ladspaManager;
#endif
static QMap<QString, QString> s_sample_extensions;

View File

@@ -1,79 +0,0 @@
#if 0
/*
* ladspa_browser.h - dialog to display information about installed LADSPA
* plugins
*
* Copyright (c) 2006 Danny McRae <khjklujn/at/users.sourceforge.net>
*
* This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public
* License along with this program (see COPYING); if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA.
*
*/
#ifndef _LADSPA_BROWSER_H
#define _LADSPA_BROWSER_H
#include "ladspa_manager.h"
#ifdef LADSPA_SUPPORT
#include "qt3support.h"
#ifdef QT4
#include <QtGui/QDialog>
#else
#include <qdialog.h>
#endif
#include "engine.h"
class QComboBox;
class QLabel;
class QLineEdit;
class QSlider;
class tabBar;
class ladspaBrowser : public QDialog, public engineObject
{
Q_OBJECT
public:
ladspaBrowser( engine * _engine );
virtual ~ladspaBrowser();
inline void labelWidget( QWidget * _w, const QString & _txt );
public slots:
void showPorts( const ladspa_key_t & _key );
void displayHelp( void );
private:
tabBar * m_tabBar;
} ;
#endif
#endif
#endif

View File

@@ -1,47 +0,0 @@
/*
* ladspa_port_dialog.h - dialog to test a LADSPA plugin
*
* Copyright (c) 2006-2007 Danny McRae <khjklujn/at/users.sourceforge.net>
*
* This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public
* License along with this program (see COPYING); if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA.
*
*/
#ifndef _LADSPA_PORT_DIALOG_H
#define _LADSPA_PORT_DIALOG_H
#include <QtGui/QDialog>
#include "ladspa_2_lmms.h"
class ladspaPortDialog : public QDialog
{
Q_OBJECT
public:
ladspaPortDialog( const ladspa_key_t & _key );
virtual ~ladspaPortDialog();
private:
ladspa_key_t m_key;
ladspa2LMMS * m_ladspa;
};
#endif

View File

@@ -54,12 +54,6 @@ public:
return( m_scrollArea );
}
#warning centralWidget is obsolete
QWidget * centralWidget( void ) const
{
return( (QWidget *) this );
}
virtual void FASTCALL saveSettings( QDomDocument & _doc,
QDomElement & _parent );