2 #include <Gui/RaGui.hpp>
6 #include <QPlainTextEdit>
10 #include <nlohmann/json.hpp>
12 #include <Gui/Widgets/ControlPanel.hpp>
18 class RenderParameters;
27 class RenderParameterUiBuilder;
58 const nlohmann::json& constraints );
65 void showUnspecified(
bool enable );
74 friend class internal::RenderParameterUiBuilder;
86 void addEnumParameterWidget(
const std::string& name,
89 const nlohmann::json& paramMetadata );
99 void addNumberParameterWidget(
const std::string& name,
102 const nlohmann::json& metadata );
112 template <
typename T>
113 void addVectorParameterWidget(
const std::string& key,
114 std::vector<T>& initial,
116 const nlohmann::json& metadata );
126 template <
typename T>
127 void addMatrixParameterWidget(
const std::string& key,
130 const nlohmann::json& metadata );
132 bool m_showUnspecified =
false;
Simple Widget for RenderParameter edition The editor will expose a control panel containing all of th...
void parameterModified(const std::string &name)