25 #ifndef SRC_GUI_INCLUDE_CORBO_GUI_PARAMETER_WIDGET_H_ 26 #define SRC_GUI_INCLUDE_CORBO_GUI_PARAMETER_WIDGET_H_ 31 #include <QVBoxLayout> 71 void addParameterBool(
bool value,
const MessageParser::FieldInformation& info);
72 void addParameterBoolArray(
const std::vector<bool>& values,
const MessageParser::FieldInformation& info);
73 void addParameterEnum(
const std::string& value,
const MessageParser::FieldInformation& info);
74 void addParameterString(std::string value,
const MessageParser::FieldInformation& info);
75 void addInfoText(
const std::string&
text,
const MessageParser::FieldInformation& info);
77 void startGroup(
const MessageParser::FieldInformation& info);
95 void parse(google::protobuf::Message* message,
const google::protobuf::FieldDescriptor* field =
nullptr);
99 void addOneOfField(
const MessageParser::FieldInformation& info);
104 QStack<std::tuple<CollapsableGroupBox*, QLayout*, bool>>
_groups;
117 #endif // SRC_GUI_INCLUDE_CORBO_GUI_PARAMETER_WIDGET_H_