![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qnativenodeapi.h>
Public Member Functions | |
| Node (const Node &)=delete | |
| Node & | operator= (const Node &)=delete |
| Node (Node &&)=delete | |
| Node & | operator= (Node &&)=delete |
| ::ArkUI_NodeHandle | handle () const |
| void | setAttributeOrFail (::ArkUI_NodeAttributeType attributeType, float value) |
| void | setAttributeOrFail (::ArkUI_NodeAttributeType attributeType, std::uint32_t value) |
| void | setAttributeOrFail (::ArkUI_NodeAttributeType attributeType, std::int32_t value) |
| void | setAttributeOrFail (::ArkUI_NodeAttributeType attributeType, bool value) |
| void | setAttributeOrFail (::ArkUI_NodeAttributeType attributeType, const std::string &value) |
| template<std::size_t N> | |
| void | setAttributeOrFail (::ArkUI_NodeAttributeType attributeType, const std::array< float, N > &value) |
| template<std::size_t N> | |
| void | setAttributeOrFail (::ArkUI_NodeAttributeType attributeType, const std::array< std::int32_t, N > &value) |
| template<std::size_t N> | |
| void | setAttributeOrFail (::ArkUI_NodeAttributeType attributeType, const std::array< std::uint32_t, N > &value) |
| template<typename ... EnumTypes> | |
| std::enable_if_t< QtOhos::Conjuction< std::is_enum< EnumTypes >... >::value, void > | setAttributeOrFail (::ArkUI_NodeAttributeType attributeType, const std::tuple< EnumTypes ... > &enumValuesTuple) |
| template<typename T> | |
| std::enable_if_t< std::is_enum< T >::value, void > | setAttributeOrFail (::ArkUI_NodeAttributeType attributeType, T value) |
| void | addChildOrFail (Node &child) |
| void | removeChildOrFail (Node &child) |
| void | setEventHandler (::ArkUI_NodeEventType eventType, std::function< void(::ArkUI_NodeEvent *)> eventHandler) |
| template<typename T> | |
| T | getAttributeOrFail (::ArkUI_NodeAttributeType attributeType) const |
| template<> | |
| std::int32_t | getAttributeOrFail (::ArkUI_NodeAttributeType attributeType) const |
| void | setLengthMetricUnitOrFail (::ArkUI_LengthMetricUnit unit) |
| bool | hasParent () const |
| std::uint32_t | siblingsCount () const |
| void | moveTo (std::uint32_t index) |
Static Public Member Functions | |
| static std::unique_ptr< Node > | createOrFail (::ArkUI_NodeType type) |
| static std::unique_ptr< Node > | takeOwnershipOfExternalNode (::ArkUI_NodeHandle nodeHandle) |
| static bool | isQtManagedNode (::ArkUI_NodeHandle nodeHandle) |
| static std::optional<::ArkUI_NodeHandle > | tryfindChild (::ArkUI_NodeHandle nodeHandle, const std::function< bool(::ArkUI_NodeHandle)> predicate) |
| static QPoint | nodeGlobalPosition (::ArkUI_NodeHandle nodeHandle) |
| static QPoint | nodeDisplayPosition (::ArkUI_NodeHandle nodeHandle) |
Definition at line 28 of file qnativenodeapi.h.
|
delete |
|
delete |
Definition at line 180 of file qnativenodeapi.cpp.
Definition at line 197 of file qnativenodeapi.cpp.
| std::int32_t QArkUi::Node::getAttributeOrFail | ( | ::ArkUI_NodeAttributeType | attributeType | ) | const |
| T QArkUi::Node::getAttributeOrFail | ( | ::ArkUI_NodeAttributeType | attributeType | ) | const |
Definition at line 192 of file qnativenodeapi.cpp.
| bool Node< _Tp >::hasParent | ( | ) | const |
Definition at line 319 of file qnativenodeapi.cpp.
|
static |
Definition at line 289 of file qnativenodeapi.cpp.
Definition at line 332 of file qnativenodeapi.cpp.
Definition at line 360 of file qnativenodeapi.cpp.
Definition at line 351 of file qnativenodeapi.cpp.
Definition at line 223 of file qnativenodeapi.cpp.
Definition at line 161 of file qnativenodeapi.cpp.
| void Node< N >::setAttributeOrFail | ( | ::ArkUI_NodeAttributeType | attributeType, |
| const std::array< float, N > & | value ) |
Definition at line 143 of file qnativenodeapi.h.
| void Node< N >::setAttributeOrFail | ( | ::ArkUI_NodeAttributeType | attributeType, |
| const std::array< std::int32_t, N > & | value ) |
Definition at line 158 of file qnativenodeapi.h.
| void Node< N >::setAttributeOrFail | ( | ::ArkUI_NodeAttributeType | attributeType, |
| const std::array< std::uint32_t, N > & | value ) |
Definition at line 173 of file qnativenodeapi.h.
| void Node< _Tp >::setAttributeOrFail | ( | ::ArkUI_NodeAttributeType | attributeType, |
| const std::string & | value ) |
Definition at line 168 of file qnativenodeapi.cpp.
| std::enable_if_t< QtOhos::Conjuction< std::is_enum< EnumTypes >... >::value, void > Node< EnumTypes >::setAttributeOrFail | ( | ::ArkUI_NodeAttributeType | attributeType, |
| const std::tuple< EnumTypes ... > & | enumValuesTuple ) |
Definition at line 119 of file qnativenodeapi.h.
Definition at line 143 of file qnativenodeapi.cpp.
| void Node< _Tp >::setAttributeOrFail | ( | ::ArkUI_NodeAttributeType | attributeType, |
| std::int32_t | value ) |
Definition at line 149 of file qnativenodeapi.cpp.
| void Node< _Tp >::setAttributeOrFail | ( | ::ArkUI_NodeAttributeType | attributeType, |
| std::uint32_t | value ) |
Definition at line 155 of file qnativenodeapi.cpp.
| std::enable_if_t< std::is_enum< T >::value, void > Node< T >::setAttributeOrFail | ( | ::ArkUI_NodeAttributeType | attributeType, |
| T | value ) |
Definition at line 136 of file qnativenodeapi.h.
| void Node< _Tp >::setEventHandler | ( | ::ArkUI_NodeEventType | eventType, |
| std::function< void(::ArkUI_NodeEvent *)> | eventHandler ) |
Definition at line 230 of file qnativenodeapi.cpp.
Definition at line 310 of file qnativenodeapi.cpp.
| std::uint32_t Node< _Tp >::siblingsCount | ( | ) | const |
Definition at line 324 of file qnativenodeapi.cpp.
|
static |
Definition at line 281 of file qnativenodeapi.cpp.
|
static |
Definition at line 339 of file qnativenodeapi.cpp.