Qt 6.x
The Qt SDK
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
QHVContainer< T > Class Template Reference

#include <qgridlayoutengine_p.h>

+ Collaboration diagram for QHVContainer< T >:

Public Member Functions

constexpr QHVContainer (const T &h, const T &v) noexcept(std::is_nothrow_copy_constructible_v< T >)
 
 QHVContainer ()=default
 
constexpr T & operator[] (Qt::Orientation o) noexcept
 
constexpr const T & operator[] (Qt::Orientation o) const noexcept
 
constexpr T & other (Qt::Orientation o) noexcept
 
constexpr const T & other (Qt::Orientation o) const noexcept
 
constexpr void transpose () noexcept
 
constexpr QHVContainer transposed () const noexcept(std::is_nothrow_copy_constructible_v< T >)
 

Detailed Description

template<typename T>
class QHVContainer< T >

Definition at line 70 of file qgridlayoutengine_p.h.

Constructor & Destructor Documentation

◆ QHVContainer() [1/2]

template<typename T >
constexpr QHVContainer< T >::QHVContainer ( const T &  h,
const T &  v 
)
inlineconstexprnoexcept

Definition at line 84 of file qgridlayoutengine_p.h.

References m_data.

◆ QHVContainer() [2/2]

template<typename T >
QHVContainer< T >::QHVContainer ( )
default

Member Function Documentation

◆ operator[]() [1/2]

template<typename T >
constexpr const T & QHVContainer< T >::operator[] ( Qt::Orientation  o) const
inlineconstexprnoexcept

Definition at line 90 of file qgridlayoutengine_p.h.

References map, and o.

◆ operator[]() [2/2]

template<typename T >
constexpr T & QHVContainer< T >::operator[] ( Qt::Orientation  o)
inlineconstexprnoexcept

Definition at line 89 of file qgridlayoutengine_p.h.

References map, and o.

◆ other() [1/2]

template<typename T >
constexpr const T & QHVContainer< T >::other ( Qt::Orientation  o) const
inlineconstexprnoexcept

Definition at line 93 of file qgridlayoutengine_p.h.

References o.

◆ other() [2/2]

template<typename T >
constexpr T & QHVContainer< T >::other ( Qt::Orientation  o)
inlineconstexprnoexcept

Definition at line 92 of file qgridlayoutengine_p.h.

References o.

◆ transpose()

template<typename T >
constexpr void QHVContainer< T >::transpose ( )
inlineconstexprnoexcept

Definition at line 95 of file qgridlayoutengine_p.h.

References qSwap().

Referenced by QGridLayoutItem::transpose(), and QGridLayoutEngine::transpose().

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

◆ transposed()

template<typename T >
constexpr QHVContainer QHVContainer< T >::transposed ( ) const
inlineconstexprnoexcept

Definition at line 96 of file qgridlayoutengine_p.h.

Referenced by QGridLayoutEngine::columnCount(), QGridLayoutItem::columnSpan(), and QGridLayoutItem::firstColumn().

+ Here is the caller graph for this function:

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