~ubuntu-branches/ubuntu/wily/muse/wily-proposed

« back to all changes in this revision

Viewing changes to muse/arranger/trackautomationview.h

  • Committer: Package Import Robot
  • Author(s): Alessio Treglia
  • Date: 2011-12-03 17:12:54 UTC
  • mfrom: (1.1.8)
  • Revision ID: package-import@ubuntu.com-20111203171254-28b1j4lpb46r5jtl
Tags: 2.0~rc1-1
* New upstream RC release.
* Refresh patches, remove those patches not needed anymore.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//=========================================================
 
2
//  MusE
 
3
//  Linux Music Editor
 
4
//  $Id: ./muse/arranger/trackautomationview.h $
 
5
//
 
6
//  Copyright (C) 1999-2011 by Werner Schweer and others
 
7
//
 
8
//  This program is free software; you can redistribute it and/or
 
9
//  modify it under the terms of the GNU General Public License
 
10
//  as published by the Free Software Foundation; version 2 of
 
11
//  the License, or (at your option) any later version.
 
12
//
 
13
//  This program is distributed in the hope that it will be useful,
 
14
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
15
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
16
//  GNU General Public License for more details.
 
17
//
 
18
//  You should have received a copy of the GNU General Public License
 
19
//  along with this program; if not, write to the Free Software
 
20
//  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
21
//
 
22
//=========================================================
1
23
#ifndef TRACKAUTOMATIONVIEW_H
2
24
#define TRACKAUTOMATIONVIEW_H
3
25
 
6
28
 
7
29
#include "track.h"
8
30
 
 
31
namespace MusEGui { 
 
32
 
9
33
class TrackAutomationView : public QWidget
10
34
{
11
 
    Track *_t;
12
 
    void paintEvent(QPaintEvent *e);
 
35
    MusECore::Track *_t;
 
36
    virtual void paintEvent(QPaintEvent *e);
13
37
    std::map<int,int> automationList;
14
38
public:
15
 
    TrackAutomationView(QWidget *parent, Track *t);
16
 
    Track *track() { return _t; }
 
39
    TrackAutomationView(QWidget *parent, MusECore::Track *t);
 
40
    MusECore::Track *track() { return _t; }
17
41
    void collectAutomationData();
18
42
};
19
43
 
 
44
} // namespace MusEGui
 
45
 
20
46
#endif // TRACKAUTOMATIONVIEW_H