//=========================================================
//  MusE
//  Linux Music Editor
//    $Id: ctrlpanel.h,v 1.1.1.1 2003/10/29 10:05:21 wschweer Exp $
//  (C) Copyright 1999-2001 Werner Schweer (ws@seh.de)
//=========================================================

#ifndef __CTRL_PANEL_H__
#define __CTRL_PANEL_H__

#include <qwidget.h>
#include "midictrl.h"

class QLabel;
class QPopupMenu;
class QPushButton;
class MidiEditor;

//---------------------------------------------------------
//   CtrlPanel
//---------------------------------------------------------

class CtrlPanel: public QWidget {
      QPopupMenu* pop;
      QPushButton* selCtrl;
      MidiEditor* editor;

      Q_OBJECT

   signals:
      void destroyPanel();
      void controllerChanged(const MidiController&);

   public slots:
      void setHeight(int);
      void ctrlPopup();

   public:
      CtrlPanel(QWidget*, MidiEditor*, const char* name = 0);
      };

#endif
