Lumiera  0.pre.03
»edit your freedom«
ElementBoxWidget::Config Class Reference

Description

Definition at line 183 of file element-box-widget.hpp.

Public Member Functions

template<class... QS>
 Config (Type type, Qualifier qual, QS... qs)
 
Strategy buildLayoutStrategy (ElementBoxWidget &)
 decide upon the presentation strategy
 
Literal getIconID () const
 
Gtk::IconSize getIconSize () const
 
Literal getMenuSymb () const
 
cuString getName () const
 

Friends

Qualifier constrained (SizeGetter)
 switch in to size-constrained layout mode. More...
 
Qualifier constrained (SizeGetter, SizeGetter)
 activate size-constrained layout mode, similar as constrained(SizeGetter). More...
 
Qualifier expander (model::Expander &)
 provide an expand/collapse button, wired with the given Expander
 
Qualifier kind (Kind)
 qualify the basic use case for the new ElementBoxWidget
 
Qualifier name (string id)
 define the name-ID displayed in the caption
 

Private Attributes

SizeGetter heightConstraint_
 
string logTODO_ {nameID_}
 
uString nameID_ {"∅"}
 
Type type_
 
SizeGetter widthConstraint_
 

Additional Inherited Members

- Private Types inherited from BuilderQualifierSupport< Config >
using Manipulator = std::function< void(Config &)>
 

Friends And Related Function Documentation

◆ constrained [1/2]

Qualifier constrained ( SizeGetter  widthConstraint)
friend

switch in to size-constrained layout mode.

The base size allocation (without borders and margin) will span exactly the horizontal extension as retrieved from invoking the SizeGetter.

Definition at line 260 of file element-box-widget.hpp.

◆ constrained [2/2]

Qualifier constrained ( SizeGetter  widthConstraint,
SizeGetter  heightConstraint 
)
friend

activate size-constrained layout mode, similar as constrained(SizeGetter).

Additionally, also the vertical extension is controlled in this variant.

Definition at line 274 of file element-box-widget.hpp.

+ Inheritance diagram for ElementBoxWidget::Config:
+ Collaboration diagram for ElementBoxWidget::Config:

The documentation for this class was generated from the following files: