nngn
Loading...
Searching...
No Matches
nngn::FlowGridLayout Class Referencefinal

Resizable QGridLayout composed of uniform, fixed-size widgets. More...

#include <flow_grid_layout.h>

Inheritance diagram for nngn::FlowGridLayout:
Collaboration diagram for nngn::FlowGridLayout:

Public Member Functions

QSize minimumSize (void) const final
 
QSize sizeHint (void) const final
 
void setGeometry (const QRect &rect) final
 

Private Member Functions

QSize size_for_columns (int c) const
 

Private Attributes

int rows = 0
 
int columns = 0
 

Detailed Description

Resizable QGridLayout composed of uniform, fixed-size widgets.

Based on https://doc.qt.io/qt-6/qtwidgets-layouts-flowlayout-example.html.

Member Function Documentation

◆ minimumSize()

QSize nngn::FlowGridLayout::minimumSize ( void ) const
final
Here is the call graph for this function:

◆ setGeometry()

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

◆ size_for_columns()

QSize nngn::FlowGridLayout::size_for_columns ( int c) const
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sizeHint()

QSize nngn::FlowGridLayout::sizeHint ( void ) const
final
Here is the call graph for this function:

Member Data Documentation

◆ columns

int nngn::FlowGridLayout::columns = 0
private

◆ rows

int nngn::FlowGridLayout::rows = 0
private

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