Logo Search packages:      
Sourcecode: kdbg version File versions

void KTreeView::setIndentSpacing ( int  spacing  ) 

Sets the indentation stepping, in pixels. If, in a derived class, the levels are indented differently this value may be ignored.

Parameters:
spacing specifies the new indentation spacing, in pixels

Definition at line 1123 of file ktreeview.cpp.

{
    if (itemIndent == spacing)
      return;
    itemIndent = spacing;
    updateCellWidth();
    if (autoUpdate() && isVisible())
      repaint();
}


Generated by  Doxygen 1.6.0   Back to index