MCPcopy Create free account
hub / github.com/Liniyous/ElaWidgetTools / ElaFlowLayout

Method ElaFlowLayout

ElaWidgetTools/ElaFlowLayout.cpp:8–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6#include "private/ElaFlowLayoutPrivate.h"
7
8ElaFlowLayout::ElaFlowLayout(QWidget* parent, int margin, int hSpacing, int vSpacing)
9 : QLayout(parent), d_ptr(new ElaFlowLayoutPrivate())
10{
11 Q_D(ElaFlowLayout);
12 d->q_ptr = this;
13 d->_hSpacing = hSpacing;
14 d->_vSpacing = vSpacing;
15 setContentsMargins(margin, margin, margin, margin);
16}
17
18ElaFlowLayout::ElaFlowLayout(int margin, int hSpacing, int vSpacing)
19 : d_ptr(new ElaFlowLayoutPrivate())

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected