Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
ElementBoxWidget::Config Class Reference

#include "stage/widget/element-box-widget.hpp"

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
 
Literal getMenuSymb () const
 
Gtk::IconSize getIconSize () const
 
cuString getName () const
 

Friends

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

Private Attributes

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

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ Config()

template<class... QS>
Config ( Type  type,
Qualifier  qual,
QS...  qs 
)
inline

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

Member Function Documentation

◆ buildLayoutStrategy()

ElementBoxWidget::Strategy buildLayoutStrategy ( ElementBoxWidget )

decide upon the presentation strategy

Definition at line 139 of file element-box-widget.cpp.

References ElementBoxWidget::Strategy::getHeight, and ElementBoxWidget::Strategy::getWidth.

◆ getIconID()

Literal getIconID ( ) const

Definition at line 117 of file element-box-widget.cpp.

References stage::ICON_placement.

◆ getMenuSymb()

Literal getMenuSymb ( ) const

Definition at line 124 of file element-box-widget.cpp.

References stage::ICON_arrow_hand_menu.

◆ getIconSize()

Gtk::IconSize getIconSize ( ) const

Definition at line 131 of file element-box-widget.cpp.

◆ getName()

cuString getName ( ) const
inline

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

Referenced by ElementBoxWidget::ElementBoxWidget().

+ Here is the caller graph for this function:

Member Data Documentation

◆ type_

Type type_
private

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

◆ nameID_

uString nameID_ {"∅"}
private

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

◆ widthConstraint_

SizeGetter widthConstraint_
private

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

◆ heightConstraint_

SizeGetter heightConstraint_
private

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

◆ logTODO_

string logTODO_ {nameID_}
private

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

Friends And Related Symbol Documentation

◆ kind

Qualifier kind ( Kind  kind)
friend

qualify the basic use case for the new ElementBoxWidget

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

◆ name

Qualifier name ( string  id)
friend

define the name-ID displayed in the caption

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

◆ expander

Qualifier expander ( model::Expander expander)
friend

provide an expand/collapse button, wired with the given Expander

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

◆ 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: