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

Method setCardExpandWidth

ElaWidgetTools/ElaPromotionView.cpp:40–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38ElaPromotionView::~ElaPromotionView()
39{
40}
41
42void ElaPromotionView::setCardExpandWidth(int width)
43{
44 Q_D(ElaPromotionView);
45 if (width <= 0)
46 {
47 return;
48 }
49 d->_pCardExpandWidth = width;
50 d->_updatePromotionCardGeometry();
51}
52

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected