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

bool ItemGroup::itemsAreSameType (  )  const [inline, inherited]

Returns true if all the items in the group are the same (e.g. resistors). This is checked for by looking at the ids of the items, and seeing if the string before "__#" is the same Note: if there are zero items in the group, then this will return true

Definition at line 89 of file itemgroup.h.

Referenced by CircuitDocument::fillContextMenu(), ItemGroup::itemsHaveSameData(), ItemGroup::itemsHaveSameDataValue(), and CircuitDocument::slotInitItemActions().

{ return b_itemsAreSameType; }


Generated by  Doxygen 1.6.0   Back to index