![]() |
Qt 6.x
The Qt SDK
|
#include <qwasmwindowstack.h>
Collaboration diagram for QWasmWindowStack:Public Types | |
| enum class | PositionPreference { StayOnBottom , Regular , StayOnTop } |
| using | WindowOrderChangedCallbackType = std::function< void()> |
| using | StorageType = QList< QWasmWindow * > |
| using | iterator = StorageType::reverse_iterator |
| using | const_iterator = StorageType::const_reverse_iterator |
| using | const_reverse_iterator = StorageType::const_iterator |
Public Member Functions | |
| QWasmWindowStack (WindowOrderChangedCallbackType topWindowChangedCallback) | |
| ~QWasmWindowStack () | |
| void | pushWindow (QWasmWindow *window, PositionPreference position) |
| void | removeWindow (QWasmWindow *window) |
| void | raise (QWasmWindow *window) |
| void | lower (QWasmWindow *window) |
| void | windowPositionPreferenceChanged (QWasmWindow *window, PositionPreference position) |
| iterator | begin () |
| iterator | end () |
| const_iterator | begin () const |
| const_iterator | end () const |
| const_reverse_iterator | rbegin () const |
| const_reverse_iterator | rend () const |
| bool | empty () const |
| size_t | size () const |
| QWasmWindow * | topWindow () const |
Definition at line 24 of file qwasmwindowstack.h.
Definition at line 32 of file qwasmwindowstack.h.
| using QWasmWindowStack::const_reverse_iterator = StorageType::const_iterator |
Definition at line 33 of file qwasmwindowstack.h.
Definition at line 31 of file qwasmwindowstack.h.
| using QWasmWindowStack::StorageType = QList<QWasmWindow *> |
Definition at line 29 of file qwasmwindowstack.h.
| using QWasmWindowStack::WindowOrderChangedCallbackType = std::function<void()> |
Definition at line 27 of file qwasmwindowstack.h.
|
strong |
| Enumerator | |
|---|---|
| StayOnBottom | |
| Regular | |
| StayOnTop | |
Definition at line 35 of file qwasmwindowstack.h.
|
explicit |
Definition at line 8 of file qwasmwindowstack.cpp.
|
default |
| QWasmWindowStack::iterator QWasmWindowStack::begin | ( | ) |
Definition at line 148 of file qwasmwindowstack.cpp.
References QList< T >::rbegin().
Referenced by windowPositionPreferenceChanged().
Here is the call graph for this function:
Here is the caller graph for this function:| QWasmWindowStack::const_iterator QWasmWindowStack::begin | ( | ) | const |
Definition at line 158 of file qwasmwindowstack.cpp.
References QList< T >::rbegin().
Here is the call graph for this function:| bool QWasmWindowStack::empty | ( | ) | const |
Definition at line 178 of file qwasmwindowstack.cpp.
References QList< T >::empty().
Here is the call graph for this function:| QWasmWindowStack::iterator QWasmWindowStack::end | ( | ) |
Definition at line 153 of file qwasmwindowstack.cpp.
References QList< T >::rend().
Referenced by QWasmScreen::topLevelAt().
Here is the call graph for this function:
Here is the caller graph for this function:| QWasmWindowStack::const_iterator QWasmWindowStack::end | ( | ) | const |
Definition at line 163 of file qwasmwindowstack.cpp.
References QList< T >::rend().
Here is the call graph for this function:| void QWasmWindowStack::lower | ( | QWasmWindow * | window | ) |
Definition at line 83 of file qwasmwindowstack.cpp.
References QList< T >::begin(), QList< T >::count(), QList< T >::end(), it, position(), Q_ASSERT, Regular, StayOnBottom, StayOnTop, and window().
Referenced by QWasmWindowTreeNode::sendToBottom().
Here is the call graph for this function:
Here is the caller graph for this function:| void QWasmWindowStack::pushWindow | ( | QWasmWindow * | window, |
| PositionPreference | position | ||
| ) |
Definition at line 17 of file qwasmwindowstack.cpp.
References QList< T >::begin(), QList< T >::count(), QList< T >::insert(), position(), QList< T >::push_back(), Q_ASSERT, Regular, StayOnTop, and window().
Referenced by QWasmWindowTreeNode::onParentChanged().
Here is the call graph for this function:
Here is the caller graph for this function:| void QWasmWindowStack::raise | ( | QWasmWindow * | window | ) |
Definition at line 61 of file qwasmwindowstack.cpp.
References QList< T >::begin(), QList< T >::count(), QList< T >::end(), it, position(), Q_ASSERT, Regular, StayOnBottom, StayOnTop, topWindow(), and window().
Referenced by QWasmWindowTreeNode::bringToTop().
Here is the call graph for this function:
Here is the caller graph for this function:| QWasmWindowStack::const_reverse_iterator QWasmWindowStack::rbegin | ( | ) | const |
Definition at line 168 of file qwasmwindowstack.cpp.
References QList< T >::begin().
Here is the call graph for this function:| void QWasmWindowStack::removeWindow | ( | QWasmWindow * | window | ) |
Definition at line 42 of file qwasmwindowstack.cpp.
References QList< T >::begin(), QList< T >::count(), QList< T >::end(), QList< T >::erase(), it, position(), Q_ASSERT, StayOnBottom, StayOnTop, and window().
Referenced by QWasmWindowTreeNode::onParentChanged().
Here is the call graph for this function:
Here is the caller graph for this function:| QWasmWindowStack::const_reverse_iterator QWasmWindowStack::rend | ( | ) | const |
Definition at line 173 of file qwasmwindowstack.cpp.
References QList< T >::end().
Here is the call graph for this function:| size_t QWasmWindowStack::size | ( | ) | const |
Definition at line 183 of file qwasmwindowstack.cpp.
References QList< T >::size().
Here is the call graph for this function:| QWasmWindow * QWasmWindowStack::topWindow | ( | ) | const |
Definition at line 188 of file qwasmwindowstack.cpp.
References QList< T >::empty(), QList< T >::last(), and nullptr.
Referenced by QWasmWindowTreeNode::onSubtreeChanged(), and raise().
Here is the call graph for this function:
Here is the caller graph for this function:| void QWasmWindowStack::windowPositionPreferenceChanged | ( | QWasmWindow * | window, |
| PositionPreference | position | ||
| ) |
Definition at line 106 of file qwasmwindowstack.cpp.
References QList< T >::begin(), begin(), QList< T >::end(), it, position(), Q_ASSERT, Regular, window(), and zones.
Referenced by QWasmWindowTreeNode::onPositionPreferenceChanged().
Here is the call graph for this function:
Here is the caller graph for this function: