The Queen has carried out her first major engagement since the death of Prince Phillip.