implemented "value hints" for choosing output values to use

This commit is contained in:
itsmattkc
2021-09-17 20:56:53 -07:00
parent a5e7859e1f
commit 67c7c71ca2
30 changed files with 439 additions and 85 deletions
+32
View File
@@ -0,0 +1,32 @@
#ifndef NODEVALUETREE_H
#define NODEVALUETREE_H
#include <QRadioButton>
#include <QTreeWidget>
#include "node/node.h"
namespace olive {
class NodeValueTree : public QTreeWidget
{
Q_OBJECT
public:
NodeValueTree(QWidget *parent = nullptr);
void SetNode(const NodeInput &input, const rational &time);
protected:
virtual void changeEvent(QEvent *event) override;
private:
void Retranslate();
private slots:
void RadioButtonChecked(bool e);
};
}
#endif // NODEVALUETREE_H