Skip to content

Commit

Permalink
buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
sronilsson committed Aug 7, 2024
1 parent a66e346 commit f88452a
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions simba/SimBA.py
Original file line number Diff line number Diff line change
Expand Up @@ -852,8 +852,8 @@ def __init__(self):
video_process_menu.add_cascade(label="Concatenate (stack) videos...", compound="left", image=self.menu_icons["concat"]["img"], menu=concatenate_menu, font=Formats.FONT_REGULAR.value)
video_process_menu.add_command(label="Convert ROI definitions", compound="left", image=self.menu_icons["roi"]["img"], command=lambda: ConvertROIDefinitionsPopUp(), font=Formats.FONT_REGULAR.value)
convert_data_menu = Menu(video_process_menu)
convert_data_menu.add_command(label="Convert CSV to parquet", command=Csv2ParquetPopUp, font=Formats.FONT_REGULAR.value)
convert_data_menu.add_command(label="Convert parquet o CSV", command=Parquet2CsvPopUp, font=Formats.FONT_REGULAR.value)
convert_data_menu.add_command(label="Convert CSV to parquet", compound="left", image=self.menu_icons["parquet"]["img"], command=Csv2ParquetPopUp, font=Formats.FONT_REGULAR.value)
convert_data_menu.add_command(label="Convert parquet o CSV", compound="left", image=self.menu_icons["csv"]["img"], command=Parquet2CsvPopUp, font=Formats.FONT_REGULAR.value)

video_process_menu.add_cascade(label="Convert working file type...", compound="left", image=self.menu_icons["change"]["img"], menu=convert_data_menu, font=Formats.FONT_REGULAR.value)

Expand All @@ -880,20 +880,20 @@ def __init__(self):
video_process_menu.add_cascade(label="Reorganize Tracking Data", compound="left", image=self.menu_icons["reorganize"]["img"], command=PoseReorganizerPopUp, font=Formats.FONT_REGULAR.value)

rotate_menu = Menu(menu)
rotate_menu.add_command(label="Rotate videos", command=RotateVideoSetDegreesPopUp, font=Formats.FONT_REGULAR.value)
rotate_menu.add_command(label="Interactively rotate videos", command=VideoRotatorPopUp, font=Formats.FONT_REGULAR.value)
rotate_menu.add_command(label="Flip videos", command=FlipVideosPopUp, font=Formats.FONT_REGULAR.value)
rotate_menu.add_command(label="Reverse videos", command=ReverseVideoPopUp, font=Formats.FONT_REGULAR.value)
rotate_menu.add_command(label="Rotate videos", compound="left", image=self.menu_icons["flip_red"]["img"], command=RotateVideoSetDegreesPopUp, font=Formats.FONT_REGULAR.value)
rotate_menu.add_command(label="Interactively rotate videos", compound="left", image=self.menu_icons["flip_red"]["img"], command=VideoRotatorPopUp, font=Formats.FONT_REGULAR.value)
rotate_menu.add_command(label="Flip videos", compound="left", image=self.menu_icons["flip_green"]["img"], command=FlipVideosPopUp, font=Formats.FONT_REGULAR.value)
rotate_menu.add_command(label="Reverse videos", compound="left", image=self.menu_icons["reverse_blue"]["img"], command=ReverseVideoPopUp, font=Formats.FONT_REGULAR.value)
video_process_menu.add_cascade(label="Rotate / flip / reverse videos...", compound="left", image=self.menu_icons["rotate"]["img"], menu=rotate_menu, font=Formats.FONT_REGULAR.value)

superimpose_menu = Menu(menu)
superimpose_menu.add_command(label="Superimpose frame numbers", command=SuperImposeFrameCountPopUp, font=Formats.FONT_REGULAR.value)
superimpose_menu.add_command(label="Superimpose watermark", command=SuperimposeWatermarkPopUp, font=Formats.FONT_REGULAR.value)
superimpose_menu.add_command(label="Superimpose timer", command=SuperimposeTimerPopUp, font=Formats.FONT_REGULAR.value)
superimpose_menu.add_command(label="Superimpose progress-bar", command=SuperimposeProgressBarPopUp, font=Formats.FONT_REGULAR.value)
superimpose_menu.add_command(label="Superimpose video on video", command=SuperimposeVideoPopUp, font=Formats.FONT_REGULAR.value)
superimpose_menu.add_command(label="Superimpose video names", command=SuperimposeVideoNamesPopUp, font=Formats.FONT_REGULAR.value)
superimpose_menu.add_command(label="Superimpose free-text", command=SuperimposeTextPopUp, font=Formats.FONT_REGULAR.value)
superimpose_menu.add_command(label="Superimpose frame numbers", compound="left", image=self.menu_icons["number_black"]["img"], command=SuperImposeFrameCountPopUp, font=Formats.FONT_REGULAR.value)
superimpose_menu.add_command(label="Superimpose watermark", compound="left", image=self.menu_icons["watermark_green"]["img"], command=SuperimposeWatermarkPopUp, font=Formats.FONT_REGULAR.value)
superimpose_menu.add_command(label="Superimpose timer", compound="left", image=self.menu_icons["timer"]["img"], command=SuperimposeTimerPopUp, font=Formats.FONT_REGULAR.value)
superimpose_menu.add_command(label="Superimpose progress-bar", compound="left", image=self.menu_icons["progressbar_black"]["img"], command=SuperimposeProgressBarPopUp, font=Formats.FONT_REGULAR.value)
superimpose_menu.add_command(label="Superimpose video on video", compound="left", image=self.menu_icons["video"]["img"], command=SuperimposeVideoPopUp, font=Formats.FONT_REGULAR.value)
superimpose_menu.add_command(label="Superimpose video names", compound="left", image=self.menu_icons["id_card"]["img"], command=SuperimposeVideoNamesPopUp, font=Formats.FONT_REGULAR.value)
superimpose_menu.add_command(label="Superimpose free-text", compound="left", image=self.menu_icons["text_black"]["img"], command=SuperimposeTextPopUp, font=Formats.FONT_REGULAR.value)
video_process_menu.add_cascade(label="Superimpose on videos...", compound="left", image=self.menu_icons["superimpose"]["img"], menu=superimpose_menu, font=Formats.FONT_REGULAR.value)

temporal_join_videos = Menu(menu)
Expand Down
Binary file added simba/assets/icons/csv_grey.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added simba/assets/icons/flip_black.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added simba/assets/icons/flip_green.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added simba/assets/icons/flip_red.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added simba/assets/icons/number_black.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added simba/assets/icons/parquet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added simba/assets/icons/progressbar_black.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added simba/assets/icons/reverse_blue.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added simba/assets/icons/text_black.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added simba/assets/icons/watermark_green.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f88452a

Please sign in to comment.