Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QtPrivate::FixedColumnMatrix< T, NumColumns > Class Template Reference
+ Collaboration diagram for QtPrivate::FixedColumnMatrix< T, NumColumns >:

Public Types

typedef QList< T > Storage
 

Public Member Functions

 FixedColumnMatrix ()
 
void clear ()
 
const T & operator() (int r, int c) const
 
T & operator() (int r, int c)
 
int rowCount () const
 
void insertRow (int r, const T &value)
 
void removeRow (int r)
 
const Storagestorage () const
 

Static Public Member Functions

static void storageIndexToPosition (int idx, int *rowPtr, int *colPtr)
 

Detailed Description

template<class T, int NumColumns>
class QtPrivate::FixedColumnMatrix< T, NumColumns >

Definition at line 20 of file qformlayout.cpp.

Member Typedef Documentation

◆ Storage

template<class T , int NumColumns>
typedef QList<T> QtPrivate::FixedColumnMatrix< T, NumColumns >::Storage

Definition at line 22 of file qformlayout.cpp.

Constructor & Destructor Documentation

◆ FixedColumnMatrix()

template<class T , int NumColumns>
QtPrivate::FixedColumnMatrix< T, NumColumns >::FixedColumnMatrix ( )
inline

Definition at line 24 of file qformlayout.cpp.

Member Function Documentation

◆ clear()

template<class T , int NumColumns>
void QtPrivate::FixedColumnMatrix< T, NumColumns >::clear ( )
inline

Definition at line 26 of file qformlayout.cpp.

References QList< T >::clear().

+ Here is the call graph for this function:

◆ insertRow()

template<class T , int NumColumns>
void QtPrivate::FixedColumnMatrix< T, NumColumns >::insertRow ( int r,
const T & value )

Definition at line 45 of file qformlayout.cpp.

References it, and m_storage.

Referenced by QFormLayoutPrivate::insertRows().

+ Here is the caller graph for this function:

◆ operator()() [1/2]

template<class T , int NumColumns>
T & QtPrivate::FixedColumnMatrix< T, NumColumns >::operator() ( int r,
int c )
inline

Definition at line 29 of file qformlayout.cpp.

◆ operator()() [2/2]

template<class T , int NumColumns>
const T & QtPrivate::FixedColumnMatrix< T, NumColumns >::operator() ( int r,
int c ) const
inline

Definition at line 28 of file qformlayout.cpp.

◆ removeRow()

template<class T , int NumColumns>
void QtPrivate::FixedColumnMatrix< T, NumColumns >::removeRow ( int r)

Definition at line 53 of file qformlayout.cpp.

References m_storage.

Referenced by QFormLayoutPrivate::removeRow().

+ Here is the caller graph for this function:

◆ rowCount()

template<class T , int NumColumns>
int QtPrivate::FixedColumnMatrix< T, NumColumns >::rowCount ( ) const
inline

Definition at line 31 of file qformlayout.cpp.

References QList< T >::size().

Referenced by QFormLayoutPrivate::arrangeWidgets(), QFormLayoutPrivate::insertRow(), QFormLayoutPrivate::removeRow(), QFormLayoutPrivate::setItem(), QFormLayoutPrivate::setupHfwLayoutData(), QFormLayoutPrivate::setupHorizontalLayoutData(), QFormLayoutPrivate::setupVerticalLayoutData(), and QFormLayoutPrivate::updateSizes().

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

◆ storage()

template<class T , int NumColumns>
const Storage & QtPrivate::FixedColumnMatrix< T, NumColumns >::storage ( ) const
inline

Definition at line 36 of file qformlayout.cpp.

◆ storageIndexToPosition()

template<class T , int NumColumns>
void QtPrivate::FixedColumnMatrix< T, NumColumns >::storageIndexToPosition ( int idx,
int * rowPtr,
int * colPtr )
static

Definition at line 59 of file qformlayout.cpp.


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