Skip to content

Commit c4e9a7c

Browse files
committed
Merge branch 'marcus/tray_fold_0403' into 'main'
[Frontend & Backend] [System tray] Implemented: System tray icon folding See merge request MarcusPy827/husky-panel!28
2 parents a737507 + 6336108 commit c4e9a7c

513 files changed

Lines changed: 57545 additions & 52 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎CHANGELOG‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog | 更新信息
22
## VERSION 0.9.5 (UNSTABLE/WIP)
3+
* marcus/tray_fold_0403
4+
* Added a config panel.
5+
* 新增了一个配置面板
6+
* Added a backend for reading/writing config.
7+
* 新增了用于读写配置文件的后端
8+
* Implemented tray icon fold feture.
9+
* 实现了托盘图标折叠功能
10+
311
* marcus/app_drawer_enhancement_0402
412
* Added missing translations to the session options.
513
* 为「会话选项」补充了缺失的翻译

‎CMakeLists.txt‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ add_subdirectory(lib/3rdparty/gtest EXCLUDE_FROM_ALL)
7777
# Force QWindowKit static build
7878
set(QWINDOWKIT_BUILD_STATIC ON CACHE BOOL "" FORCE)
7979
set(QWINDOWKIT_BUILD_STATIC ON)
80+
set(QWINDOWKIT_BUILD_QUICK ON CACHE BOOL "" FORCE)
8081
set(QWINDOWKIT_INSTALL OFF CACHE BOOL "" FORCE)
8182
add_subdirectory(lib/3rdparty/qwindowkit EXCLUDE_FROM_ALL)
8283

@@ -196,6 +197,13 @@ set(FRONTEND_SOURCES
196197
src/components/calendar/calendar.cc
197198
)
198199

200+
set(CONFIG_LOADER_SOURCES
201+
src/config_loader/path_finder/path_finder.h
202+
src/config_loader/path_finder/path_finder.cc
203+
src/config_loader/system_tray/tray_config_handler.h
204+
src/config_loader/system_tray/tray_config_handler.cc
205+
)
206+
199207
set(I18N_SOURCES
200208
src/translation_loader/translation_loader.h
201209
src/translation_loader/translation_loader.cc
@@ -208,6 +216,7 @@ set(COMMON_SOURCES
208216
${UTIL_SOURCES}
209217
${BACKEND_SOURCES}
210218
${FRONTEND_SOURCES}
219+
${CONFIG_LOADER_SOURCES}
211220
${I18N_SOURCES}
212221
)
213222

@@ -313,6 +322,7 @@ target_link_libraries(HuskyPanel
313322
${VENDORED_STATIC_SWITCHABLE_LIBS}
314323
MaterialColorUtils
315324
QWindowKit::Widgets
325+
QWindowKit::Quick
316326

317327
-Wl,-Bdynamic
318328
${SYSTEM_DYNAMIC_SWITCHABLE_LIBS}

0 commit comments

Comments
 (0)