mirror of
https://github.com/LMMS/lmms.git
synced 2026-02-03 03:03:23 -05:00
The translation of the instrument plugins description does not work in Instruments pluginBrowser Translation of the effect plugins description not showing in effects selector Replace tabs with spaces in the fix indentation (as Tres request) More French translations added Remove the call to tr() inside the macro makeknob (DualFilterControlDialog.cpp) and tr() the strings before calling makeknob Fix DualFilter description (was labeled as "A native amplifier plugin") (DualFilter.cpp) Add French translation for the Dual filter knobs. Move tr() out of macro's so lupdate find them for translation (extract litterals in "ts" file). Full French translation of Monstro :-) Make NES translatable (some tr() missing) Remove tr() from macros (litterals not extracted by lupdate Translate NES to French Translate Watsyn Synth as others Missing Q_OBJECT in DelayControlsDialog definition prevents its translation Translate Delay plugin to French Make EqControlsDialog translatable Fix selected-note volume bug Closes #2070 Fix a typo in French translation. Add EqControlsDialog.h to the MOCFILES list in Eq CMakeLists.txt Remove definition of slot updateVuMeters() in EqControlsDialog.h which is not implemented
92 lines
2.4 KiB
C++
92 lines
2.4 KiB
C++
/*
|
|
* eqcontrolsdialog.h - defination of EqControlsDialog class.
|
|
*
|
|
* Copyright (c) 2014 David French <dave/dot/french3/at/googlemail/dot/com>
|
|
*
|
|
* This file is part of LMMS - http://lmms.io
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2 of the License, or (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public
|
|
* License along with this program (see COPYING); if not, write to the
|
|
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
|
* Boston, MA 02110-1301 USA.
|
|
*
|
|
*/
|
|
|
|
#ifndef EQCONTROLSDIALOG_H
|
|
#define EQCONTROLSDIALOG_H
|
|
|
|
#include "EffectControlDialog.h"
|
|
#include "Fader.h"
|
|
#include "Knob.h"
|
|
#include "LedCheckbox.h"
|
|
#include "EqParameterWidget.h"
|
|
#include "MainWindow.h"
|
|
#include "qpushbutton.h"
|
|
#include "EqSpectrumView.h"
|
|
|
|
|
|
class EqControls;
|
|
|
|
class EqControlsDialog : public EffectControlDialog
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
EqControlsDialog( EqControls* controls );
|
|
virtual ~EqControlsDialog()
|
|
{
|
|
}
|
|
|
|
EqBand * setBand(EqControls *controls);
|
|
|
|
private:
|
|
EqControls * m_controls;
|
|
|
|
Fader* m_inGainFader;
|
|
Fader* m_outGainFader;
|
|
Fader* m_gainFader;
|
|
Knob* m_resKnob;
|
|
Knob* m_freqKnob;
|
|
LedCheckBox* m_activeBox;
|
|
LedCheckBox* m_lp12Box;
|
|
LedCheckBox* m_lp24Box;
|
|
LedCheckBox* m_lp48Box;
|
|
LedCheckBox* m_hp12Box;
|
|
LedCheckBox* m_hp24Box;
|
|
LedCheckBox* m_hp48Box;
|
|
LedCheckBox* m_analyzeBox;
|
|
EqParameterWidget* m_parameterWidget;
|
|
EqSpectrumView* m_inSpec;
|
|
EqSpectrumView* m_outSpec;
|
|
|
|
virtual void mouseDoubleClickEvent(QMouseEvent *event);
|
|
|
|
EqBand* setBand( int index, BoolModel* active, FloatModel* freq, FloatModel* res, FloatModel* gain, QColor color, QString name, float* peakL, float* peakR)
|
|
{
|
|
EqBand* filterModels = m_parameterWidget->getBandModels( index );
|
|
filterModels->active = active;
|
|
filterModels->freq = freq;
|
|
filterModels->res = res;
|
|
filterModels->color = color;
|
|
filterModels->gain = gain;
|
|
filterModels->peakL = peakL;
|
|
filterModels->peakR = peakR;
|
|
return filterModels;
|
|
}
|
|
|
|
int m_originalHeight;
|
|
};
|
|
|
|
|
|
|
|
#endif // EQCONTROLSDIALOG_H
|