As default, after clicked QCPAbstractItem's instance, the instance will keep be selected. But if I want inherit this class as a cursor, like in oscillograph, I want the instance is selected when i'm pressing mouse or dragging the instance, and instance is not selected when i release mouse. In this condition,I need override the function "void setSelected(bool)"