#include <parameter_widget.h>
|
void | addInfoText (const std::string &text, const MessageParser::FieldInformation &info) |
|
void | addParameterBool (bool value, const MessageParser::FieldInformation &info) |
|
void | addParameterBoolArray (const std::vector< bool > &values, const MessageParser::FieldInformation &info) |
|
void | addParameterDouble (double value, const MessageParser::FieldInformation &info) |
|
void | addParameterDoubleArray (const std::vector< double > &values, const MessageParser::FieldInformation &info) |
|
void | addParameterEnum (const std::string &value, const MessageParser::FieldInformation &info) |
|
void | addParameterInt32 (int value, const MessageParser::FieldInformation &info) |
|
void | addParameterInt32Array (const std::vector< int > &values, const MessageParser::FieldInformation &info) |
|
void | addParameterString (std::string value, const MessageParser::FieldInformation &info) |
|
void | clearElements () |
|
void | endGroup () |
|
void | generateFromAllocatedField (google::protobuf::Message *message, const google::protobuf::FieldDescriptor *field) |
|
void | generateFromMessage (std::shared_ptr< google::protobuf::Message > message) |
|
google::protobuf::Message * | getMessage () |
|
const google::protobuf::Message * | getMessage () const |
|
bool | hasParameters () const |
|
std::list< std::string > & | nestedParentFieldNames () |
|
const std::list< std::string > & | nestedParentFieldNames () const |
|
QString | parentFieldNames () const |
|
void | startGroup (const MessageParser::FieldInformation &info) |
|
|
void | generateElements () |
|
void | parse (google::protobuf::Message *message, const google::protobuf::FieldDescriptor *field=nullptr) |
|
Definition at line 92 of file parameter_widget.h.
◆ ParameterWidget()
corbo::gui::ParameterWidget::ParameterWidget |
( |
ParameterCache * |
cache = nullptr , |
|
|
QWidget * |
parent = nullptr |
|
) |
| |
|
explicit |
◆ ~ParameterWidget()
corbo::gui::ParameterWidget::~ParameterWidget |
( |
| ) |
|
|
virtual |
◆ addInfoText
void corbo::gui::ParameterWidget::addInfoText |
( |
const std::string & |
text, |
|
|
const MessageParser::FieldInformation & |
info |
|
) |
| |
|
slot |
◆ addOneOfField()
void corbo::gui::ParameterWidget::addOneOfField |
( |
const MessageParser::FieldInformation & |
info | ) |
|
|
private |
◆ addParameterBool
void corbo::gui::ParameterWidget::addParameterBool |
( |
bool |
value, |
|
|
const MessageParser::FieldInformation & |
info |
|
) |
| |
|
slot |
◆ addParameterBoolArray
void corbo::gui::ParameterWidget::addParameterBoolArray |
( |
const std::vector< bool > & |
values, |
|
|
const MessageParser::FieldInformation & |
info |
|
) |
| |
|
slot |
◆ addParameterDouble
void corbo::gui::ParameterWidget::addParameterDouble |
( |
double |
value, |
|
|
const MessageParser::FieldInformation & |
info |
|
) |
| |
|
slot |
◆ addParameterDoubleArray
void corbo::gui::ParameterWidget::addParameterDoubleArray |
( |
const std::vector< double > & |
values, |
|
|
const MessageParser::FieldInformation & |
info |
|
) |
| |
|
slot |
◆ addParameterEnum
void corbo::gui::ParameterWidget::addParameterEnum |
( |
const std::string & |
value, |
|
|
const MessageParser::FieldInformation & |
info |
|
) |
| |
|
slot |
◆ addParameterInt32
void corbo::gui::ParameterWidget::addParameterInt32 |
( |
int |
value, |
|
|
const MessageParser::FieldInformation & |
info |
|
) |
| |
|
slot |
◆ addParameterInt32Array
void corbo::gui::ParameterWidget::addParameterInt32Array |
( |
const std::vector< int > & |
values, |
|
|
const MessageParser::FieldInformation & |
info |
|
) |
| |
|
slot |
◆ addParameterString
void corbo::gui::ParameterWidget::addParameterString |
( |
std::string |
value, |
|
|
const MessageParser::FieldInformation & |
info |
|
) |
| |
|
slot |
◆ addSubWidget()
void corbo::gui::ParameterWidget::addSubWidget |
( |
QWidget * |
widget | ) |
|
|
private |
◆ clearElements
void corbo::gui::ParameterWidget::clearElements |
( |
| ) |
|
|
slot |
◆ endGroup
void corbo::gui::ParameterWidget::endGroup |
( |
| ) |
|
|
slot |
◆ generateElements()
void corbo::gui::ParameterWidget::generateElements |
( |
| ) |
|
|
protected |
◆ generateFromAllocatedField
void corbo::gui::ParameterWidget::generateFromAllocatedField |
( |
google::protobuf::Message * |
message, |
|
|
const google::protobuf::FieldDescriptor * |
field |
|
) |
| |
|
slot |
◆ generateFromMessage
void corbo::gui::ParameterWidget::generateFromMessage |
( |
std::shared_ptr< google::protobuf::Message > |
message | ) |
|
|
slot |
◆ getMessage [1/2]
google::protobuf::Message* corbo::gui::ParameterWidget::getMessage |
( |
| ) |
|
|
inlineslot |
◆ getMessage [2/2]
const google::protobuf::Message* corbo::gui::ParameterWidget::getMessage |
( |
| ) |
const |
|
inlineslot |
◆ hasParameters
bool corbo::gui::ParameterWidget::hasParameters |
( |
| ) |
const |
|
slot |
◆ nestedParentFieldNames [1/2]
std::list<std::string>& corbo::gui::ParameterWidget::nestedParentFieldNames |
( |
| ) |
|
|
inlineslot |
◆ nestedParentFieldNames [2/2]
const std::list<std::string>& corbo::gui::ParameterWidget::nestedParentFieldNames |
( |
| ) |
const |
|
inlineslot |
◆ parameterInt32Updated
void corbo::gui::ParameterWidget::parameterInt32Updated |
( |
const QString & |
parameter, |
|
|
int |
value |
|
) |
| |
|
signal |
◆ parentFieldNames
QString corbo::gui::ParameterWidget::parentFieldNames |
( |
| ) |
const |
|
inlineslot |
◆ parse()
void corbo::gui::ParameterWidget::parse |
( |
google::protobuf::Message * |
message, |
|
|
const google::protobuf::FieldDescriptor * |
field = nullptr |
|
) |
| |
|
protected |
◆ signalUpdateRequested
void corbo::gui::ParameterWidget::signalUpdateRequested |
( |
| ) |
|
|
signal |
◆ sizeHint()
QSize corbo::gui::ParameterWidget::sizeHint |
( |
| ) |
const |
|
override |
◆ startGroup
void corbo::gui::ParameterWidget::startGroup |
( |
const MessageParser::FieldInformation & |
info | ) |
|
|
slot |
◆ updatedOneOfField
void corbo::gui::ParameterWidget::updatedOneOfField |
( |
const QString & |
text | ) |
|
|
signal |
◆ _groups
groupbox ptr, layout ptr, new msg flag (e.g. for loading default params)
Definition at line 170 of file parameter_widget.h.
◆ _has_parameters
bool corbo::gui::ParameterWidget::_has_parameters = false |
|
private |
◆ _layout
QVBoxLayout* corbo::gui::ParameterWidget::_layout |
|
private |
◆ _nested_parent_fields
std::list<std::string> corbo::gui::ParameterWidget::_nested_parent_fields |
|
private |
◆ _oneof_widgets
◆ _param_cache
◆ _param_message
std::shared_ptr<google::protobuf::Message> corbo::gui::ParameterWidget::_param_message |
|
private |
The documentation for this class was generated from the following files: