separated effect from UI

This commit is contained in:
itsmattkc
2019-03-12 22:49:01 +11:00
parent 0b090ddc21
commit 5b03af5e5a
58 changed files with 1166 additions and 1071 deletions
+27
View File
@@ -0,0 +1,27 @@
#ifndef EFFECTUI_H
#define EFFECTUI_H
#include "collapsiblewidget.h"
#include "project/effect.h"
class EffectUI : public CollapsibleWidget {
Q_OBJECT
public:
EffectUI(Effect* e);
Effect* GetEffect();
int GetRowPos(int row);
signals:
void CutRequested();
void CopyRequested();
void TitleBarContextMenuRequested(const QPoint&);
private:
Effect* effect_;
QGridLayout* layout_;
QVector<QLabel*> labels_;
private slots:
void show_context_menu(const QPoint&);
};
#endif // EFFECTUI_H