MCPcopy Index your code

hub / github.com/RinLit-233-shiroko/Class-Widgets-2 / functions

Functions254 in github.com/RinLit-233-shiroko/Class-Widgets-2

↓ 32 callersMethodget
(self)
src/core/utils/json_loader.py:32
↓ 6 callersMethodload
(self)
src/core/themes/manager.py:65
↓ 5 callersFunctiongenerate_id
(prefix: str = "id")
src/core/utils/__init__.py:13
↓ 5 callersMethodget_current_entry
(day: Timeline, now: Optional[datetime] = None)
src/core/schedule/service.py:49
↓ 4 callersFunction_create_empty_schedule
()
src/core/schedule/manager.py:15
↓ 4 callersFunction_parse_version
(v: str)
src/core/utils/__init__.py:16
↓ 4 callersMethodsetup_qml_context
为窗口设置标准的QML上下文属性 Args: window: RinUIWindow实例
src/core/central.py:139
↓ 4 callersMethodsyncCurrentPreset
同步当前 _instances 到 _presets
src/core/widgets/model.py:107
↓ 3 callersMethod__init__
(self, parent: AppCentral)
src/core/central.py:285
↓ 3 callersMethod_normalize_preset_entries
(self, entries: List[Union[str, dict, WidgetEntry]])
src/core/widgets/model.py:69
↓ 3 callersMethodadd
创建新的空课表
src/core/schedule/manager.py:119
↓ 3 callersMethodgetDay
获取日程信息
src/core/schedule/editor.py:138
↓ 3 callersMethodgetSubject
获取科目信息
src/core/schedule/editor.py:84
↓ 3 callersMethodload
(self)
src/core/utils/json_loader.py:12
↓ 3 callersMethodsave
(self, data: Any)
src/core/utils/json_loader.py:35
↓ 3 callersMethodsave
(self, path: Path | None = None)
src/core/schedule/manager.py:89
↓ 3 callersMethodscan
扫描内置和外部插件目录,收集所有插件的元数据
src/core/plugin/manager.py:65
↓ 3 callersMethodtr
提供 QML 访问翻译的接口
src/core/utils/translator.py:53
↓ 2 callersMethod_bind_nested_on_change
递归绑定 _on_change 给所有嵌套的 ConfigBaseModel
src/core/config/manager.py:44
↓ 2 callersMethod_hide
隐藏窗口
src/core/automations/builtin_tasks.py:45
↓ 2 callersMethod_is_in_week
判断某个 weeks 字段是否包含当前周 - "all" 或 WeekType.ALL → 永远 True - None → 永远 True(等于没限制) - int → 当前周 == int - list[int]
src/core/schedule/service.py:124
↓ 2 callersMethod_load_meta
(self, plugin_dir: Path, type="external")
src/core/plugin/manager.py:77
↓ 2 callersMethod_load_with_theme
加载QML并应用主题
src/core/widgets/core.py:38
↓ 2 callersMethodadd_task
Add a task instance
src/core/automations/manager.py:27
↓ 2 callersFunctionautostart_supported
Check if autostart is supported on this platform
src/core/utils/auto_startup.py:16
↓ 2 callersFunctioncheck_api_version
(plugin_api_version: str, app_version: str)
src/core/utils/__init__.py:19
↓ 2 callersMethodcleanup
(self)
src/core/central.py:98
↓ 2 callersMethoddiscover_plugins_in_dir
(self, base_dir: Path)
src/core/plugin/manager.py:57
↓ 2 callersMethodgetEntry
获取条目信息
src/core/schedule/editor.py:202
↓ 2 callersFunctionget_default_subjects
()
src/core/utils/subjects.py:27
↓ 2 callersMethodget_next_entries
(day: Timeline, now: Optional[datetime] = None)
src/core/schedule/service.py:63
↓ 2 callersMethodload_preset
(self, preset_name: str)
src/core/widgets/model.py:132
↓ 2 callersMethodname
(self)
src/core/automations/base.py:16
↓ 2 callersMethodon_unload
插件卸载时调用
src/core/plugin/api.py:91
↓ 2 callersMethodrefresh
(self, schedule: ScheduleData)
src/core/schedule/editor.py:24
↓ 2 callersMethodrun
(self)
src/core/central.py:72
↓ 2 callersMethodstart
(self)
src/core/timer/union_update.py:13
↓ 2 callersMethodupdate
每秒调用,由 AutomationManager 调度
src/core/automations/base.py:11
↓ 1 callersMethod__init__
(self, app_central)
src/core/plugin/api.py:18
↓ 1 callersMethod_get_week_number
根据 schedule.meta.startDate 算出当前是第几周
src/core/schedule/service.py:112
↓ 1 callersMethod_init_builtin_tasks
Instantiate and register all built-in tasks
src/core/automations/manager.py:18
↓ 1 callersMethod_init_tray_icon
(self)
src/core/central.py:195
↓ 1 callersMethod_initialize_cores
初始化核心
src/core/central.py:39
↓ 1 callersMethod_initialize_schedule_components
初始化调度相关组件
src/core/central.py:57
↓ 1 callersMethod_initialize_ui_components
初始化UI组件
src/core/central.py:66
↓ 1 callersMethod_initialized_plugin
(self, meta: dict)
src/core/plugin/manager.py:105
↓ 1 callersMethod_load_config
加载和验证配置
src/core/central.py:90
↓ 1 callersMethod_load_runtime
(self)
src/core/central.py:168
↓ 1 callersMethod_load_schedule
加载课程表
src/core/central.py:156
↓ 1 callersMethod_load_theme_and_plugins
主题和插件
src/core/central.py:187
↓ 1 callersMethod_load_translator
加载翻译
src/core/central.py:163
↓ 1 callersMethod_override_applies
(self, override: Timetable, weekday: int, current_week: int)
src/core/schedule/service.py:39
↓ 1 callersMethod_setup_logging
根据 Configs.app.no_logs 决定是否写日志到文件
src/core/central.py:199
↓ 1 callersMethod_setup_qml_context
设置QML上下文属性
src/core/widgets/core.py:22
↓ 1 callersMethod_setup_runtime_connections
设置runtime连接
src/core/central.py:177
↓ 1 callersMethod_start_listening
(self)
src/core/widgets/core.py:26
↓ 1 callersMethod_update_notify
(self)
src/core/schedule/runtime.py:184
↓ 1 callersMethod_update_schedule
更新日程 :param schedule: :return:
src/core/schedule/runtime.py:136
↓ 1 callersMethod_update_time
(self)
src/core/schedule/runtime.py:167
↓ 1 callersMethodadd_widget
( self, type_id: str, name: str, qml_path: str | QUrl,
src/core/widgets/model.py:159
↓ 1 callersFunctiondisable_autostart
Disable autostart
src/core/utils/auto_startup.py:41
↓ 1 callersFunctionenable_autostart
Enable autostart
src/core/utils/auto_startup.py:21
↓ 1 callersMethodget_config
(self)
src/core/plugin/api.py:70
↓ 1 callersMethodget_current_status
(day: Timeline, now: Optional[datetime] = None)
src/core/schedule/service.py:89
↓ 1 callersMethodget_current_subject
(day: Timeline, subjects: List[Subject], now: Optional[datetime] = None)
src/core/schedule/service.py:93
↓ 1 callersFunctionget_cycle_week
获取当前周在当前周期的第几周 :param week_number: 当前周 :param cycle: 周期 :return:
src/core/utils/calculator.py:16
↓ 1 callersMethodget_datetime
(self)
src/core/plugin/api.py:62
↓ 1 callersMethodget_day_entries
返回当前日期对应的 DayEntry(深拷贝,应用 override,不修改原始数据)
src/core/schedule/service.py:9
↓ 1 callersMethodget_progress_percent
(self)
src/core/schedule/runtime.py:172
↓ 1 callersMethodget_remaining_time
(day: Timeline, now: Optional[datetime] = None)
src/core/schedule/service.py:74
↓ 1 callersMethodget_subject
(subject_id: str, subjects: List[Subject])
src/core/schedule/service.py:103
↓ 1 callersFunctionget_week_number
获取当前日期在开学后的第几周 :param start_date: 开始计算日期 :param current_date: datetime.now() :return:
src/core/utils/calculator.py:4
↓ 1 callersFunctionis_autostart_enabled
Check if autostart is enabled
src/core/utils/auto_startup.py:63
↓ 1 callersFunctionis_window_fullscreen
(hwnd)
src/core/automations/builtin_tasks.py:25
↓ 1 callersFunctionis_window_maximized
(hwnd)
src/core/automations/builtin_tasks.py:21
↓ 1 callersMethodload
(self)
src/core/parser/schedule.py:28
↓ 1 callersMethodload
加载课程表
src/core/schedule/manager.py:42
↓ 1 callersMethodload_config
(self)
src/core/widgets/model.py:87
↓ 1 callersMethodload_config
(self)
src/core/config/manager.py:54
↓ 1 callersMethodload_license
(self)
src/core/utils/backend.py:75
↓ 1 callersMethodload_plugins
加载插件实例
src/core/plugin/manager.py:93
↓ 1 callersMethodmodify
接受外部修改(如编辑器)
src/core/schedule/manager.py:83
↓ 1 callersMethodon_load
插件加载时调用
src/core/plugin/api.py:87
↓ 1 callersMethodpush
Push a notification to the Class Widgets. :param icon: str or Path, icon name or path: "ic_fluent_symbols_20_regular" or Path("path/t
src/core/notification/notify.py:31
↓ 1 callersMethodpush_activity
(self, entry_type, subject: dict, event_title)
src/core/notification/notify.py:22
↓ 1 callersMethodregister_widget
通过AppCentral统一注册widget
src/core/plugin/api.py:34
↓ 1 callersMethodregister_widgets
(self)
src/plugins/cw_widgets/widgets.py:48
↓ 1 callersMethodsave
(self, silent=False)
src/core/config/manager.py:72
↓ 1 callersMethodsetLanguage
切换语言
src/core/utils/translator.py:31
↓ 1 callersMethodset_enabled_plugins
(self, enabled_plugins: List[str])
src/core/plugin/manager.py:139
↓ 1 callersMethodstop
(self)
src/core/timer/union_update.py:18
↓ 1 callersMethodvalidate
(data: dict)
src/core/parser/schedule.py:19
↓ 1 callersFunctionvalidate_meta
校验插件 meta 字段完整性
src/core/plugin/manager.py:23
↓ 1 callersFunctionverify
(theme_ver, app_version)
src/core/themes/manager.py:22
Method__getattr__
代理属性获取
src/core/config/manager.py:81
Method__init__
(self)
src/core/central.py:33
Method__init__
(self, parent: AppCentral)
src/core/central.py:272
Method__init__
(self, parent: AppCentral)
src/core/central.py:296
Method__init__
(self)
src/core/directories.py:35
Method__init__
(self)
src/core/notification/notify.py:19
next →1–100 of 254, ranked by callers