Loading...
Searching...
No Matches
Process::ControlPresentation Struct Reference

Overrides of a control's default presentation in a layout. More...

Detailed Description

Overrides of a control's default presentation in a layout.

Public Types

enum class  Widget { Default , Knob , Combo , None }
 Widget override, where the port supports it. More...
 

Public Member Functions

bool isDefault () const noexcept
 

Public Attributes

std::optional< QString > label
 Display only: the port name is unchanged.
 
bool labelVisible {true}
 
score::ControlSize size {score::ControlSize::Normal}
 
bool valueOnHover {false}
 
Widget widget {Widget::Default}
 
Qt::Alignment alignment {}
 

Member Enumeration Documentation

◆ Widget

Widget override, where the port supports it.

Enumerator
Knob 

float sliders

Combo 

enumerations

None 

the port and its label only, for any control

Member Data Documentation

◆ alignment

Qt::Alignment Process::ControlPresentation::alignment {}

Where the label and the value sit across the control: Qt::AlignLeft at its left edge, else as its widget places them. From the layout the control is in, e.g. a grid aligned left.


The documentation for this struct was generated from the following file: