Lets a widget describe itself to the component inspector (ViewInspector) and to view-core's layout and appearance diagnostics without either naming its class. More...
#include <inspector_facts.hpp>
Classes | |
| struct | Fact |
Public Member Functions | |
| virtual | ~InspectorFacts () |
| virtual std::string_view | inspector_type_name () const =0 |
| virtual void | inspector_facts (std::vector< Fact > &out) const =0 |
Lets a widget describe itself to the component inspector (ViewInspector) and to view-core's layout and appearance diagnostics without either naming its class.
A widget defined outside view-core implements this, so both can show it while linking none of that widget's code.
|
virtual |
|
pure virtual |
Implemented in pulp::view::Meter, pulp::view::SpectrumView, and pulp::view::WaveformView.
|
pure virtual |
Implemented in pulp::view::Meter, pulp::view::SpectrumView, and pulp::view::WaveformView.