finished moving field data retrieving to row
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
#include "comboinput.h"
|
||||
|
||||
ComboInput::ComboInput(Effect* parent, const QString& id, const QString& name, bool savable, bool keyframable) :
|
||||
EffectRow(parent, id, name, savable, keyframable)
|
||||
{
|
||||
ComboField* combo_field = new ComboField(this);
|
||||
connect(combo_field, SIGNAL(DataChanged(const QVariant&)), this, SIGNAL(DataChanged(const QVariant&)));
|
||||
AddField(combo_field);
|
||||
}
|
||||
|
||||
void ComboInput::AddItem(const QString &text, const QVariant &data)
|
||||
{
|
||||
static_cast<ComboField*>(Field(0))->AddItem(text, data);
|
||||
}
|
||||
Reference in New Issue
Block a user