| 6 | #include "private/ElaFlowLayoutPrivate.h" |
| 7 | |
| 8 | ElaFlowLayout::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 | |
| 18 | ElaFlowLayout::ElaFlowLayout(int margin, int hSpacing, int vSpacing) |
| 19 | : d_ptr(new ElaFlowLayoutPrivate()) |
nothing calls this directly
no outgoing calls
no test coverage detected