@@ -278,6 +278,14 @@ export default defineComponent({
278278
279279 const showMaxFrameButton = computed (() => clientSettings .typeSettings .maxCountButton );
280280
281+ const showAllAnnotations = computed ({
282+ get : () => props .filterControls .showAllAnnotations .value ,
283+ set : (val : boolean ) => {
284+ // eslint-disable-next-line no-param-reassign
285+ props .filterControls .showAllAnnotations .value = val ;
286+ },
287+ });
288+
281289 return {
282290 data ,
283291 headCheckState ,
@@ -293,6 +301,7 @@ export default defineComponent({
293301 virtualTypes ,
294302 readOnlyMode ,
295303 filteredTracksRef ,
304+ showAllAnnotations ,
296305 /* methods */
297306 clickDelete ,
298307 clickEdit ,
@@ -322,13 +331,31 @@ export default defineComponent({
322331 <v-checkbox
323332 :input-value =" headCheckState !== -1 ? headCheckState : false"
324333 :indeterminate =" headCheckState === -1"
334+ :disabled =" showAllAnnotations"
325335 dense
326336 shrink
327337 hide-details
328338 color =" white"
329339 class =" my-1 type-checkbox mt-0"
330340 @change =" headCheckClicked"
331341 />
342+ <v-tooltip
343+ open-delay =" 100"
344+ bottom
345+ >
346+ <template #activator =" { on } " >
347+ <v-icon
348+ small
349+ class =" mr-1 hover-show-child"
350+ :color =" showAllAnnotations ? 'primary' : ''"
351+ v-on =" on"
352+ @click =" showAllAnnotations = !showAllAnnotations"
353+ >
354+ mdi-filter-off-outline
355+ </v-icon >
356+ </template >
357+ <span >Disable Filters and Show All Annotations</span >
358+ </v-tooltip >
332359 <v-tooltip
333360 open-delay =" 100"
334361 bottom
@@ -396,6 +423,7 @@ export default defineComponent({
396423 :confidence-filter-num =" item.confidenceFilterNum"
397424 :width =" width"
398425 :display-max-button =" showMaxFrameButton"
426+ :disabled =" showAllAnnotations"
399427 @setCheckedTypes =" updateCheckedType($event, item.type)"
400428 @goToMaxFrame =" goToPeakTrackFrame($event)"
401429 @clickEdit =" clickEdit"
0 commit comments