code: def setup_filter(self, ):
          
          types = self.refobjinter.types.keys()
          for i, t in enumerate(types):
              cb = QtGui.QCheckBox("%s" % t)
              cb.setChecked(True)
              cb.toggled.connect(self.update_filter)
              self.typecbmap[t] = cb
              self.typefilter_grid.addWidget(cb, int(i / 4), i % 4)
docs: Create a checkbox for every reftrack type so one can filter them
  
          :returns: None
          :rtype: None
          :raises: None