code: def refreshThumbnails( self ):
          
          # clear existing items
          widget = self.thumbnailWidget()
          widget.setUpdatesEnabled(False)
          widget.blockSignals(True)
          
          widget.clear()
          widget.setIconSize(self.thumbnailSize())
          
          factory = self.factory()
          
          # load grouped thumbnails (only allow 1 level of grouping)
          if ( self.isGroupingActive() ):
              grouping = self.records().grouped()
              for groupName, records in sorted(grouping.items()):
                  self._loadThumbnailGroup(groupName, records)
          
          # load ungrouped thumbnails
          else:
              # load the records into the thumbnail
              for record in self.records():
                  thumbnail = factory.thumbnail(record)
                  text      = factory.thumbnailText(record)
                  RecordListWidgetItem(thumbnail, text, record, widget)
          
          widget.setUpdatesEnabled(True)
          widget.blockSignals(False)
docs: Refreshes the thumbnails view of the browser.