finished moving field data retrieving to row
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
#ifndef BOOLINPUT_H
|
||||
#define BOOLINPUT_H
|
||||
|
||||
#include "effects/effectrow.h"
|
||||
|
||||
class BoolInput : public EffectRow
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
BoolInput(Effect* parent, const QString& id, const QString& name, bool savable = true, bool keyframable = true);
|
||||
|
||||
/**
|
||||
* @brief Get the boolean value at a given timecode
|
||||
*
|
||||
* A wrapper for BoolField::GetBoolAt().
|
||||
*
|
||||
* @param timecode
|
||||
*
|
||||
* The timecode to retrieve the value at
|
||||
*
|
||||
* @return
|
||||
*
|
||||
* The boolean value at this timecode
|
||||
*/
|
||||
bool GetBoolAt(double timecode);
|
||||
|
||||
signals:
|
||||
/**
|
||||
* @brief Emitted whenever the UI widget's boolean value has changed
|
||||
*
|
||||
* Wrapper for BoolField::Toggled().
|
||||
*/
|
||||
void Toggled(bool);
|
||||
};
|
||||
|
||||
#endif // BOOLINPUT_H
|
||||
Reference in New Issue
Block a user