mirror of
https://github.com/LMMS/lmms.git
synced 2026-05-24 14:47:15 -04:00
Rename InstrumentView250 to InstrumentViewFixedSize
This commit is contained in:
@@ -68,7 +68,7 @@ public:
|
||||
|
||||
virtual PluginView * instantiateView( QWidget * _parent )
|
||||
{
|
||||
return new InstrumentView250( this, _parent );
|
||||
return new InstrumentViewFixedSize( this, _parent );
|
||||
}
|
||||
} ;
|
||||
|
||||
|
||||
@@ -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;
|
||||
} ;
|
||||
|
||||
|
||||
|
||||
@@ -457,7 +457,7 @@ public:
|
||||
|
||||
FreeBoyInstrumentView::FreeBoyInstrumentView( Instrument * _instrument,
|
||||
QWidget * _parent ) :
|
||||
InstrumentView250( _instrument, _parent )
|
||||
InstrumentViewFixedSize( _instrument, _parent )
|
||||
{
|
||||
|
||||
setAutoFillBackground( true );
|
||||
|
||||
@@ -111,7 +111,7 @@ private:
|
||||
} ;
|
||||
|
||||
|
||||
class FreeBoyInstrumentView : public InstrumentView250
|
||||
class FreeBoyInstrumentView : public InstrumentViewFixedSize
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
||||
@@ -922,7 +922,7 @@ public:
|
||||
|
||||
|
||||
GigInstrumentView::GigInstrumentView( Instrument * _instrument, QWidget * _parent ) :
|
||||
InstrumentView250( _instrument, _parent )
|
||||
InstrumentViewFixedSize( _instrument, _parent )
|
||||
{
|
||||
GigInstrument * k = castModel<GigInstrument>();
|
||||
|
||||
|
||||
@@ -334,7 +334,7 @@ signals:
|
||||
|
||||
|
||||
|
||||
class GigInstrumentView : public InstrumentView250
|
||||
class GigInstrumentView : public InstrumentViewFixedSize
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
||||
@@ -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) \
|
||||
|
||||
@@ -142,7 +142,7 @@ private:
|
||||
|
||||
|
||||
|
||||
class OpulenzInstrumentView : public InstrumentView250
|
||||
class OpulenzInstrumentView : public InstrumentViewFixedSize
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
||||
@@ -274,7 +274,7 @@ public:
|
||||
|
||||
|
||||
XpressiveView::XpressiveView(Instrument * _instrument, QWidget * _parent) :
|
||||
InstrumentView250(_instrument, _parent)
|
||||
InstrumentViewFixedSize(_instrument, _parent)
|
||||
|
||||
{
|
||||
const int COL_KNOBS = 194;
|
||||
|
||||
@@ -139,7 +139,7 @@ private:
|
||||
} ;
|
||||
|
||||
|
||||
class XpressiveView : public InstrumentView250
|
||||
class XpressiveView : public InstrumentViewFixedSize
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
||||
@@ -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 )
|
||||
{
|
||||
|
||||
@@ -111,7 +111,7 @@ private:
|
||||
class AudioFileProcessorWaveView;
|
||||
|
||||
|
||||
class AudioFileProcessorView : public InstrumentView250
|
||||
class AudioFileProcessorView : public InstrumentViewFixedSize
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -108,7 +108,7 @@ private:
|
||||
|
||||
|
||||
|
||||
class bitInvaderView : public InstrumentView250
|
||||
class bitInvaderView : public InstrumentViewFixedSize
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -99,7 +99,7 @@ private:
|
||||
friend class CarlaInstrumentView;
|
||||
};
|
||||
|
||||
class CarlaInstrumentView : public InstrumentView250
|
||||
class CarlaInstrumentView : public InstrumentViewFixedSize
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -94,7 +94,7 @@ private:
|
||||
|
||||
|
||||
|
||||
class kickerInstrumentView : public InstrumentView250
|
||||
class kickerInstrumentView : public InstrumentViewFixedSize
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
||||
@@ -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 );
|
||||
|
||||
@@ -256,7 +256,7 @@ private:
|
||||
} ;
|
||||
|
||||
|
||||
class lb302SynthView : public InstrumentView250
|
||||
class lb302SynthView : public InstrumentViewFixedSize
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
||||
@@ -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" );
|
||||
|
||||
@@ -569,7 +569,7 @@ private:
|
||||
|
||||
};
|
||||
|
||||
class MonstroView : public InstrumentView250
|
||||
class MonstroView : public InstrumentViewFixedSize
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -294,7 +294,7 @@ private:
|
||||
};
|
||||
|
||||
|
||||
class NesInstrumentView : public InstrumentView250
|
||||
class NesInstrumentView : public InstrumentViewFixedSize
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
||||
@@ -418,7 +418,7 @@ public:
|
||||
|
||||
organicInstrumentView::organicInstrumentView( Instrument * _instrument,
|
||||
QWidget * _parent ) :
|
||||
InstrumentView250( _instrument, _parent ),
|
||||
InstrumentViewFixedSize( _instrument, _parent ),
|
||||
m_oscKnobs( NULL )
|
||||
{
|
||||
organicInstrument * oi = castModel<organicInstrument>();
|
||||
|
||||
@@ -173,7 +173,7 @@ private slots:
|
||||
} ;
|
||||
|
||||
|
||||
class organicInstrumentView : public InstrumentView250
|
||||
class organicInstrumentView : public InstrumentViewFixedSize
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
||||
@@ -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 );
|
||||
|
||||
@@ -116,7 +116,7 @@ signals:
|
||||
|
||||
|
||||
|
||||
class PatmanView : public InstrumentView250
|
||||
class PatmanView : public InstrumentViewFixedSize
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -187,7 +187,7 @@ public:
|
||||
|
||||
|
||||
|
||||
class sf2InstrumentView : public InstrumentView250
|
||||
class sf2InstrumentView : public InstrumentViewFixedSize
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
||||
@@ -601,7 +601,7 @@ public:
|
||||
|
||||
sfxrInstrumentView::sfxrInstrumentView( Instrument * _instrument,
|
||||
QWidget * _parent ) :
|
||||
InstrumentView250( _instrument, _parent )
|
||||
InstrumentViewFixedSize( _instrument, _parent )
|
||||
{
|
||||
srand(time(NULL));
|
||||
setAutoFillBackground( true );
|
||||
|
||||
@@ -223,7 +223,7 @@ private:
|
||||
|
||||
|
||||
|
||||
class sfxrInstrumentView : public InstrumentView250
|
||||
class sfxrInstrumentView : public InstrumentViewFixedSize
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
||||
@@ -481,7 +481,7 @@ public:
|
||||
|
||||
sidInstrumentView::sidInstrumentView( Instrument * _instrument,
|
||||
QWidget * _parent ) :
|
||||
InstrumentView250( _instrument, _parent )
|
||||
InstrumentViewFixedSize( _instrument, _parent )
|
||||
{
|
||||
|
||||
setAutoFillBackground( true );
|
||||
|
||||
@@ -132,7 +132,7 @@ private:
|
||||
|
||||
|
||||
|
||||
class sidInstrumentView : public InstrumentView250
|
||||
class sidInstrumentView : public InstrumentViewFixedSize
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
||||
@@ -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" );
|
||||
|
||||
@@ -187,7 +187,7 @@ private:
|
||||
} ;
|
||||
|
||||
|
||||
class malletsInstrumentView: public InstrumentView250
|
||||
class malletsInstrumentView: public InstrumentViewFixedSize
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
||||
@@ -419,7 +419,7 @@ public:
|
||||
|
||||
TripleOscillatorView::TripleOscillatorView( Instrument * _instrument,
|
||||
QWidget * _parent ) :
|
||||
InstrumentView250( _instrument, _parent )
|
||||
InstrumentViewFixedSize( _instrument, _parent )
|
||||
{
|
||||
setAutoFillBackground( true );
|
||||
QPalette pal;
|
||||
|
||||
@@ -136,7 +136,7 @@ private:
|
||||
|
||||
|
||||
|
||||
class TripleOscillatorView : public InstrumentView250
|
||||
class TripleOscillatorView : public InstrumentViewFixedSize
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
||||
@@ -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 );
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -82,7 +82,7 @@ private:
|
||||
|
||||
|
||||
|
||||
class vibedView : public InstrumentView250
|
||||
class vibedView : public InstrumentViewFixedSize
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
||||
@@ -667,7 +667,7 @@ void WatsynInstrument::updateWaveB2()
|
||||
|
||||
WatsynView::WatsynView( Instrument * _instrument,
|
||||
QWidget * _parent ) :
|
||||
InstrumentView250( _instrument, _parent )
|
||||
InstrumentViewFixedSize( _instrument, _parent )
|
||||
{
|
||||
setAutoFillBackground( true );
|
||||
QPalette pal;
|
||||
|
||||
@@ -293,7 +293,7 @@ private:
|
||||
};
|
||||
|
||||
|
||||
class WatsynView : public InstrumentView250
|
||||
class WatsynView : public InstrumentViewFixedSize
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -132,7 +132,7 @@ signals:
|
||||
|
||||
|
||||
|
||||
class ZynAddSubFxView : public InstrumentView250
|
||||
class ZynAddSubFxView : public InstrumentViewFixedSize
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
||||
@@ -73,7 +73,7 @@ InstrumentTrackWindow * InstrumentView::instrumentTrackWindow( void )
|
||||
|
||||
|
||||
|
||||
InstrumentView250::~InstrumentView250()
|
||||
InstrumentViewFixedSize::~InstrumentViewFixedSize()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user