[Chore] Config Window: config.py, CTkScrollableDropdownのimport文を削除

This commit is contained in:
Sakamoto Shiina
2023-09-02 02:36:17 +09:00
parent 2ee8eca63b
commit a4507eea18
7 changed files with 1 additions and 24 deletions

View File

@@ -1,11 +1,9 @@
from customtkinter import CTkOptionMenu, CTkFont, CTkFrame, CTkLabel, CTkRadioButton, CTkEntry, CTkSlider, CTkSwitch, CTkCheckBox, CTkProgressBar, END as CTK_END, StringVar, IntVar
from ctk_scrollable_dropdown import CTkScrollableDropdown
from customtkinter import CTkOptionMenu, CTkFont, CTkFrame, CTkLabel, CTkRadioButton, CTkEntry, CTkSlider, CTkSwitch, CTkCheckBox, CTkProgressBar, END as CTK_END
from vrct_gui.ui_utils import createButtonWithImage
from typing import Union
class _SettingBoxGenerator():
def __init__(self, config_window, settings):

View File

@@ -1,11 +1,7 @@
from customtkinter import StringVar, IntVar
from utils import callFunctionIfCallable
from .._SettingBoxGenerator import _SettingBoxGenerator
from config import config
def createSettingBox_AdvancedSettings(setting_box_wrapper, config_window, settings):
sbg = _SettingBoxGenerator(config_window, settings)
createSettingBoxEntry = sbg.createSettingBoxEntry

View File

@@ -2,8 +2,6 @@ from utils import callFunctionIfCallable
from .._SettingBoxGenerator import _SettingBoxGenerator
from config import config
def createSettingBox_Appearance(setting_box_wrapper, config_window, settings):
sbg = _SettingBoxGenerator(config_window, settings)
createSettingBoxDropdownMenu = sbg.createSettingBoxDropdownMenu

View File

@@ -1,11 +1,7 @@
from customtkinter import StringVar, IntVar
from utils import callFunctionIfCallable
from .._SettingBoxGenerator import _SettingBoxGenerator
from config import config
def createSettingBox_Others(setting_box_wrapper, config_window, settings):
sbg = _SettingBoxGenerator(config_window, settings)
createSettingBoxCheckbox = sbg.createSettingBoxCheckbox

View File

@@ -1,12 +1,9 @@
from time import sleep
from customtkinter import StringVar, IntVar
from utils import callFunctionIfCallable
from .._SettingBoxGenerator import _SettingBoxGenerator
def createSettingBox_Mic(setting_box_wrapper, config_window, settings):
sbg = _SettingBoxGenerator(config_window, settings)
createSettingBoxDropdownMenu = sbg.createSettingBoxDropdownMenu

View File

@@ -1,13 +1,9 @@
from time import sleep
from customtkinter import StringVar, IntVar
from utils import callFunctionIfCallable
from .._SettingBoxGenerator import _SettingBoxGenerator
from config import config
def createSettingBox_Speaker(setting_box_wrapper, config_window, settings):
sbg = _SettingBoxGenerator(config_window, settings)
createSettingBoxDropdownMenu = sbg.createSettingBoxDropdownMenu

View File

@@ -1,11 +1,7 @@
from customtkinter import StringVar, IntVar
from utils import callFunctionIfCallable
from .._SettingBoxGenerator import _SettingBoxGenerator
from config import config
def createSettingBox_Translation(setting_box_wrapper, config_window, settings):
sbg = _SettingBoxGenerator(config_window, settings)
createSettingBoxEntry = sbg.createSettingBoxEntry