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

Method setIsAnimation

ElaWidgetTools/ElaScrollArea.cpp:57–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57void ElaScrollArea::setIsAnimation(Qt::Orientation orientation, bool isAnimation)
58{
59 if (orientation == Qt::Horizontal)
60 {
61 dynamic_cast<ElaScrollBar*>(this->horizontalScrollBar())->setIsAnimation(isAnimation);
62 }
63 else
64 {
65 dynamic_cast<ElaScrollBar*>(this->verticalScrollBar())->setIsAnimation(isAnimation);
66 }
67}
68
69bool ElaScrollArea::getIsAnimation(Qt::Orientation orientation) const
70{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected