CPP : Selectable object in view