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
QToolBarAreaLayoutLine Class Reference

#include <qtoolbararealayout_p.h>

+ Collaboration diagram for QToolBarAreaLayoutLine:

Public Member Functions

 QToolBarAreaLayoutLine ()
 
 QToolBarAreaLayoutLine (Qt::Orientation orientation)
 
QSize sizeHint () const
 
QSize minimumSize () const
 
void fitLayout ()
 
bool skip () const
 

Public Attributes

QRect rect
 
Qt::Orientation o
 
QList< QToolBarAreaLayoutItemtoolBarItems
 

Detailed Description

Definition at line 76 of file qtoolbararealayout_p.h.

Constructor & Destructor Documentation

◆ QToolBarAreaLayoutLine() [1/2]

QToolBarAreaLayoutLine::QToolBarAreaLayoutLine ( )
inline

Definition at line 79 of file qtoolbararealayout_p.h.

◆ QToolBarAreaLayoutLine() [2/2]

QToolBarAreaLayoutLine::QToolBarAreaLayoutLine ( Qt::Orientation orientation)

Definition at line 65 of file qtoolbararealayout.cpp.

Member Function Documentation

◆ fitLayout()

void QToolBarAreaLayoutLine::fitLayout ( )

Definition at line 110 of file qtoolbararealayout.cpp.

References i, item, minimumSize(), o, pick(), pos, QGraphicsItem::pos(), qMax(), qMin(), rect, QList< T >::size(), QRect::size(), and toolBarItems.

Referenced by QToolBarAreaLayoutInfo::fitLayout().

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

◆ minimumSize()

QSize QToolBarAreaLayoutLine::minimumSize ( ) const

Definition at line 90 of file qtoolbararealayout.cpp.

References i, item, o, perp(), pick(), qMax(), rperp(), rpick(), QList< T >::size(), and toolBarItems.

Referenced by fitLayout(), and QToolBarAreaLayoutInfo::minimumSize().

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

◆ sizeHint()

QSize QToolBarAreaLayoutLine::sizeHint ( ) const

Definition at line 70 of file qtoolbararealayout.cpp.

References QList< T >::at(), i, item, o, perp(), pick(), qMax(), rperp(), rpick(), QList< T >::size(), and toolBarItems.

Referenced by QToolBarAreaLayoutInfo::fitLayout(), and QToolBarAreaLayoutInfo::sizeHint().

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

◆ skip()

bool QToolBarAreaLayoutLine::skip ( ) const

Definition at line 152 of file qtoolbararealayout.cpp.

References QList< T >::at(), i, QList< T >::size(), QToolBarAreaLayoutItem::skip(), and toolBarItems.

Referenced by QToolBarAreaLayoutInfo::fitLayout(), QToolBarAreaLayoutInfo::minimumSize(), and QToolBarAreaLayoutInfo::sizeHint().

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

Member Data Documentation

◆ o

Qt::Orientation QToolBarAreaLayoutLine::o

Definition at line 89 of file qtoolbararealayout_p.h.

Referenced by fitLayout(), minimumSize(), and sizeHint().

◆ rect

QRect QToolBarAreaLayoutLine::rect

Definition at line 88 of file qtoolbararealayout_p.h.

Referenced by fitLayout(), and QToolBarAreaLayoutInfo::fitLayout().

◆ toolBarItems


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