This repository was archived by the owner on Mar 23, 2026. It is now read-only.
feat: 调休功能对于单/双周课表的支持#412
Merged
Merged
Conversation
+ set_schedule 字段
This reverts commit 1642061.
Member
|
这么快?😰 |
Member
Author
|
fix default_config.json |
xuanxuan1231
suggested changes
Feb 14, 2025
Member
Author
|
fix.
________________________________
发件人: ***@***.*** ***@***.***> 代表 Wenxuan Shen ***@***.***>
发送时间: 2025年2月14日 08:17
收件人: Class-Widgets/Class-Widgets ***@***.***>
抄送: IsHPDuwu ***@***.***>; Author ***@***.***>
主题: Re: [Class-Widgets/Class-Widgets] feat: 调休功能对于单/双周课表的支持 (PR #412)
@xuanxuan1231 requested changes on this pull request.
________________________________
In conf.py<#412 (comment)>:
if config_center.read_conf('Date', 'start_date') != '':
- start_date = config_center.read_conf('Date', 'start_date')
+ start_date = read_conf('Date', 'start_date')
这里是否少了 config_center
________________________________
In exact_menu.py<#412 (comment)>:
@@ -78,6 +78,11 @@ def init_interface(self):
select_temp_week.setCurrentIndex(current_week)
select_temp_week.currentIndexChanged.connect(self.refresh_schedule_list) # 日期选择变化
+ select_temp_schedule = self.findChild(ComboBox, 'select_temp_schedule') # 选择替换课表
+ select_temp_schedule.addItems(list.week_type)
应为 list_
―
Reply to this email directly, view it on GitHub<#412 (review)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/A4U5QHOML2TUGPVEZV3FH6L2PUYZHAVCNFSM6AAAAABWXZZDT6VHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDMMJWGQ3TMOJWHE>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Member
Author
|
逆天 功能又失效了 等我看看 |
Member
Author
|
done. |
RinLit-233-shiroko
approved these changes
Feb 14, 2025
pizeroLOL
pushed a commit
to pizeroLOL/Class-Widgets
that referenced
this pull request
Aug 10, 2025
* add 调休功能单/双周课表切换 * upd config.ini + set_schedule 字段 * Revert "upd config.ini" This reverts commit 1642061. * Update default_config.json * fix bug * fix bug
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fix #404
add: config.ini Temp 一个新字段 -
set_schedule管理修改后的单双周upd: conf.py get_week_type() 尝试读取修改后的单双周
add: exact_menu.ui 一个新的选框 -
select_temp_schedule用于选取单双周add: exact_menu.py 管理
select_temp_schedule候选框add: main.py init_config() 在 init 是将
set_schedule清零