Loading [MathJax]/extensions/TeX/AMSmath.js
Radium Engine  1.5.28
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
WidgetFactory.hpp
1#pragma once
2#include <Dataflow/RaDataflow.hpp>
3
4#include <Gui/ParameterSetEditor/BasicUiBuilder.hpp>
5
6#include <QLineEdit>
7#include <string>
8
9namespace Ra {
10namespace Dataflow {
11namespace QtGui {
12namespace GraphEditor {
13
14class RA_DATAFLOW_GUI_API WidgetFactory : public Ra::Gui::BasicUiBuilder
15{
16 public:
17 WidgetFactory( Ra::Core::VariableSet& params,
19 const nlohmann::json& constraints ) :
20 Ra::Gui::BasicUiBuilder( params, pse, constraints ) {
21 addOperator<std::string>( *this );
22 }
23
24 void operator()( const std::string& name, std::string& p );
25};
26
27} // namespace GraphEditor
28} // namespace QtGui
29} // namespace Dataflow
30} // namespace Ra
Heterogeneous container storing "Variables", that maps a name (std::string) to a value (of any type T...
Simple Widget for RenderParameter editing The editor will expose a control panel containing all of th...
hepler function to manage enum as underlying types in VariableSet
Definition Cage.cpp:4