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

bool value() const

Reimplemented Public Functions

virtual void addToLayout(Layouting::LayoutItem &parent) 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] void BoolAspect::addToLayout(Layouting::LayoutItem &parent)

bool BoolAspect::value() const

Returns the value of the boolean aspect as a boolean value.