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

Method setItemHeight

ElaWidgetTools/ElaTreeView.cpp:45–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43ElaTreeView::~ElaTreeView() = default;
44
45void ElaTreeView::setItemHeight(int itemHeight)
46{
47 Q_D(ElaTreeView);
48 if (itemHeight > 0)
49 {
50 d->_treeViewStyle->setItemHeight(itemHeight);
51 doItemsLayout();
52 }
53}
54
55int ElaTreeView::getItemHeight() const
56{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected