Logo Search packages:      
Sourcecode: kdepim version File versions

void KDGanttViewItem::setShapes ( Shape  start,
Shape  middle,
Shape  end 
) [inherited]

Specifies the shapes to be used for this item.

It is advisable not to use this method, but rather set the shapes for all items of a type with KDGanttView::setShapes() in order to get a uniform Gantt view.

start the start shape
middle the middle shape
end the end shape
See also:
shapes(), setColors(), colors()

Definition at line 778 of file KDGanttViewItem.cpp.

References KDGanttViewItem::createShape(), KDGanttViewItem::endShape, KDGanttViewItem::endShapeBack, KDGanttViewItem::midShape, KDGanttViewItem::midShapeBack, KDGanttViewItem::startShape, KDGanttViewItem::startShapeBack, and KDGanttViewItem::updateCanvasItems().


    myStartShape =  start;
    myMiddleShape= middle;
    myEndShape=  end;
    midShape->setZ( 4 );

Generated by  Doxygen 1.6.0   Back to index