1
/***************************************************************************
6
copyright : (C) 2008 by gruntster
7
***************************************************************************/
9
/***************************************************************************
11
* This program is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU General Public License as published by *
13
* the Free Software Foundation; either version 2 of the License, or *
14
* (at your option) any later version. *
16
***************************************************************************/
18
#ifndef EqualiserPath_H
19
#define EqualiserPath_H
21
#include <QtGui/QMouseEvent>
22
#include <QtGui/QPainter>
24
#include "ADM_toolkit/T_gridFrame.h"
26
class EqualiserPath : public GridFrame
31
EqualiserPath(QWidget *parent, int points[]);
33
void paint(QPainter *);
34
void mousePressEvent(QMouseEvent *event);
35
void mouseMoveEvent(QMouseEvent *event);
36
void mouseReleaseEvent(QMouseEvent *event);
37
void updatePoint(int pointIndex, int value);
38
void resetPoints(int points[]);
41
void pointChanged(int pointIndex, int value);
47
QVector<QPointF> _points;