增加QCamera State Machine