#include <one_of_param_widget.h>
Definition at line 89 of file one_of_param_widget.h.
◆ OneOfParamWidget() [1/2]
corbo::gui::OneOfParamWidget::OneOfParamWidget |
( |
ParameterCache * |
cache = nullptr , |
|
|
QWidget * |
parent = nullptr |
|
) |
| |
|
inlineexplicit |
◆ OneOfParamWidget() [2/2]
corbo::gui::OneOfParamWidget::OneOfParamWidget |
( |
const QString & |
label, |
|
|
ParameterCache * |
cache = nullptr , |
|
|
QWidget * |
parent = nullptr |
|
) |
| |
|
explicit |
◆ ~OneOfParamWidget()
corbo::gui::OneOfParamWidget::~OneOfParamWidget |
( |
| ) |
|
|
virtual |
◆ addDescription()
void corbo::gui::OneOfParamWidget::addDescription |
( |
const QString & |
description | ) |
|
◆ addParametersToCache()
void corbo::gui::OneOfParamWidget::addParametersToCache |
( |
| ) |
|
|
protected |
◆ currentParameterChanged
void corbo::gui::OneOfParamWidget::currentParameterChanged |
( |
const QString & |
label | ) |
|
|
signal |
◆ nestedFieldName() [1/2]
std::list<std::string>& corbo::gui::OneOfParamWidget::nestedFieldName |
( |
| ) |
|
|
inline |
◆ nestedFieldName() [2/2]
const std::list<std::string>& corbo::gui::OneOfParamWidget::nestedFieldName |
( |
| ) |
const |
|
inline |
◆ nestedFieldNameUnrolled()
std::string corbo::gui::OneOfParamWidget::nestedFieldNameUnrolled |
( |
const std::string & |
delimiter | ) |
|
◆ registerParameter
void corbo::gui::OneOfParamWidget::registerParameter |
( |
const QString & |
label, |
|
|
const MessageParser::FieldInformation & |
info |
|
) |
| |
|
slot |
◆ restoreParametersFromCache()
bool corbo::gui::OneOfParamWidget::restoreParametersFromCache |
( |
| ) |
|
|
protected |
◆ selectParameter
void corbo::gui::OneOfParamWidget::selectParameter |
( |
const QString & |
label | ) |
|
|
slot |
◆ signalUpdateRequested
void corbo::gui::OneOfParamWidget::signalUpdateRequested |
( |
| ) |
|
|
signal |
◆ sizeHint()
QSize corbo::gui::OneOfParamWidget::sizeHint |
( |
| ) |
const |
|
override |
◆ _combobox
◆ _fields
QHash<QString, const google::protobuf::FieldDescriptor*> corbo::gui::OneOfParamWidget::_fields |
|
private |
◆ _layout
QVBoxLayout* corbo::gui::OneOfParamWidget::_layout |
|
private |
◆ _message
google::protobuf::Message* corbo::gui::OneOfParamWidget::_message = nullptr |
|
private |
◆ _nested_field_name
std::list<std::string> corbo::gui::OneOfParamWidget::_nested_field_name |
|
private |
◆ _param_cache
◆ _param_widget
QWidget* corbo::gui::OneOfParamWidget::_param_widget = nullptr |
|
private |
◆ _selected_item
QString corbo::gui::OneOfParamWidget::_selected_item |
|
private |
◆ _selected_item_parsed
bool corbo::gui::OneOfParamWidget::_selected_item_parsed = false |
|
private |
Keep track if we have already parsed the selected item to avoid expanding a wrong protobuf message.
Definition at line 153 of file one_of_param_widget.h.
The documentation for this class was generated from the following files: