BoolAspect Class

class Utils::BoolAspect

A boolean aspect is a boolean property of some object, together with a description of its behavior for common operations like visualizing or persisting. More...

Header: #include <BoolAspect>
Inherits: Utils::BaseAspect

Public Functions

virtual ~BoolAspect() override
bool value() const

Reimplemented Public Functions

virtual void addToLayout(Layouting::LayoutBuilder &builder) override

Detailed Description

The boolean aspect is displayed using a QCheckBox.

The visual representation often contains a label in front or after the display of the actual checkmark.

Member Function Documentation

[override virtual] BoolAspect::~BoolAspect()

[override virtual] void BoolAspect::addToLayout(Layouting::LayoutBuilder &builder)

Reimplements: BaseAspect::addToLayout(Layouting::LayoutBuilder &builder).

bool BoolAspect::value() const