FxMixerView: fix disappearing effects

This commit is contained in:
Vesa
2014-06-19 22:17:59 +03:00
parent 4bcbb1abcc
commit 83cc446807
4 changed files with 37 additions and 14 deletions

View File

@@ -58,6 +58,8 @@ public:
QBrush backgroundActive() const;
void setBackgroundActive( const QBrush & c );
static const int FxLineHeight;
private:
FxMixerView * m_mv;
LcdWidget* m_lcd;

View File

@@ -27,6 +27,7 @@
#include <QtGui/QWidget>
#include <QtGui/QHBoxLayout>
#include <QtGui/QStackedLayout>
#include <QtGui/QScrollArea>
#include "FxLine.h"
@@ -54,6 +55,7 @@ public:
FxLine * m_fxLine;
pixmapButton * m_muteBtn;
fader * m_fader;
EffectRackView * m_rackView;
};
@@ -94,7 +96,7 @@ public:
// make sure the display syncs up with the fx mixer.
// useful for loading projects
void refreshDisplay();
private slots:
void updateFaders();
void addNewChannel();
@@ -108,9 +110,12 @@ private:
QScrollArea * channelArea;
QHBoxLayout * chLayout;
QWidget * m_channelAreaWidget;
EffectRackView * m_rackView;
QStackedLayout * m_racksLayout;
QWidget * m_racksWidget;
void updateMaxChannelSelector();
friend class FxChannelView;
} ;
#endif