Loading...
Searching...
No Matches
WidgetFactory::Enum Struct Reference
Static Public Member Functions | |
| static Process::PortItemLayout | layout () noexcept |
| template<typename T > | |
| static auto | make_widget (T &inlet, const score::DocumentContext &ctx, QWidget *parent, QObject *context) |
| template<typename T , typename Control_T > | |
| static QGraphicsItem * | make_combo_item (const T &slider, Control_T &inlet, const score::DocumentContext &ctx, QObject *context) |
| template<typename T , typename Control_T > | |
| static QGraphicsItem * | make_item (const T &slider, Control_T &inlet, const score::DocumentContext &ctx, QGraphicsItem *parent, QObject *context) |
Static Public Attributes | |
| static constexpr std::size_t | max_values_as_buttons = 8 |
Member Data Documentation
◆ max_values_as_buttons
|
staticconstexpr |
Beyond this many values, a grid of buttons takes more room than the rest of the process: the enum is drawn as a drop-down instead.
The documentation for this struct was generated from the following file: