code: def getChecked(self):
          
          attrs = []
          layout = self.layout()
          for i in range(layout.count()):
              w = layout.itemAt(i).widget()
              if w.isChecked():
                  attrs.append(str(w.text()))
          return attrs
docs: Gets the checked attributes
  
          :returns: list<str> -- checked attribute names