Sets the attributes *tocheck* as checked

        :param tocheck: attributes names to check
        :type tocheck: list<str>

def setChecked(self, tocheck):
        """Sets the attributes *tocheck* as checked

        :param tocheck: attributes names to check
        :type tocheck: list<str>
        """
        layout = self.layout()
        for i in range(layout.count()):
            w = layout.itemAt(i).widget()
            if w.text() in tocheck:
                w.setChecked(True)