code: def getSlicesString(self):
          
          if not self.rtiIsSliceable:
              return ''
  
          # The dimensions that are selected in the combo boxes will be set to slice(None),
          # the values from the spin boxes will be set as a single integer value
          nDims = self.rti.nDims
          sliceList = [':'] * nDims
  
          for spinBox in self._spinBoxes:
              dimNr = spinBox.property("dim_nr")
              sliceList[dimNr] = str(spinBox.value())
  
          # No need to shuffle combobox dimensions like in getSlicedArray; all combobox dimensions
          # yield a colon.
  
          return "[" + ", ".join(sliceList) + "]"
docs: Returns a string representation of the slices that are used to get the sliced array.
              For example returns '[:, 5]' if the combo box selects dimension 0 and the spin box 5.