Logo Search packages:      
Sourcecode: ktechlab version File versions  Download package

void PicItem::updateZ ( int  baseZ  )  [virtual]

Sets this item to the given baseZ level, and calls this function for the children with baseZ incremented by one. Reinherit this function to set the Z of attached stuff (such as nodes).

Reimplemented from CNItem.

Definition at line 294 of file picitem.cpp.

      setZ( (ICNDocument::Z::RaisedItem + ICNDocument::Z::ResizeHandle)/2 ); // Hackish, but whatever
      button("settings")->setZ( z()+1 );
      button("expandBtn")->setZ( z()+1 );

Generated by  Doxygen 1.6.0   Back to index