RetroArch
Signals | Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
FlowLayout Class Reference

#include <flowlayout.h>

Inheritance diagram for FlowLayout:
[legend]
Collaboration diagram for FlowLayout:
[legend]

Signals

void signalAddWidgetDeferred (QPointer< ThumbnailWidget > widget)
 

Public Member Functions

 FlowLayout (QWidget *parent, int margin=-1, int hSpacing=-1, int vSpacing=-1)
 
 FlowLayout (int margin=-1, int hSpacing=-1, int vSpacing=-1)
 
 ~FlowLayout ()
 
void addItem (QLayoutItem *item)
 
int horizontalSpacing () const
 
int verticalSpacing () const
 
Qt::Orientations expandingDirections () const
 
bool hasHeightForWidth () const
 
int heightForWidth (int) const
 
int count () const
 
QLayoutItem * itemAt (int index) const
 
QSize minimumSize () const
 
void setGeometry (const QRect &rect)
 
QSize sizeHint () const
 
QLayoutItem * takeAt (int index)
 
void addWidgetDeferred (QPointer< ThumbnailWidget > widget)
 

Private Slots

void onAddWidgetDeferred (QPointer< ThumbnailWidget > widget)
 

Private Member Functions

int doLayout (const QRect &rect, bool testOnly) const
 
int smartSpacing (QStyle::PixelMetric pm) const
 

Private Attributes

QVector< QLayoutItem * > itemList
 
int m_hSpace
 
int m_vSpace
 

Constructor & Destructor Documentation

◆ FlowLayout() [1/2]

FlowLayout::FlowLayout ( QWidget *  parent,
int  margin = -1,
int  hSpacing = -1,
int  vSpacing = -1 
)
explicit
Here is the call graph for this function:

◆ FlowLayout() [2/2]

FlowLayout::FlowLayout ( int  margin = -1,
int  hSpacing = -1,
int  vSpacing = -1 
)
explicit

◆ ~FlowLayout()

FlowLayout::~FlowLayout ( )
Here is the call graph for this function:

Member Function Documentation

◆ addItem()

void FlowLayout::addItem ( QLayoutItem *  item)

◆ addWidgetDeferred()

void FlowLayout::addWidgetDeferred ( QPointer< ThumbnailWidget widget)
Here is the caller graph for this function:

◆ count()

int FlowLayout::count ( ) const

◆ doLayout()

int FlowLayout::doLayout ( const QRect &  rect,
bool  testOnly 
) const
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ expandingDirections()

Qt::Orientations FlowLayout::expandingDirections ( ) const

◆ hasHeightForWidth()

bool FlowLayout::hasHeightForWidth ( ) const

◆ heightForWidth()

int FlowLayout::heightForWidth ( int  width) const
Here is the call graph for this function:

◆ horizontalSpacing()

int FlowLayout::horizontalSpacing ( ) const
Here is the call graph for this function:
Here is the caller graph for this function:

◆ itemAt()

QLayoutItem * FlowLayout::itemAt ( int  index) const

◆ minimumSize()

QSize FlowLayout::minimumSize ( ) const
Here is the caller graph for this function:

◆ onAddWidgetDeferred

void FlowLayout::onAddWidgetDeferred ( QPointer< ThumbnailWidget widget)
privateslot
Here is the caller graph for this function:

◆ setGeometry()

void FlowLayout::setGeometry ( const QRect &  rect)
Here is the call graph for this function:

◆ signalAddWidgetDeferred

void FlowLayout::signalAddWidgetDeferred ( QPointer< ThumbnailWidget widget)
signal
Here is the caller graph for this function:

◆ sizeHint()

QSize FlowLayout::sizeHint ( ) const
Here is the call graph for this function:

◆ smartSpacing()

int FlowLayout::smartSpacing ( QStyle::PixelMetric  pm) const
private
Here is the caller graph for this function:

◆ takeAt()

QLayoutItem * FlowLayout::takeAt ( int  index)
Here is the caller graph for this function:

◆ verticalSpacing()

int FlowLayout::verticalSpacing ( ) const
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ itemList

QVector<QLayoutItem*> FlowLayout::itemList
private

◆ m_hSpace

int FlowLayout::m_hSpace
private

◆ m_vSpace

int FlowLayout::m_vSpace
private

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