From dbebd02d265abc3a571ce706ddcf24e6e48c69cc Mon Sep 17 00:00:00 2001 From: Anjok07 <68268275+Anjok07@users.noreply.github.com> Date: Tue, 26 Sep 2023 21:54:25 -0500 Subject: [PATCH] Add files via upload --- gui_data/app_size_values.py | 41 ++++++++++++++++++------------------- gui_data/constants.py | 7 ++++++- 2 files changed, 26 insertions(+), 22 deletions(-) diff --git a/gui_data/app_size_values.py b/gui_data/app_size_values.py index 93f8419..2cff89f 100644 --- a/gui_data/app_size_values.py +++ b/gui_data/app_size_values.py @@ -37,7 +37,7 @@ SCREEN_SIZE_VALUES = { }, "small": { "credits_img":(50, 50), - 'IMAGE_HEIGHT': 135, + 'IMAGE_HEIGHT': 140, 'FILEPATHS_HEIGHT': 75, 'OPTIONS_HEIGHT': 262, 'CONVERSIONBUTTON_HEIGHT': 30, @@ -49,7 +49,7 @@ SCREEN_SIZE_VALUES = { "medium": { "credits_img":(50, 50), ## App Size - 'IMAGE_HEIGHT': 135, + 'IMAGE_HEIGHT': 140, 'FILEPATHS_HEIGHT': 75, 'OPTIONS_HEIGHT': 262, 'CONVERSIONBUTTON_HEIGHT': 30, @@ -167,6 +167,21 @@ if OPERATING_SYSTEM=="Darwin": COMBO_WIDTH = 14 SET_VOC_SPLIT_CHECK_WIDTH = 21 elif OPERATING_SYSTEM=="Linux": + HELP_HINT_CHECKBOX_WIDTH = 15 + MDX_CHECKBOXS_WIDTH = 16 + VR_CHECKBOXS_WIDTH = 16 + ENSEMBLE_CHECKBOXS_WIDTH = 20 + DEMUCS_CHECKBOXS_WIDTH = 16 + DEMUCS_PRE_CHECKBOXS_WIDTH = 24 + GEN_SETTINGS_WIDTH = 20 + MENU_COMBOBOX_WIDTH = 18 + MENU_OPTION_WIDTH = 12 + READ_ONLY_COMBO_WIDTH = 40 + SETTINGS_BUT_WIDTH = 23 + VR_BUT_WIDTH = 18 + SET_MENUS_CHECK_WIDTH = 13 + COMBO_WIDTH = 16 + SET_VOC_SPLIT_CHECK_WIDTH = 25 FONT_SIZE_F1 = 10 FONT_SIZE_F2 = 8 FONT_SIZE_F3 = 9 @@ -175,23 +190,8 @@ elif OPERATING_SYSTEM=="Linux": FONT_SIZE_2 = 9 FONT_SIZE_3 = 10 FONT_SIZE_4 = 11 - FONT_SIZE_5 = 12 + FONT_SIZE_5 = 13 FONT_SIZE_6 = 15 - HELP_HINT_CHECKBOX_WIDTH = 13 - MDX_CHECKBOXS_WIDTH = 14 - VR_CHECKBOXS_WIDTH = 16 - ENSEMBLE_CHECKBOXS_WIDTH = 25 - DEMUCS_CHECKBOXS_WIDTH = 18 - DEMUCS_PRE_CHECKBOXS_WIDTH = 27 - GEN_SETTINGS_WIDTH = 17 - MENU_COMBOBOX_WIDTH = 19 - MENU_OPTION_WIDTH = 15 - READ_ONLY_COMBO_WIDTH = 45 - COMBO_WIDTH = 19 - SETTINGS_BUT_WIDTH = 26 - VR_BUT_WIDTH = 20 - SET_MENUS_CHECK_WIDTH = 15 - SET_VOC_SPLIT_CHECK_WIDTH = 28 elif OPERATING_SYSTEM=="Windows": HELP_HINT_CHECKBOX_WIDTH = 15 MDX_CHECKBOXS_WIDTH = 14 @@ -207,8 +207,7 @@ elif OPERATING_SYSTEM=="Windows": VR_BUT_WIDTH = 16 SET_MENUS_CHECK_WIDTH = 13 COMBO_WIDTH = 14 - SET_VOC_SPLIT_CHECK_WIDTH = 23 - + SET_VOC_SPLIT_CHECK_WIDTH = 23 FONT_SIZE_F1 = 10 FONT_SIZE_F2 = 8 FONT_SIZE_F3 = 9 @@ -369,4 +368,4 @@ Y_OFFSET_CONSOLE_FRAME_1080P = IMAGE_HEIGHT + FILEPATHS_HEIGHT + OPTIONS_HEIGHT LABEL_Y_OFFSET = MAIN_ROW_Y[0] ENTRY_X_OFFSET = SUB_ENT_ROW_X ENTRY_Y_OFFSET = MAIN_ROW_Y[1] -OPTION_WIDTH = MAIN_ROW_ALIGN_WIDTH \ No newline at end of file +OPTION_WIDTH = MAIN_ROW_ALIGN_WIDTH diff --git a/gui_data/constants.py b/gui_data/constants.py index 9505115..4047f3b 100644 --- a/gui_data/constants.py +++ b/gui_data/constants.py @@ -23,6 +23,11 @@ DEMUCS_6_STEM_MODEL = 'htdemucs_6s' DEFAULT = "Default" ALIGNMENT_TOOL = 'Alignment Tool Options' +SINGLE_FILE = 'SINGLE_FILE' +MULTIPLE_FILE = 'MULTI_FILE' +MAIN_MULTIPLE_FILE = 'MAIN_MULTI_FILE' +CHOOSE_EXPORT_FIR = 'CHOOSE_EXPORT_FIR' + DUAL = "dual" FOUR_STEM = "fourstem" ANY_STEM = "Any Stem" @@ -1561,4 +1566,4 @@ def secondary_stem(stem:str): else: secondary_stem = stem.replace(NO_STEM, "") if NO_STEM in stem else f"{NO_STEM}{stem}" - return secondary_stem \ No newline at end of file + return secondary_stem