oscr::LayoutBuilder< Info > Struct Template Referencefinal
Inheritance diagram for oscr::LayoutBuilder< Info >:
Public Types | |
using | inputs_type = typename avnd::input_introspection< Info >::type |
using | outputs_type = typename avnd::output_introspection< Info >::type |
Public Member Functions | |
template<typename Item > | |
void | setupControl (QGraphicsItem *parent, Process::ControlOutlet *inl, const Process::ControlLayout &lay, Item &item)=delete |
template<typename Item > | |
void | setupControl (QGraphicsItem *parent, Process::ControlInlet *inl, const Process::ControlLayout &lay, Item &item) |
template<typename Item > | |
void | createControl (Item &item, auto... member) |
template<typename Item , typename T > | |
void | createWidget (Item &it, const T &member) |
template<typename Item , typename... T> | |
requires (sizeof...(T) > 1) void createWidget(Item &item | |
template<typename Item > | |
void | createCustom (Item &item) |
template<typename Item > | |
void | createCustomControl (Item &item, auto... member) |
template<typename Item > | |
void | subLayout (Item &item, score::GraphicsLayout *new_l, auto... recursive_members) |
template<typename Item > | |
auto | initRecursiveLayout () |
template<typename Item > | |
void | walkLayout (Item &item, auto... recursive_members) |
Public Member Functions inherited from Process::LayoutBuilderBase | |
Process::ControlLayout | makePort (Process::ControlInlet &portModel) |
Process::ControlLayout | makePort (Process::ControlOutlet &portModel) |
std::pair< Process::ControlInlet *, Process::ControlLayout > | makeInlet (Process::Inlet *) |
std::pair< Process::ControlOutlet *, Process::ControlLayout > | makeOutlet (Process::Outlet *) |
std::vector< std::pair< Process::ControlInlet *, Process::ControlLayout > > | makeInlets (std::span< Process::Inlet * >) |
std::vector< std::pair< Process::ControlOutlet *, Process::ControlLayout > > | makeOutlets (std::span< Process::Outlet * >) |
QGraphicsItem * | makeLabel (std::string_view item) |
void | finalizeLayout (QGraphicsItem *rootItem) |
template<typename T > | |
score::BrushSet & | get_brush (T cur) |
template<typename Item > | |
void | setupLayout (const Item &it, score::GraphicsLayout &item) |
template<typename Item > | |
void | setupItem (const Item &it, QGraphicsItem &item) |
Public Attributes | |
inputs_type | temp_inputs {} |
outputs_type | temp_outputs {} |
Info::ui * | rootUi {} |
T | recursive_members |
Public Attributes inherited from Process::LayoutBuilderBase | |
QObject & | context |
const Process::ProcessModel & | proc |
const Process::Context & | doc |
const Process::PortFactoryList & | portFactory |
const Process::Inlets & | inlets |
const Process::Outlets & | outlets |
QGraphicsItem * | layout {} |
std::vector< score::GraphicsLayout * > | createdLayouts {} |
Member Data Documentation
◆ recursive_members
template<typename Info >
T oscr::LayoutBuilder< Info >::recursive_members |
Initial value:
{
createControl(item, recursive_members...)
The documentation for this struct was generated from the following file: