~ubuntu-branches/ubuntu/quantal/muse/quantal

« back to all changes in this revision

Viewing changes to muse/mixer/mstrip.h

  • Committer: Bazaar Package Importer
  • Author(s): Alessio Treglia
  • Date: 2011-08-12 11:16:41 UTC
  • mto: (1.1.9) (10.1.6 sid)
  • mto: This revision was merged to the branch mainline in revision 26.
  • Revision ID: james.westby@ubuntu.com-20110812111641-72iatqb9jomjejko
ImportĀ upstreamĀ versionĀ 2.0~beta2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
//=========================================================
2
2
//  MusE
3
3
//  Linux Music Editor
4
 
//  $Id: mstrip.h,v 1.4 2004/05/06 15:08:07 wschweer Exp $
 
4
//  $Id: mstrip.h,v 1.4.2.4 2009/10/25 19:26:29 lunar_shuttle Exp $
5
5
//
6
6
//  (C) Copyright 2000-2004 Werner Schweer (ws@seh.de)
7
7
//=========================================================
10
10
#define __MSTRIP_H__
11
11
 
12
12
#include "strip.h"
 
13
#include <QLabel>
13
14
 
14
15
class Slider;
15
16
class DoubleLabel;
18
19
class QString;
19
20
class MidiTrack;
20
21
class QLabel;
 
22
class QAction;
 
23
class TransparentToolButton;
21
24
 
22
25
//---------------------------------------------------------
23
26
//   MidiStrip
28
31
 
29
32
      Slider* slider;
30
33
      DoubleLabel* sl;
31
 
      QToolButton* route;
 
34
      TransparentToolButton* off;
 
35
      //QToolButton* route;
 
36
      //QToolButton* iR;
 
37
      //QToolButton* oR;
32
38
 
33
39
      struct KNOB {
34
40
            Knob* knob;
45
51
 
46
52
      void addKnob(int idx, const QString&, const QString&, const char*, bool);
47
53
      void ctrlChanged(int num, int val);
48
 
 
 
54
      void updateControls();
 
55
      void updateOffState();
 
56
   
49
57
   private slots:
50
 
      void routeClicked();
 
58
      //void routeClicked();
 
59
      void offToggled(bool);
 
60
      void iRoutePressed();
 
61
      void oRoutePressed();
 
62
      void routingPopupMenuActivated(QAction*);
51
63
      void setVolume(double);
52
64
      void setPan(double);
53
65
      void setChorusSend(double);
54
66
      void setVariSend(double);
55
67
      void setReverbSend(double);
 
68
      void labelDoubleClicked(int);
 
69
      void volLabelChanged(double);
 
70
      void controlRightClicked(const QPoint&, int);
56
71
 
57
72
   protected slots:
58
73
      virtual void heartBeat();