bWidgets
Core widget toolkit designed for Blender
bWidgets::bwScreenGraph::ContainerNode Class Reference

Node representing a widget with children. More...

#include <Node.h>

+ Inheritance diagram for bWidgets::bwScreenGraph::ContainerNode:
+ Collaboration diagram for bWidgets::bwScreenGraph::ContainerNode:

Public Member Functions

auto Children () const -> const ChildList *override
 
auto Children () -> ChildList *override
 
auto Layout () const -> bwLayoutInterface *override
 
auto Widget () const -> bwWidget *override
 
auto ContainerWidget () const -> bwContainerWidget &
 
auto Rectangle () const -> bwRectanglePixel override
 
auto ContentRectangle () const -> bwRectanglePixel
 
auto MaskRectangle () const -> std::optional< bwRectanglePixel > override
 
auto isVisible () const -> bool override
 
auto childrenVisible () const -> bool override
 
auto Children () const -> const ChildList *override
 
auto Children () -> ChildList *override
 
auto Layout () const -> bwLayoutInterface *override
 
auto Rectangle () const -> bwRectanglePixel override
 
auto MaskRectangle () const -> std::optional< bwRectanglePixel > override
 
auto isVisible () const -> bool override
 
- Public Member Functions inherited from bWidgets::bwScreenGraph::Node
 Node ()=default
 
virtual ~Node ()=default
 
virtual auto Children () const -> const ChildList *
 
virtual auto Children () -> ChildList *
 
virtual auto childrenVisible () const -> bool
 
virtual auto Layout () const -> bwLayoutInterface *
 
virtual auto Widget () const -> bwWidget *
 
auto Parent () const -> Node *
 
auto eventHandler () const -> EventHandler *
 
virtual auto Rectangle () const -> bwRectanglePixel=0
 
virtual auto MaskRectangle () const -> std::optional< bwRectanglePixel >=0
 
virtual auto isVisible () const -> bool=0
 
auto Widget () const -> bwWidget *override
 
auto Rectangle () const -> bwRectanglePixel override
 
auto MaskRectangle () const -> std::optional< bwRectanglePixel > override
 
auto isVisible () const -> bool override
 

Additional Inherited Members

- Public Types inherited from bWidgets::bwScreenGraph::Node
using ChildList = std::list< std::unique_ptr< Node > >
 
using ChildIterator = ChildList::iterator
 

Detailed Description

Node representing a widget with children.

Note virtual inheritance of LayoutNode and WidgetNode, required to solve diamond problems.

Member Function Documentation

◆ Children() [1/2]

auto bWidgets::bwScreenGraph::ContainerNode::Children ( ) -> ChildList*
inlineoverridevirtual

◆ Children() [2/2]

auto bWidgets::bwScreenGraph::ContainerNode::Children ( ) const -> const ChildList*
inlineoverridevirtual

◆ childrenVisible()

auto bWidgets::bwScreenGraph::ContainerNode::childrenVisible ( ) const -> bool
inlineoverridevirtual

Reimplemented from bWidgets::bwScreenGraph::Node.

◆ ContainerWidget()

auto bWidgets::bwScreenGraph::ContainerNode::ContainerWidget ( ) const -> bwContainerWidget&
inline

◆ ContentRectangle()

auto bWidgets::bwScreenGraph::ContainerNode::ContentRectangle ( ) const -> bwRectanglePixel
inline

◆ isVisible()

auto bWidgets::bwScreenGraph::ContainerNode::isVisible ( ) const -> bool
inlineoverridevirtual

◆ Layout()

auto bWidgets::bwScreenGraph::ContainerNode::Layout ( ) const -> bwLayoutInterface*
inlineoverridevirtual

◆ MaskRectangle()

auto bWidgets::bwScreenGraph::ContainerNode::MaskRectangle ( ) const -> std::optional<bwRectanglePixel>
inlineoverridevirtual

◆ Rectangle()

auto bWidgets::bwScreenGraph::ContainerNode::Rectangle ( ) const -> bwRectanglePixel
inlineoverridevirtual

◆ Widget()

auto bWidgets::bwScreenGraph::ContainerNode::Widget ( ) const -> bwWidget*
inlineoverridevirtual

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