Remove hard coded QLabels and generate their text based on values extracted from an array