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

Method setCardCollapseWidth

ElaWidgetTools/ElaPromotionView.cpp:57–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55 Q_D(const ElaPromotionView);
56 return d->_pCardExpandWidth;
57}
58
59void ElaPromotionView::setCardCollapseWidth(int width)
60{
61 Q_D(ElaPromotionView);
62 if (width <= 0)
63 {
64 return;
65 }
66 d->_pCardCollapseWidth = width;
67 d->_updatePromotionCardGeometry();
68}
69

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected