Loading...
Searching...
No Matches
Process::LayoutBuilderBase Struct Reference
Inheritance diagram for Process::LayoutBuilderBase:
Public Member Functions | |
| Process::ControlLayout | makePort (Process::Inlet &portModel, const Process::ControlPresentation &={}) |
| Process::ControlLayout | makePort (Process::Outlet &portModel, const Process::ControlPresentation &={}) |
| std::pair< Process::ControlInlet *, Process::ControlLayout > | makeInlet (Process::Inlet *, const Process::ControlPresentation &={}) |
| std::pair< Process::ControlOutlet *, Process::ControlLayout > | makeOutlet (Process::Outlet *, const Process::ControlPresentation &={}) |
| 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 | |
| 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 {} |
| bool | marginOnNestedLayouts {true} |
Member Function Documentation
◆ get_brush()
template<typename T >
|
inline |
The skin brush a layout colour names. An object only ever asks for a role
- a background, the value it edits, the value the engine sends back - so that a skin change applies to it like it does to the rest of the software.
Member Data Documentation
◆ marginOnNestedLayouts
| bool Process::LayoutBuilderBase::marginOnNestedLayouts {true} |
Pad every sized layout, or only the outermost one. Nested margins accumulate at the right and bottom.
The documentation for this struct was generated from the following files:
- plugins/score-lib-process/Control/Layout.hpp
- Layout.cpp