summaryrefslogtreecommitdiff
path: root/muse2/muse/waveedit/editgain.h
blob: 9cbc1d794eae9989196bd03448d72d9d7d48fcad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//
// C++ Interface: editgain
//
// Description: 
//
//
// Author: Mathias Lundgren <lunar_shuttle@users.sf.net>, (C) 2005
//
// Copyright: See COPYING file that comes with this distribution
//
//

#ifndef EDITGAIN_H
#define EDITGAIN_H

#include "ui_editgainbase.h"

class QDialog;

class EditGain : public QDialog, public Ui::EditGainBase
{
      Q_OBJECT
public:
    EditGain(QWidget* parent = 0, int initGainValue=100);

    ~EditGain();
    int getGain();

private:
    int gain;

private slots:
    void resetPressed();
    void applyPressed();
    void cancelPressed();
    void gainChanged(int value);
};

#endif