Rename InstrumentView250 to InstrumentViewFixedSize

This commit is contained in:
Johannes Lorenz
2019-07-17 22:20:25 +02:00
parent a4df7a9765
commit aa8f9361c6
47 changed files with 50 additions and 50 deletions

View File

@@ -68,7 +68,7 @@ public:
virtual PluginView * instantiateView( QWidget * _parent )
{
return new InstrumentView250( this, _parent );
return new InstrumentViewFixedSize( this, _parent );
}
} ;

View File

@@ -59,14 +59,14 @@ public:
//! Instrument view with fixed LMMS-default size
class LMMS_EXPORT InstrumentView250 : public InstrumentView
class LMMS_EXPORT InstrumentViewFixedSize : public InstrumentView
{
QSize sizeHint() const override { return QSize(250, 250); }
QSize minimumSizeHint() const override { return sizeHint(); }
public:
using InstrumentView::InstrumentView;
~InstrumentView250() override;
~InstrumentViewFixedSize() override;
} ;

View File

@@ -457,7 +457,7 @@ public:
FreeBoyInstrumentView::FreeBoyInstrumentView( Instrument * _instrument,
QWidget * _parent ) :
InstrumentView250( _instrument, _parent )
InstrumentViewFixedSize( _instrument, _parent )
{
setAutoFillBackground( true );

View File

@@ -111,7 +111,7 @@ private:
} ;
class FreeBoyInstrumentView : public InstrumentView250
class FreeBoyInstrumentView : public InstrumentViewFixedSize
{
Q_OBJECT
public:

View File

@@ -922,7 +922,7 @@ public:
GigInstrumentView::GigInstrumentView( Instrument * _instrument, QWidget * _parent ) :
InstrumentView250( _instrument, _parent )
InstrumentViewFixedSize( _instrument, _parent )
{
GigInstrument * k = castModel<GigInstrument>();

View File

@@ -334,7 +334,7 @@ signals:
class GigInstrumentView : public InstrumentView250
class GigInstrumentView : public InstrumentViewFixedSize
{
Q_OBJECT
public:

View File

@@ -681,7 +681,7 @@ void OpulenzInstrument::loadFile( const QString& file ) {
OpulenzInstrumentView::OpulenzInstrumentView( Instrument * _instrument,
QWidget * _parent ) :
InstrumentView250( _instrument, _parent )
InstrumentViewFixedSize( _instrument, _parent )
{
#define KNOB_GEN(knobname, hinttext, hintunit,xpos,ypos) \

View File

@@ -142,7 +142,7 @@ private:
class OpulenzInstrumentView : public InstrumentView250
class OpulenzInstrumentView : public InstrumentViewFixedSize
{
Q_OBJECT
public:

View File

@@ -274,7 +274,7 @@ public:
XpressiveView::XpressiveView(Instrument * _instrument, QWidget * _parent) :
InstrumentView250(_instrument, _parent)
InstrumentViewFixedSize(_instrument, _parent)
{
const int COL_KNOBS = 194;

View File

@@ -139,7 +139,7 @@ private:
} ;
class XpressiveView : public InstrumentView250
class XpressiveView : public InstrumentViewFixedSize
{
Q_OBJECT
public:

View File

@@ -449,7 +449,7 @@ QPixmap * AudioFileProcessorView::s_artwork = NULL;
AudioFileProcessorView::AudioFileProcessorView( Instrument * _instrument,
QWidget * _parent ) :
InstrumentView250( _instrument, _parent )
InstrumentViewFixedSize( _instrument, _parent )
{
if( s_artwork == NULL )
{

View File

@@ -111,7 +111,7 @@ private:
class AudioFileProcessorWaveView;
class AudioFileProcessorView : public InstrumentView250
class AudioFileProcessorView : public InstrumentViewFixedSize
{
Q_OBJECT
public:

View File

@@ -327,7 +327,7 @@ PluginView * bitInvader::instantiateView( QWidget * _parent )
bitInvaderView::bitInvaderView( Instrument * _instrument,
QWidget * _parent ) :
InstrumentView250( _instrument, _parent )
InstrumentViewFixedSize( _instrument, _parent )
{
setAutoFillBackground( true );
QPalette pal;

View File

@@ -108,7 +108,7 @@ private:
class bitInvaderView : public InstrumentView250
class bitInvaderView : public InstrumentViewFixedSize
{
Q_OBJECT
public:

View File

@@ -460,7 +460,7 @@ void CarlaInstrument::sampleRateChanged()
// -------------------------------------------------------------------
CarlaInstrumentView::CarlaInstrumentView(CarlaInstrument* const instrument, QWidget* const parent)
: InstrumentView250(instrument, parent),
: InstrumentViewFixedSize(instrument, parent),
fHandle(instrument->fHandle),
fDescriptor(instrument->fDescriptor),
fTimerId(fHandle != NULL && fDescriptor->ui_idle != NULL ? startTimer(30) : 0)

View File

@@ -99,7 +99,7 @@ private:
friend class CarlaInstrumentView;
};
class CarlaInstrumentView : public InstrumentView250
class CarlaInstrumentView : public InstrumentViewFixedSize
{
Q_OBJECT

View File

@@ -267,7 +267,7 @@ public:
kickerInstrumentView::kickerInstrumentView( Instrument * _instrument,
QWidget * _parent ) :
InstrumentView250( _instrument, _parent )
InstrumentViewFixedSize( _instrument, _parent )
{
const int ROW1 = 14;
const int ROW2 = ROW1 + 56;

View File

@@ -94,7 +94,7 @@ private:
class kickerInstrumentView : public InstrumentView250
class kickerInstrumentView : public InstrumentViewFixedSize
{
Q_OBJECT
public:

View File

@@ -804,7 +804,7 @@ PluginView * lb302Synth::instantiateView( QWidget * _parent )
lb302SynthView::lb302SynthView( Instrument * _instrument, QWidget * _parent ) :
InstrumentView250( _instrument, _parent )
InstrumentViewFixedSize( _instrument, _parent )
{
// GUI
m_vcfCutKnob = new Knob( knobBright_26, this );

View File

@@ -256,7 +256,7 @@ private:
} ;
class lb302SynthView : public InstrumentView250
class lb302SynthView : public InstrumentViewFixedSize
{
Q_OBJECT
public:

View File

@@ -1448,7 +1448,7 @@ void MonstroInstrument::updateSlope2()
MonstroView::MonstroView( Instrument * _instrument,
QWidget * _parent ) :
InstrumentView250( _instrument, _parent )
InstrumentViewFixedSize( _instrument, _parent )
{
m_operatorsView = setupOperatorsView( this );
setWidgetBackground( m_operatorsView, "artwork_op" );

View File

@@ -569,7 +569,7 @@ private:
};
class MonstroView : public InstrumentView250
class MonstroView : public InstrumentViewFixedSize
{
Q_OBJECT
public:

View File

@@ -732,7 +732,7 @@ QPixmap * NesInstrumentView::s_artwork = NULL;
NesInstrumentView::NesInstrumentView( Instrument * instrument, QWidget * parent ) :
InstrumentView250( instrument, parent )
InstrumentViewFixedSize( instrument, parent )
{
setAutoFillBackground( true );
QPalette pal;

View File

@@ -294,7 +294,7 @@ private:
};
class NesInstrumentView : public InstrumentView250
class NesInstrumentView : public InstrumentViewFixedSize
{
Q_OBJECT
public:

View File

@@ -418,7 +418,7 @@ public:
organicInstrumentView::organicInstrumentView( Instrument * _instrument,
QWidget * _parent ) :
InstrumentView250( _instrument, _parent ),
InstrumentViewFixedSize( _instrument, _parent ),
m_oscKnobs( NULL )
{
organicInstrument * oi = castModel<organicInstrument>();

View File

@@ -173,7 +173,7 @@ private slots:
} ;
class organicInstrumentView : public InstrumentView250
class organicInstrumentView : public InstrumentViewFixedSize
{
Q_OBJECT
public:

View File

@@ -443,7 +443,7 @@ PluginView * patmanInstrument::instantiateView( QWidget * _parent )
PatmanView::PatmanView( Instrument * _instrument, QWidget * _parent ) :
InstrumentView250( _instrument, _parent ),
InstrumentViewFixedSize( _instrument, _parent ),
m_pi( NULL )
{
setAutoFillBackground( true );

View File

@@ -116,7 +116,7 @@ signals:
class PatmanView : public InstrumentView250
class PatmanView : public InstrumentViewFixedSize
{
Q_OBJECT
public:

View File

@@ -859,7 +859,7 @@ public:
sf2InstrumentView::sf2InstrumentView( Instrument * _instrument, QWidget * _parent ) :
InstrumentView250( _instrument, _parent )
InstrumentViewFixedSize( _instrument, _parent )
{
// QVBoxLayout * vl = new QVBoxLayout( this );
// QHBoxLayout * hl = new QHBoxLayout();

View File

@@ -187,7 +187,7 @@ public:
class sf2InstrumentView : public InstrumentView250
class sf2InstrumentView : public InstrumentViewFixedSize
{
Q_OBJECT
public:

View File

@@ -601,7 +601,7 @@ public:
sfxrInstrumentView::sfxrInstrumentView( Instrument * _instrument,
QWidget * _parent ) :
InstrumentView250( _instrument, _parent )
InstrumentViewFixedSize( _instrument, _parent )
{
srand(time(NULL));
setAutoFillBackground( true );

View File

@@ -223,7 +223,7 @@ private:
class sfxrInstrumentView : public InstrumentView250
class sfxrInstrumentView : public InstrumentViewFixedSize
{
Q_OBJECT
public:

View File

@@ -481,7 +481,7 @@ public:
sidInstrumentView::sidInstrumentView( Instrument * _instrument,
QWidget * _parent ) :
InstrumentView250( _instrument, _parent )
InstrumentViewFixedSize( _instrument, _parent )
{
setAutoFillBackground( true );

View File

@@ -132,7 +132,7 @@ private:
class sidInstrumentView : public InstrumentView250
class sidInstrumentView : public InstrumentViewFixedSize
{
Q_OBJECT
public:

View File

@@ -384,7 +384,7 @@ PluginView * malletsInstrument::instantiateView( QWidget * _parent )
malletsInstrumentView::malletsInstrumentView( malletsInstrument * _instrument,
QWidget * _parent ) :
InstrumentView250( _instrument, _parent )
InstrumentViewFixedSize( _instrument, _parent )
{
m_modalBarWidget = setupModalBarControls( this );
setWidgetBackground( m_modalBarWidget, "artwork" );

View File

@@ -187,7 +187,7 @@ private:
} ;
class malletsInstrumentView: public InstrumentView250
class malletsInstrumentView: public InstrumentViewFixedSize
{
Q_OBJECT
public:

View File

@@ -419,7 +419,7 @@ public:
TripleOscillatorView::TripleOscillatorView( Instrument * _instrument,
QWidget * _parent ) :
InstrumentView250( _instrument, _parent )
InstrumentViewFixedSize( _instrument, _parent )
{
setAutoFillBackground( true );
QPalette pal;

View File

@@ -136,7 +136,7 @@ private:
class TripleOscillatorView : public InstrumentView250
class TripleOscillatorView : public InstrumentViewFixedSize
{
Q_OBJECT
public:

View File

@@ -460,7 +460,7 @@ PluginView * vestigeInstrument::instantiateView( QWidget * _parent )
VestigeInstrumentView::VestigeInstrumentView( Instrument * _instrument,
QWidget * _parent ) :
InstrumentView250( _instrument, _parent ),
InstrumentViewFixedSize( _instrument, _parent ),
lastPosInMenu (0)
{
if( s_artwork == NULL )
@@ -892,7 +892,7 @@ void VestigeInstrumentView::paintEvent( QPaintEvent * )
manageVestigeInstrumentView::manageVestigeInstrumentView( Instrument * _instrument,
QWidget * _parent, vestigeInstrument * m_vi2 ) :
InstrumentView250( _instrument, _parent )
InstrumentViewFixedSize( _instrument, _parent )
{
m_vi = m_vi2;
m_vi->m_scrollArea = new QScrollArea( this );

View File

@@ -98,7 +98,7 @@ private:
} ;
class manageVestigeInstrumentView : public InstrumentView250
class manageVestigeInstrumentView : public InstrumentViewFixedSize
{
Q_OBJECT
public:
@@ -134,7 +134,7 @@ private:
} ;
class VestigeInstrumentView : public InstrumentView250
class VestigeInstrumentView : public InstrumentViewFixedSize
{
Q_OBJECT
public:

View File

@@ -350,7 +350,7 @@ PluginView * vibed::instantiateView( QWidget * _parent )
vibedView::vibedView( Instrument * _instrument,
QWidget * _parent ) :
InstrumentView250( _instrument, _parent )
InstrumentViewFixedSize( _instrument, _parent )
{
setAutoFillBackground( true );
QPalette pal;

View File

@@ -82,7 +82,7 @@ private:
class vibedView : public InstrumentView250
class vibedView : public InstrumentViewFixedSize
{
Q_OBJECT
public:

View File

@@ -667,7 +667,7 @@ void WatsynInstrument::updateWaveB2()
WatsynView::WatsynView( Instrument * _instrument,
QWidget * _parent ) :
InstrumentView250( _instrument, _parent )
InstrumentViewFixedSize( _instrument, _parent )
{
setAutoFillBackground( true );
QPalette pal;

View File

@@ -293,7 +293,7 @@ private:
};
class WatsynView : public InstrumentView250
class WatsynView : public InstrumentViewFixedSize
{
Q_OBJECT
public:

View File

@@ -488,7 +488,7 @@ PluginView * ZynAddSubFxInstrument::instantiateView( QWidget * _parent )
ZynAddSubFxView::ZynAddSubFxView( Instrument * _instrument, QWidget * _parent ) :
InstrumentView250( _instrument, _parent )
InstrumentViewFixedSize( _instrument, _parent )
{
setAutoFillBackground( true );
QPalette pal;

View File

@@ -132,7 +132,7 @@ signals:
class ZynAddSubFxView : public InstrumentView250
class ZynAddSubFxView : public InstrumentViewFixedSize
{
Q_OBJECT
public:

View File

@@ -73,7 +73,7 @@ InstrumentTrackWindow * InstrumentView::instrumentTrackWindow( void )
InstrumentView250::~InstrumentView250()
InstrumentViewFixedSize::~InstrumentViewFixedSize()
{
}