From 4787071752253fddb88718a174496af3128d0342 Mon Sep 17 00:00:00 2001 From: Paul Giblock Date: Tue, 8 Apr 2008 08:35:26 +0000 Subject: [PATCH] Added missing file git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@904 0778d3d1-df1d-0410-868b-ea421aaaa00d --- ChangeLog | 1 + include/controller_dialog.h | 62 +++++++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 include/controller_dialog.h diff --git a/ChangeLog b/ChangeLog index a41fdedd9..7aca462e8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,6 +6,7 @@ own MDISubWindow very long.. * include/controller.h: + * include/controller_dialog.h: * src/gui/widgets/knob.cpp: * src/core/controller.cpp: add gui accesssor and split off LFO diff --git a/include/controller_dialog.h b/include/controller_dialog.h new file mode 100644 index 000000000..6ac831a34 --- /dev/null +++ b/include/controller_dialog.h @@ -0,0 +1,62 @@ +/* + * controller_dialog.h - per-controller-specific view for changing a + * controller's settings + * + * Copyright (c) 2008 Paul Giblock + * + * 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 _CONTROLLER_DIALOG_H +#define _CONTROLLER_DIALOG_H + +#include + +#include "automatable_model.h" +#include "controller.h" +#include "mv_base.h" + +class controllerDialog : public QWidget, public modelView +{ +public: + controllerDialog( controller * _controller, QWidget * _parent ) : + modelView( _controller ), + QWidget( _parent ) + {}; + + virtual ~controllerDialog() {}; + +public slots: + //void editControls( void ); + //void deletePlugin( void ); + //void displayHelp( void ); + //void closeEffects( void ); + + +signals: + + +protected: + virtual void contextMenuEvent( QContextMenuEvent * _me ) {}; + virtual void paintEvent( QPaintEvent * _pe ) {}; + virtual void modelChanged( void ) {}; + +} ; + +#endif