MCPcopy Create free account
hub / github.com/MiniZinc/MiniZincIDE / TreeScrollArea

Method TreeScrollArea

cp-profiler/src/cpprofiler/tree/tree_scroll_area.cpp:276–281  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

274}
275
276TreeScrollArea::TreeScrollArea(NodeID start, const NodeTree &tree, const UserData &user_data, const Layout &layout, const VisualFlags &nf)
277 : m_start_node(start), m_tree(tree), user_data_(user_data), m_layout(layout), m_vis_flags(nf)
278{
279 setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOn);
280 setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOn);
281}
282
283void TreeScrollArea::centerPoint(int x, int y)
284{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected