Add "Assign to FX Channel" context button to track

This commit is contained in:
Amadeus Folego
2015-01-08 00:59:51 -02:00
parent db2e7febf7
commit 2eb420cb92
22 changed files with 202 additions and 6 deletions

View File

@@ -194,6 +194,11 @@ public:
return m_fxChannels.size();
}
inline QVector<FxChannel *> fxChannels() const
{
return m_fxChannels;
}
FxRouteVector m_fxRoutes;
private:

View File

@@ -103,12 +103,14 @@ public:
// useful for loading projects
void refreshDisplay();
public slots:
int addNewChannel();
protected:
virtual void closeEvent( QCloseEvent * _ce );
private slots:
void updateFaders();
void addNewChannel();
void toggledSolo();
private:

View File

@@ -29,6 +29,7 @@
#include <QtCore/QVector>
#include <QtCore/QList>
#include <QWidget>
#include <QSignalMapper>
#include <QColor>
#include <QMimeData>
@@ -390,6 +391,8 @@ private slots:
void recordingOn();
void recordingOff();
void clearTrack();
void assignFxLine( int channelIndex );
void createFxLine();
private:
static QPixmap * s_grip;