Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QWasmWindowTreeNode Class Referenceabstract

#include <qwasmwindowtreenode.h>

+ Inheritance diagram for QWasmWindowTreeNode:
+ Collaboration diagram for QWasmWindowTreeNode:

Public Member Functions

 QWasmWindowTreeNode ()
 
virtual ~QWasmWindowTreeNode ()
 
virtual emscripten::val containerElement ()=0
 
virtual QWasmWindowTreeNodeparentNode ()=0
 

Protected Member Functions

virtual void onParentChanged (QWasmWindowTreeNode *previous, QWasmWindowTreeNode *current, QWasmWindowStack::PositionPreference positionPreference)
 
virtual QWasmWindowasWasmWindow ()
 
virtual void onSubtreeChanged (QWasmWindowTreeNodeChangeType changeType, QWasmWindowTreeNode *parent, QWasmWindow *child)
 
virtual void setWindowZOrder (QWasmWindow *window, int z)
 
void onPositionPreferenceChanged (QWasmWindowStack::PositionPreference positionPreference)
 
void setAsActiveNode ()
 
void bringToTop ()
 
void sendToBottom ()
 
const QWasmWindowStackchildStack () const
 
QWasmWindowactiveChild () const
 

Detailed Description

Definition at line 20 of file qwasmwindowtreenode.h.

Constructor & Destructor Documentation

◆ QWasmWindowTreeNode()

QWasmWindowTreeNode::QWasmWindowTreeNode ( )

Definition at line 8 of file qwasmwindowtreenode.cpp.

◆ ~QWasmWindowTreeNode()

QWasmWindowTreeNode::~QWasmWindowTreeNode ( )
virtualdefault

Member Function Documentation

◆ activeChild()

QWasmWindow * QWasmWindowTreeNode::activeChild ( ) const
inlineprotected

Definition at line 43 of file qwasmwindowtreenode.h.

Referenced by QWasmScreen::topWindow().

+ Here is the caller graph for this function:

◆ asWasmWindow()

QWasmWindow * QWasmWindowTreeNode::asWasmWindow ( )
protectedvirtual

Reimplemented in QWasmWindow.

Definition at line 33 of file qwasmwindowtreenode.cpp.

Referenced by bringToTop(), onParentChanged(), onPositionPreferenceChanged(), sendToBottom(), and setAsActiveNode().

+ Here is the caller graph for this function:

◆ bringToTop()

void QWasmWindowTreeNode::bringToTop ( )
protected

Definition at line 70 of file qwasmwindowtreenode.cpp.

References asWasmWindow(), bringToTop(), parentNode(), and QWasmWindowStack::raise().

Referenced by bringToTop(), and QWasmWindow::raise().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ childStack()

const QWasmWindowStack & QWasmWindowTreeNode::childStack ( ) const
inlineprotected

Definition at line 42 of file qwasmwindowtreenode.h.

Referenced by QWasmScreen::allWindows(), QWasmScreen::onSubtreeChanged(), and QWasmScreen::topLevelAt().

+ Here is the caller graph for this function:

◆ containerElement()

virtual emscripten::val QWasmWindowTreeNode::containerElement ( )
pure virtual

Implemented in QWasmScreen, and QWasmWindow.

Referenced by Resizer::getResizeConstraints(), and QWasmWindow::onParentChanged().

+ Here is the caller graph for this function:

◆ onParentChanged()

void QWasmWindowTreeNode::onParentChanged ( QWasmWindowTreeNode previous,
QWasmWindowTreeNode current,
QWasmWindowStack::PositionPreference  positionPreference 
)
protectedvirtual

Reimplemented in QWasmWindow.

Definition at line 15 of file qwasmwindowtreenode.cpp.

References asWasmWindow(), NodeInsertion, NodeRemoval, onSubtreeChanged(), QWasmWindowStack::pushWindow(), QWasmWindowStack::removeWindow(), and window().

Referenced by QWasmWindow::onParentChanged().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ onPositionPreferenceChanged()

void QWasmWindowTreeNode::onPositionPreferenceChanged ( QWasmWindowStack::PositionPreference  positionPreference)
protected

Definition at line 55 of file qwasmwindowtreenode.cpp.

References asWasmWindow(), parentNode(), and QWasmWindowStack::windowPositionPreferenceChanged().

Referenced by QWasmWindow::setWindowFlags().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ onSubtreeChanged()

void QWasmWindowTreeNode::onSubtreeChanged ( QWasmWindowTreeNodeChangeType  changeType,
QWasmWindowTreeNode parent,
QWasmWindow child 
)
protectedvirtual

Reimplemented in QWasmScreen.

Definition at line 38 of file qwasmwindowtreenode.cpp.

References child, NodeInsertion, onSubtreeChanged(), parent, parentNode(), QWasmWindow::requestActivateWindow(), and QWasmWindowStack::topWindow().

Referenced by onParentChanged(), onSubtreeChanged(), and QWasmScreen::onSubtreeChanged().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ parentNode()

virtual QWasmWindowTreeNode * QWasmWindowTreeNode::parentNode ( )
pure virtual

Implemented in QWasmScreen, and QWasmWindow.

Referenced by bringToTop(), onPositionPreferenceChanged(), onSubtreeChanged(), sendToBottom(), and setAsActiveNode().

+ Here is the caller graph for this function:

◆ sendToBottom()

void QWasmWindowTreeNode::sendToBottom ( )
protected

Definition at line 78 of file qwasmwindowtreenode.cpp.

References asWasmWindow(), QWasmWindowStack::lower(), and parentNode().

Referenced by QWasmWindow::lower().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setAsActiveNode()

void QWasmWindowTreeNode::setAsActiveNode ( )
protected

Definition at line 64 of file qwasmwindowtreenode.cpp.

References asWasmWindow(), and parentNode().

Referenced by QWasmWindow::requestActivateWindow().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setWindowZOrder()

void QWasmWindowTreeNode::setWindowZOrder ( QWasmWindow window,
int  z 
)
protectedvirtual

Definition at line 50 of file qwasmwindowtreenode.cpp.

References window().

+ Here is the call graph for this function:

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